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

containerbuildsystem / cachi2 / 6550521644
97%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2023 05:08PM UTC
Jobs 3
Files 32
Run time 4s
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.89%. Remained the same
6550521644

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>

2866 of 2958 relevant lines covered (96.89%)

2.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python-3.9 - 6550521644.1 17 Oct 2023 05:09PM UTC 0
96.85
2 python-3.11 - 6550521644.2 17 Oct 2023 05:09PM UTC 0
96.87
3 python-3.10 - 6550521644.3 17 Oct 2023 05:09PM UTC 0
96.89
Source Files on build 6550521644
Detailed source file information is not available for this build.
  • Back to Repo
  • 25d45878 on github
  • Prev Build on main (#6544194194)
  • Next Build on main (#6551393047)
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