← Back to issue list

python2 constraints for requirements

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1603110
Type
issue
State
closed
Author
~s8m
Labels
—
Created
Updated
Closed

Current evaluation

Python2 plugin gained pip constraints-file support in merged PR snapcore/snapcraft#657 (commit b26916766).

Resolution: closed resolved

Reason: PR #657 implemented constraints support for the python2 plugin and was merged as commit b26916766, directly resolving the reported limitation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

There is currently no support for constraints[1] files with the python2 plugin. Some projects make heavy use of constraints. OpenStack is one such project [1] https://pip.pypa.io/en/stable/user_guide/#constraints-files

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Python2 plugin gained pip constraints-file support in merged PR snapcore/snapcraft#657 (commit b26916766).
stealth/space-bunny-alpha — closed resolved Python2 plugin gained pip constraints-file support via merged snapcore/snapcraft PR #657 (commit b26916766).
stealth/space-bunny-alpha — closed resolved Constraints-file support was added to the python2 plugin by merged PR #657 (commit b26916766).
qwen/qwen3.6-35b-a3b — — Abandoned and closed without implementation. Python 2 reached end-of-life before the python2 plugin could add pip constraints file support, leaving the request unresolved.
qwen/qwen3.6-35b-a3b — — Closed without implementation or discussion. The request to add constraints file support to the python2 plugin was abandoned, likely due to Python 2 reaching end-of-life.
qwen/qwen3.6-35b-a3b — — Requested constraints file support for the python2 plugin. Closed without implementation or discussion, abandoned due to Python 2 end-of-life.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The python2 plugin lacks constraints file support. Likely abandoned due to Python 2 end-of-life.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#657 (confidence 100%)

    The merged change is titled “python2 plugin: Add support for constraints.”

Related issues

Issue Project State Summary Similarity
#1603115 python3 constraints for requirements snapcraft (launchpad) closed Python 3 pip constraints support shipped via the unified Python plugin in canonical/snapcraft#771 (bb7bd40e1).
89%
#708 Add support for use of pip constraints snapcraft closed Closed unmerged as superseded by canonical/snapcraft#657, which added pip constraints support for the Python 2 plugin.
76%
#1521 python plugin: always record constraints and requirements contents snapcraft merged Merged PR canonical/snapcraft#1521 (commit 77a3a334a): the Python plugin now always records constraints.txt and requirements.txt contents in build details, following earlier build-detail recording work in #1487.
74%
#1621543 python constraints file can be url snapcraft (launchpad) closed URL support for Python constraints files was delivered in snapcore/snapcraft PR #785, resolving Launchpad bug #1621543.
71%