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

Migrate python projects packaging to PEP-621 #78

Closed
6 of 8 tasks
ssbarnea opened this issue Nov 28, 2022 · 0 comments
Closed
6 of 8 tasks

Migrate python projects packaging to PEP-621 #78

ssbarnea opened this issue Nov 28, 2022 · 0 comments
Assignees

Comments

@ssbarnea
Copy link
Member

ssbarnea commented Nov 28, 2022

As we want to implement PEP-621 (pure pyproject.toml) to all devtools project ASAP, we need to get setuptools>=61.0.0 inside AAP repositories, as RHEL 9 only has 53.0.0.

This will allow building the RPM offline using python -m build

To test ability to build the RPM one can look at subprocess-tee library which I already converted to PEP-621. That also has packit that build on Fedora 37 and Rawhide. Older versions are not building because they lack the requirements.

It should be noted that that these are only build-time requirements, and not runtime ones. This means that downstream packagers could use other tricks to overcome the outdated toolchain, like installing them from other sources (pypi, other rpm repos) during build.

List of known build requirements for our implementation of PEP-621:

setuptools >= 61.0
setuptools_scm[toml] >= 7.0.0

Checklist

Projects identified so far (could be more):

  • ansible-lint
  • ansible-compat
  • ansible-navigator
  • enrich
  • molecule
  • selinux
  • subprocess-tee
  • sphinx_ansible_theme

Once the migration is merged, also add pep-621 topic to the repository.

@ssbarnea ssbarnea self-assigned this Nov 28, 2022
ssbarnea added a commit to ssbarnea/ansible-compat that referenced this issue Nov 30, 2022
ssbarnea added a commit to ssbarnea/ansible-compat that referenced this issue Nov 30, 2022
ssbarnea added a commit to ssbarnea/ansible-compat that referenced this issue Nov 30, 2022
@ssbarnea ssbarnea added the help wanted Extra attention is needed label Dec 1, 2022
@ssbarnea ssbarnea changed the title Include setuptools>=61.0.0 in AAP repositories to allow use of PEP-621 Migrate python projects packaging to PEP-621 Dec 1, 2022
ssbarnea added a commit to ssbarnea/molecule that referenced this issue Dec 5, 2022
ssbarnea added a commit to ssbarnea/molecule that referenced this issue Dec 5, 2022
ssbarnea added a commit to ssbarnea/molecule that referenced this issue Dec 5, 2022
ssbarnea added a commit to ssbarnea/molecule that referenced this issue Dec 5, 2022
ssbarnea added a commit to ansible-community/sphinx_ansible_theme that referenced this issue Dec 7, 2022
ssbarnea added a commit to ansible-community/sphinx_ansible_theme that referenced this issue Dec 7, 2022
ssbarnea added a commit to ansible-community/sphinx_ansible_theme that referenced this issue Dec 7, 2022
ssbarnea added a commit to ansible-community/sphinx_ansible_theme that referenced this issue Dec 7, 2022
ssbarnea added a commit to ssbarnea/python-vagrant that referenced this issue Dec 8, 2022
ssbarnea added a commit to ssbarnea/ansible-lint that referenced this issue Dec 10, 2022
ssbarnea added a commit to ssbarnea/ansible-lint that referenced this issue Dec 10, 2022
ssbarnea added a commit to ansible/ansible-lint that referenced this issue Dec 10, 2022
ssbarnea added a commit to pycontribs/enrich that referenced this issue Dec 20, 2022
@ssbarnea ssbarnea removed the help wanted Extra attention is needed label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant