← Back to issue list

requirements: correct setup.py install_requires and add tooling to freeze reqs

View original Github issue

Metadata

Project
snapcraft
Number
#3519
Type
pull request
State
merged
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

Merged after approval. Updated setup.py install_requires with [dev] extras and added a script with a make target to freeze requirements. Frozen dev dependencies were committed to maintain CI stability and temporarily pin linters.

Suggested action:

No scores available.

Issue body

- Add tools/freeze-requirements.sh script to automatically update requirements.txt and requirements-devel.txt. - Add make target to freeze-requirements. - Update setup.py install_requires list and extend with [dev] extras. - Set pinned pip version in environment-setup-local.sh. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after approval. Updated setup.py install_requires with [dev] extras and added a script with a make target to freeze requirements. Frozen dev dependencies were committed to maintain CI stability and temporarily pin linters.
qwen3.6-35b-a3b-mtp-q6 Merged. Updated setup.py install_requires with [dev] extras and added a freeze-requirements script and make target to pin dependencies, ensuring deterministic runtime and stable CI.
qwen3.6-35b-a3b-mtp-q6 Merged. Corrected setup.py install_requires, added [dev] extras, and introduced a freeze-requirements script and make target. Pinning dependencies ensures deterministic runtime environments and prevents CI breaks.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4985 build(deps): freeze requirements for docs snapcraft merged Merged after passing CI and two approvals. Updated tools/freeze-requirements.sh to freeze documentation requirements and bumped setuptools to resolve issues #4919 and #4986. Changes affect 6 files.
76%
#731 build(deps): update deps with freeze-requirements rockcraft merged Merged after two approvals and passing CI. Replaced pip freeze with pip-compile in freeze-requirements to preserve dependency extras like canonical-sphinx[full] and track transient dependencies. Updated 6 files with 805 additions and 98 deletions.
74%
#4147 deps: correct pyinstaller version in freeze-requirements.sh snapcraft merged Merged a pull request correcting the pyinstaller version in freeze-requirements.sh. Approved by one reviewer, passed CI, and applied a single-line fix to the build script.
72%