★ wanayoo — archive 1999 https://github.com/tmux-python/tmuxp/issues/625Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packagers: Can we use poetry build for package? Drop Python 2? #625

Open
tony opened this issue Aug 22, 2020 · 0 comments
Open

Packagers: Can we use poetry build for package? Drop Python 2? #625

tony opened this issue Aug 22, 2020 · 0 comments

Comments

@tony
Copy link
Member

@tony tony commented Aug 22, 2020

Goal

Consolidate project dev utilities, e.g. virtualenv, package versioning/pinning, and build + publishing: poetry

Question Will removing setup.py from source break compatibility?

poetry build link creates:

  1. dist/packagename-<version>.tar.gz (similar to python setup.py sdist), and
  2. 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?

  • Gentoo - Confirmed via email Aug 17
  • Redhat / Fedora - Confirmed via email Aug 23 2020
  • Debian / Ubuntu - Python 2 will be removed in Bullseye (Email Aug 22nd)
  • FreeBSD - Confirmed via email Aug 17
  • Slackpackages
  • Arch

Poetry-only (remove setup.py in src)?

  • Gentoo - Confirmed via email Aug 17
  • Redhat / Fedora - Confirmed via email Aug 23 2020
  • Debian / Ubuntu - Possibly an issue (email Aug 22 2020)
  • FreeBSD - Confirmed via email Aug 17 - ok since it generates a setup.py file
  • Slackpackages
  • Arch
@tony tony changed the title Packagers: Can we use poetry build for package? Packagers: Can we use poetry build for package? Drop Python 2? Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.