edx / edx/devstack

Removing pip<25.3 in constraints

Offen
#195 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
3
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Finden Sie den Constraints-Eintrag, der pip auf eine Version unter 25.3 festlegt, und prüfen Sie das verknüpfte pip-tools-Issue, um zu bestätigen, dass der Workaround nicht mehr benötigt wird. Entfernen Sie die Einschränkung und verifizieren Sie anschließend, dass die relevanten pip-tools-Requirement-Upgrades mit pip 25.3 erfolgreich kompiliert werden können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
build-system, tooling
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.