Bug 2422888 - Removing dependency upper bound breaks the package
Summary: Removing dependency upper bound breaks the package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: poetry
Version: 43
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-16 19:01 UTC by samtan106
Modified: 2025-12-19 04:21 UTC (History)
4 users (show)

Fixed In Version: poetry-2.1.4-6.fc43
Clone Of:
Environment:
Last Closed: 2025-12-19 04:21:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources poetry pull-request 77 0 None None None 2025-12-16 21:57:59 UTC

Description samtan106 2025-12-16 19:01:55 UTC
For context, poetry had an issue with it not picking up a specific python version and always defaulting to the system python version. Here is the issue discussing this: https://github.com/python-poetry/poetry/issues/10490

Here is the PR that fixes this by setting an upper bound to its virtualenv dependency: https://github.com/python-poetry/poetry/pull/10491

However, in fedora, when packaging poetry, we remove upper bounds on certain packages including virtualenv: https://src.fedoraproject.org/rpms/poetry/blob/rawhide/f/poetry.spec#_62, which causes the issue to reappear for anyone using this package. 

Since, I, like many people, work on python projects for work that are older than the system version, this is quite disruptive. 

Example of someone else facing this issue: https://github.com/python-poetry/poetry/issues/10655

Reproducible: Always

Comment 1 Ben Beasley 2025-12-16 19:31:42 UTC
It seems like the upstream pin was lifted in https://github.com/python-poetry/poetry/commit/9f276d3dab71ba741107a5a7f4efc12fdda5cb0b, which was released in Poetry 2.2.0. That would suggest that this should already be fixed in Rawhide, and also that backporting the source-code change from that commit may be a fix for branches with older versions of Poetry, such as F43.

Comment 3 Fedora Update System 2025-12-17 09:28:52 UTC
FEDORA-2025-c4af0a5d90 (poetry-2.1.4-6.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c4af0a5d90

Comment 4 Fedora Update System 2025-12-18 01:33:01 UTC
FEDORA-2025-c4af0a5d90 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c4af0a5d90`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c4af0a5d90

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-12-19 04:21:14 UTC
FEDORA-2025-c4af0a5d90 (poetry-2.1.4-6.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.