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

Deprecate bdist_rpm #2780

Merged
merged 6 commits into from
Sep 12, 2021
Merged

Deprecate bdist_rpm #2780

merged 6 commits into from
Sep 12, 2021

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Sep 9, 2021

Summary of changes

Similar to #2040, deprecate bdist_rpm.

For #1988.


Also some test/CI improvements (please let me know if these should be in another PR):

  • Ignore a generated file from running tox locally
  • CI: test slower PyPy3 first, to make full use of parallel jobs to finish faster
  • CI: turn on pytest colours for GitHub Actions logging, makes it more readable

Pull Request Checklist

Co-authored-by: John Marshall <[email protected]>
pytest.ini Outdated Show resolved Hide resolved
@jaraco jaraco merged commit c9e9904 into pypa:main Sep 12, 2021
@hugovk hugovk deleted the deprecate-bdist_rpm branch September 12, 2021 15:59
@twmr
Copy link
Contributor

twmr commented Sep 25, 2021

There are users (like us) that are still using bdist_rpm to create rpms. I don't really understand the rational behind removing bdist_rpm. It would be nice if you could take a look at this comment #1988 (comment) from April and answer the questions from @Cimbali.

d-fence added a commit to odoo-dev/odoo that referenced this pull request Feb 16, 2022
The rpm package failed recently on a file name containing a space.
This issue is fixed by protecting file names with double quotes in the
installed files list.

Also, during this fix, it was discovered that the bdist_rpm is
deprecated in setuptools [0].

For that reason, the rpm is now generated from the package.py script.

[0] pypa/setuptools#2780
robodoo pushed a commit to odoo/odoo that referenced this pull request Feb 16, 2022
The rpm package failed recently on a file name containing a space.
This issue is fixed by protecting file names with double quotes in the
installed files list.

Also, during this fix, it was discovered that the bdist_rpm is
deprecated in setuptools [0].

For that reason, the rpm is now generated from the package.py script.

[0] pypa/setuptools#2780

closes #84665

Signed-off-by: Christophe Monniez (moc) <[email protected]>
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

Successfully merging this pull request may close these issues.

4 participants