← Back to issue list

python3 constraints for requirements

View original Launchpad issue

Metadata

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

Current evaluation

Python 3 pip constraints support shipped via the unified Python plugin in canonical/snapcraft#771 (bb7bd40e1).

Resolution: closed resolved

Reason: The reporter confirmed that constraints support had been implemented in the unified Python plugin and released. The implementation landed in canonical/snapcraft#771 at commit bb7bd40e1.

Evaluated by: mr-cal-bot

No scores available.

Issue body

There is currently no support for constraints[1] files with the python3 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 Python 3 pip constraints support shipped via the unified Python plugin in canonical/snapcraft#771 (bb7bd40e1).
stealth/space-bunny-alpha — closed resolved Python 3 constraints support landed with the unified Python plugin in canonical/snapcraft#771 (bb7bd40e1) and was released; the maintainer confirmed the refactor resolved it.
stealth/space-bunny-alpha — closed stale Support for pip constraints files in the python3 plugin was closed without implementation or discussion after about a decade of inactivity; no resolving PR or commit was identified.
stealth/space-bunny-alpha — closed resolved Constraints-file support was added by merged PR #657 (commit b26916766), resolving the Python plugin's missing constraints handling.
qwen/qwen3.6-35b-a3b — — The python3 plugin constraints file feature request was closed without implementation or discussion. It appears abandoned after over a decade of inactivity.
qwen/qwen3.6-35b-a3b — — Feature request for pip constraints file support in the python3 plugin was closed without implementation. The request was abandoned after no discussion or resolution occurred.
qwen/qwen3.6-35b-a3b — — Feature request for pip constraints file support in the python3 plugin was closed without discussion or implementation, indicating it was abandoned. No code changes or resolution were provided.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The python3 plugin lacks pip constraints file support, and the request was abandoned without implementation or alternative solutions.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution due to inactivity. Pip constraints file support was never implemented in the python3 plugin, and the feature request was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#771 (confidence 99%)

    Merged unified Python plugin improvements at bb7bd40e1, resolving Python 3 constraints-file support.

  • Related To: snapcraft#657 (confidence 95%)

    PR #657 added analogous pip constraints support to the earlier Python 2 plugin.

Related issues

Issue Project State Summary Similarity
#1603110 python2 constraints for requirements snapcraft (launchpad) closed Python2 plugin gained pip constraints-file support in merged PR snapcore/snapcraft#657 (commit b26916766).
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.
74%
#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.
71%