Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The python mess
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 868
Location: Cape Town, South Africa

PostPosted: Tue May 06, 2025 3:03 pm    Post subject: The python mess Reply with quote

Hi

Is there some sort of scorecard / dashboard somewhere showing which packages are still causing problems?

In my case, app-misc/recoll stops emerge because

Code:

The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )

  The above constraints are a subset of the following complete expression:
    session? ( inotify ) webengine? ( qt6 ) exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )


even though the package itself does not need an upgrade.

Thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23551

PostPosted: Tue May 06, 2025 3:28 pm    Post subject: Reply with quote

This appears to be app-misc/recoll: needs porting to Python 3.13+, which blocks [TRACKER] Python 3.13 porting. That latter looks to me like a central tracker of packages not yet finished. Are you encountering packages for which there is no Gentoo bug, or for which the Gentoo bug does not block the tracker?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31701
Location: here

PostPosted: Tue May 06, 2025 3:37 pm    Post subject: Reply with quote

Try to unmask =app-misc/recoll-1.43.0 version that support python3_13.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 868
Location: Cape Town, South Africa

PostPosted: Tue May 06, 2025 4:52 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to unmask =app-misc/recoll-1.43.0 version that support python3_13.


Yes I did consider that but I'm trying so hard to stay on Stable as much as I can. :-)

Will give it a few more days ...

Thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31701
Location: here

PostPosted: Tue May 06, 2025 6:14 pm    Post subject: Reply with quote

iandoug wrote:
Yes I did consider that but I'm trying so hard to stay on Stable as much as I can. :-)

I'm also on stable but for these non-critical packages I add the entry '=catgory/package-x.x.x' which over time are automatically replaced with the new stable versions.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 868
Location: Cape Town, South Africa

PostPosted: Tue May 06, 2025 6:32 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to unmask =app-misc/recoll-1.43.0 version that support python3_13.


Decided to try.

As expected, another blocker shows up immediately, this is already on unstable and only version ...

Code:

!!! The ebuild selected to satisfy "dev-embedded/platformio" has unmet requirements.
- dev-embedded/platformio-6.1.11::gentoo USE="-test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_11 -python3_12"

 The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )



If I try -auv instead of -auUvD then

Code:

dev-python/requests:0

  (dev-python/requests-2.32.3:0/0::gentoo, installed) USE="(test-rust) -socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_12 -pypy3 (-pypy3_11) -python3_10 -python3_11 -python3_13" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-python/requests-2.32.3:0/0::gentoo, ebuild scheduled for merge) USE="(test-rust) -socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12" pulled in by
    >=dev-python/requests-2.16.0[python_targets_pypy3_11(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?] required by (dev-python/cachecontrol-0.14.1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12"


Ian wishes world+dog would stop using languages from Mozilla and Google ... nothing but trouble :-)
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 868
Location: Cape Town, South Africa

PostPosted: Tue May 06, 2025 6:38 pm    Post subject: Reply with quote

Hu wrote:
This appears to be app-misc/recoll: needs porting to Python 3.13+, which blocks [TRACKER] Python 3.13 porting. That latter looks to me like a central tracker of packages not yet finished. Are you encountering packages for which there is no Gentoo bug, or for which the Gentoo bug does not block the tracker?


Sorry, I don't know what to answer ...

I took a look at that bug, it does have the list of apps I was looking for, including recoll and plattformio.

Thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3069

PostPosted: Tue May 06, 2025 7:55 pm    Post subject: Reply with quote

iandoug wrote:
I'm trying so hard to stay on Stable as much as I can. :-)


That doesn't make much sense. Although I don't use it, I've got to say Gentoo unstable is pretty stable these days.

Consider adding versioned entries in package.accept_keywords. One day that version will become stable and one day that version will fall off the tree, getting replaced by another stable version. Worst thing that could happen is you will forget to remove it from package.accept_keywords but that's alright.

Best Regards,
Georgi
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 868
Location: Cape Town, South Africa

PostPosted: Wed Jun 11, 2025 5:29 am    Post subject: Reply with quote

Hi

Am a bit confused... why is Portage carping about requirements for version I don't have nor want?

Code:

!!! The ebuild selected to satisfy "app-misc/recoll" has unmet requirements.
- app-misc/recoll-1.40.3-r1::gentoo USE="chm inotify qt6 spell -camelcase -session (-systemd) -webengine" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_11 -python3_12"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )

  The above constraints are a subset of the following complete expression:
    session? ( inotify ) webengine? ( qt6 ) exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
fractal /home/ian # eix recoll
[?] app-misc/recoll
     Available versions:  1.40.3-r1 ~1.43.0-r1 {camelcase chm +inotify qt6 session +spell systemd webengine PYTHON_SINGLE_TARGET="python3_11 python3_12 python3_13"}
     Installed versions:  1.43.0(21:29:31 23/05/2025)(chm inotify qt6 spell -camelcase -session -systemd -webengine PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12")
     Homepage:            https://www.recoll.org
     Description:         Personal full text search package


Thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3069

PostPosted: Wed Jun 11, 2025 5:47 am    Post subject: Reply with quote

It's not portage, it's the package that supports 3.11 and 3.12. See if recoll had a testing version that sorted 3.13. Idossier you had it in package accept keywords but the version you had is no longer available. If so, just update the version in package.accept_keywords.

EDIT: yes, ~1.43.0 supports python 3.13

Best Regards,
Georgi
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 868
Location: Cape Town, South Africa

PostPosted: Wed Jun 11, 2025 7:12 am    Post subject: Reply with quote

Thanks, I actually did try that yesterday but did not work.

Tried again now and it worked, so all well, thanks.
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3069

PostPosted: Wed Jun 11, 2025 7:22 am    Post subject: Reply with quote

iandoug wrote:
Thanks, I actually did try that yesterday but did not work.

Tried again now and it worked, so all well, thanks.


Things might have changed since then. Or you might have overlooked something. Things happen all the time and we can't always avoid or foresee them.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



OSZAR »