tmuxp
tmuxp copied to clipboard
Packagers: Can we use poetry build for package? Drop Python 2?
Goal
Consolidate project dev utilities, e.g. virtualenv, package versioning/pinning, and build + publishing: poetry
- https://repology.org/project/tmuxp/versions
- https://pkgs.org/download/tmuxp
Question Will removing setup.py from source break compatibility?
poetry build link creates:
dist/packagename-<version>.tar.gz(similar topython setup.py sdist), and- A wheel
python3 setup.py bdist_wheel --universal
What would still be available?
- .tar.gz package and wheel on PyPI
- ability to create sdist / wheel via
poetry build(would require having poetry installed with a compatible version) - https://github.com/mgorny/pyproject2setuppy - generate setup.py without requiring poetry
Package maintainers (repology)
Drop Python 2?
- [x] Gentoo - Confirmed via email Aug 17
- [x] Redhat / Fedora - Confirmed via email Aug 23 2020
- [ ] Debian / Ubuntu - Python 2 will be removed in Bullseye (Email Aug 22nd)
- [x] FreeBSD - Confirmed via email Aug 17
- [ ] Slackpackages
- [ ] Arch
Poetry-only (remove setup.py in src)?
- [x] Gentoo - Confirmed via email Aug 17
- [x] Redhat / Fedora - Confirmed via email Aug 23 2020
- [ ] Debian / Ubuntu - Possibly an issue (email Aug 22 2020)
- [x] FreeBSD - Confirmed via email Aug 17 - ok since it generates a setup.py file
- [ ] Slackpackages
- [ ] Arch