Merge ~ahasenack/ubuntu/+source/lazygal:jammy-distutils-deprecated into ubuntu/+source/lazygal:ubuntu/devel
Proposed by
Andreas Hasenack
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 0104bf36bd2cbb30a1217bc4f9e397c42e4b2a8a | ||||
Proposed branch: | ~ahasenack/ubuntu/+source/lazygal:jammy-distutils-deprecated | ||||
Merge into: | ubuntu/+source/lazygal:ubuntu/devel | ||||
Diff against target: |
38 lines (+11/-1) 3 files modified
debian/changelog (+7/-0) debian/control (+2/-1) debian/tests/control (+2/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bryce Harrington (community) | Approve | ||
Canonical Server | Pending | ||
Review via email:
|
Description of the change
Unfortunately I don't know how to convert from distutils to setuptools, at least not quickly, so this MP just adds the allow-stderr restriction to the dep8 test.
I filed an upstream bug at https:/
To post a comment you must log in.
setuptools is pretty straightforward to migrate to from distutils, although some packages may have idiosyncrasies depending on how they're architected and/or coded. So bumping this upstream is probably the right way to go.
So, +1 to sidestep the warning, for Ubuntu purposes.
---
Fwiw, here's an example of setup.py showing the style I use for my python projects:
https:/ /git.launchpad. net/pdbq/ tree/setup. py
The get_version() logic would likely need adopted to whatever the given package uses, but this shows how to load the version from a <package> /_version. py module.