Merge ppa-dev-tools:packaging-drop-setup-py into ppa-dev-tools:main
Status: | Merged |
---|---|
Merged at revision: | dbb03eaf49059a2416cdccf5db88f1effe5db7ff |
Proposed branch: | ppa-dev-tools:packaging-drop-setup-py |
Merge into: | ppa-dev-tools:main |
Diff against target: |
190 lines (+31/-79) 5 files modified
INSTALL.md (+6/-6) TESTING.md (+11/-2) dev/null (+0/-67) pyproject.toml (+9/-1) tox.ini (+5/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Mitchell Dzurick (community) | Approve | ||
PpaDevTools Developers | Pending | ||
Canonical Server packageset reviewers | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email:
|
Description of the change
Updates the packaging to resolve some deprecation warnings.
The bug that prompted this is LP: #2055636, and I believe this should resolve that issue by finishing the move away from setup.py, but am not sure how to 100% repro their installation approach. However, it does fix the deprecation issues I'm aware of when following the "SOURCE" section in INSTALL.md. I've not tested this exhaustively yet so there could well be a few more adjustments needed.
This also resolves the older LP: #1989617 by using the `build` packaging system with setuptools. I looked at `hatch` and `poetry` but didn't spot advantages to them that I'd need, and `build` feels like it will be more supportable on Ubuntu systems.
comment inline