• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

containerbuildsystem / cachi2 / 6550521644 / 2
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2023 05:09PM UTC
Files 32
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Oct 2023 05:07PM UTC coverage: 96.872%. Remained the same
6550521644.2

push

github

brunoapimentel
Makefile: Only force Python 3.9 venv with the 'pip-compile' target

Officially, the project claims to support Python versions 3.9 - 3.11.
However, when it comes to the developer environment, the default is
kind of enforced to 3.9. The reason for that are the locked
dependencies created by pip-compile which have been generated for 3.9
because of tests that would run in a 3.9 environment.

pip-compile officially can't be instructed to generate lockfiles and
deps list for a custom Python version. That said, we wouldn't want to
maintain multiple requirements files anyway.

So, to allow developers creating virtual environments for their default
python3 installation instead of forcing them to have and go with 3.9,
make the 'venv' target more generic.
More importantly though, force the 'pip-compile' target to use a
temporary pristine Python 3.9 environment so that the current
functionality regarding how requirements.txt are generated is left
intact.

In summary what this patch does:
- forces the Python version on the pip-compile target to 3.9 explicitly
- relaxes the constraint on PYTHON_VERSION_VENV by defaulting to python3
- creates a throw-away venv for the pip-compile target

Signed-off-by: Erik Skultety <eskultet@redhat.com>

2849 of 2941 relevant lines covered (96.87%)

0.97 hits per line

Source Files on job python-3.11 - 6550521644.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6550521644
  • 25d45878 on github
  • Prev Job for on main (#6544194194.2)
  • Next Job for on main (#6551393047.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc