edx / edx/devstack

Removing pip<25.3 in constraints

Open
#195 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Private JIRA Ticket

https://2u-internal.atlassian.net/browse/BOMS-277

Summary

There is a breakage currently in pip-tools that failed several / many / all? python requirement upgrades: https://github.com/jazzband/pip-tools/issues/2252 The temporary solution may be to pin pip to the last minor version, but it does look like a fix in on the way.

Findings

The error is stemming from the removal of the legacy setup.py bdist_wheel support in https://github.com/pypa/pip/issues/6334 which removes the optional flag --use-pip517 that had been added for the support of deprecated legacy functionality.
Since all versions of pip-tools utilize this flag for the pip-compile command, the new version pip==25.3 is now breaking with all the versions of pip-tools hence the need to pin pip as a solution for this until pip-tools provide a workaround for this issue in their next release.

TODO
  • Pin pip<25.3 in constraints
  • unpin pip<25.3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the constraints entry that pins pip below 25.3 and review the linked pip-tools issue to confirm the workaround is no longer needed. Remove the pin, then verify that the relevant pip-tools requirement upgrades compile successfully with pip 25.3.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.