Skip to content

Replace poetry with pip#120

Merged
MichalHaluza merged 2 commits intomasterfrom
replace_poetry_with_pip
Nov 28, 2025
Merged

Replace poetry with pip#120
MichalHaluza merged 2 commits intomasterfrom
replace_poetry_with_pip

Conversation

@MichalHaluza
Copy link
Contributor

This commit attempts to fix UBI 8 / python 3.6 distribution pipelines that are currently block on ubiconfig incompatibility. It also follows up on "Refresh dependency management setup" topic from Rohan's Handover Notes.

  • Uses renovate with pip-compile.
  • All dependencies are pinned by pip-compile.
  • One pip-compile output per tested python version.
  • Renovate set up to run pip-compile as a weekly chore.

This commit attempts to fix UBI 8 / python 3.6 distribution pipelines
that are currently block on ubiconfig incompatibility. It also follows
up on "Refresh dependency management setup" topic from Rohan's Handover
Notes.

* Uses renovate with pip-compile.
* All dependencies are pinned by pip-compile.
* One pip-compile output per tested python version.
* Renovate set up to run pip-compile as a weekly chore.
@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2249c65) to head (b925f39).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #120   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          365       365           
=========================================
  Hits           365       365           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

run: |
poetry config pypi-token.pypi ${{secrets.PYPI_PASSWORD}}
poetry publish --build
python setup.py sdist bdist_wheel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just hope that in near future we could do [1] and move to GH actions for pypi upload [2]
[1] RHELDST-33563 - [PoC] Automate GitHub package release and use trusted publisher for PyPI publish
[2] https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

@rbikar
Copy link
Member

rbikar commented Nov 28, 2025

@MichalHaluza
not sure if intended but All dependencies are pinned by pip-compile. - this doesn't seem to be 100% true - as reqs are pinned to dev/test and not to realistically used requirement files used for build.

@MichalHaluza MichalHaluza merged commit bb1b9b4 into master Nov 28, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants