mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
6f44f7207c4518e6706080ab91db8dd569a2bb2e
This package advertises all software to use exact pinning, and naturally
does so itself. So we unpin in src_prepare for obvious reasons.
For poetry-core itself, this leads to fragile nonsense as poetry-core
internals are flaky and change. We need to restrict this via RDEPEND,
historically via >=, but this broke:
```
cannot import name 'temporary_directory' from 'poetry.core.utils.helpers' (/usr/lib/python3.13/site-packages/poetry/core/utils/helpers.py)
```
(aside: poetry deletes useful tracebacks so good luck figuring out where
this happened :) :))
In the poetry 2.3.* this got fixed (I think? there is no commit message,
but that's my best guess) but in a not so useful way as the broken
version was the stable 2.2.1-r1 and there is no poetry-core 2.4.0 yet to
cause issues for poetry 2.3.*, so just align the fix across all versions
and revbump for metadata changes.
The fix is to pin via RDEPEND (and still unpin with sed on the
dist-info), to major.minor of poetry == poetry-core. The current break
happened for 2.2.* -> 2.3.*, so this is hopefully reliable (and
definitely more than >=${PV} was).
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
…
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.3%
Emacs Lisp
0.2%
C
0.1%