← Back to issue list

extractors: support for setup.py

View original Github issue

Metadata

Project
snapcraft
Number
#2070
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged setup.py metadata extraction into Snapcraft, adding loading of setup.py and retrieval of version and description information in PR #2070 (commit 5c1761795).

Resolution: closed resolved

Reason: The pull request was merged, and repository history records PR #2070 as commit 5c1761795 implementing setup.py version and description extraction.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add support for loading setup.py and retrieving version and description information from it. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged setup.py metadata extraction into Snapcraft, adding loading of setup.py and retrieval of version and description information in PR #2070 (commit 5c1761795).
stealth/space-bunny-alpha — closed resolved Merged canonical/snapcraft#2070 in commit 5c1761795, adding setup.py extraction of version and description metadata.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#2070 via commit 5c1761795, adding setup.py extraction of version and description information.
qwen/qwen3.6-35b-a3b — — Merged after adding support for extracting version and description from Python setup.py files. Approved by one reviewer, passed CI checks, and modified six files (+313/-1).
qwen3.6-35b-a3b-mtp-q6 — — Merged maintainer-submitted changes adding extractor support for Python setup.py files to automatically retrieve version and description metadata. Static and unit tests passed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2518 snapcraft/extractors/setuppy.py: match setuptools metadata keys snapcraft closed PR #2518 (setup.py: use setuptools description/long_description as snap summary/description, for LP#1813364) was closed unmerged in Oct 2019 by maintainer merlijn-sebrechts; WIP successor #2756 was also closed.
76%