Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-1919] PEP 668 / non-os Python dependencies #2032

Open
mayani opened this issue Dec 14, 2024 · 0 comments
Open

[PM-1919] PEP 668 / non-os Python dependencies #2032

mayani opened this issue Dec 14, 2024 · 0 comments
Assignees
Labels
affects-5.0.6 affects-master Current Trunk Version major Major loss of function. sync-from-jira Synced from Jira

Comments

@mayani
Copy link
Member

mayani commented Dec 14, 2024

The Pegasus build currently depends on extra packages/versions which are not shipped by the OS vendor. For our binary packages, we have solved the problem in our buildenv Docker containers by upgrading some things via pip. For example:

RUN pip3 install --break-system-packages --upgrade pip setuptools==45.3.0 tox

This is no longer allowed:

https://peps.python.org/pep-0668/

The second problem with this approach is that we can not express these dependencies in rpm/deb packaging, and thus our packages are not buildable outside our own environment.

One possible solution is a temporary venv which is setup as part of the build process. I don't know if this will solve the Debian pbuilder problem (might not allow downloads like that during the build process), but it would certainly make it so Pegasus could be built easily by users.

Reporter: @rynge
Watchers:
@rynge

@mayani mayani added sync-from-jira Synced from Jira affects-master Current Trunk Version affects-5.0.6 major Major loss of function. labels Dec 14, 2024
@mayani mayani changed the title PM-1919 [PM-1919] PEP 668 / non-os Python dependencies Dec 14, 2024
@mayani mayani self-assigned this Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.0.6 affects-master Current Trunk Version major Major loss of function. sync-from-jira Synced from Jira
Projects
None yet
Development

No branches or pull requests

1 participant