Skip to content

Deprecate bdist_rpm#2780

Merged
jaraco merged 6 commits intopypa:mainfrom
hugovk:deprecate-bdist_rpm
Sep 12, 2021
Merged

Deprecate bdist_rpm#2780
jaraco merged 6 commits intopypa:mainfrom
hugovk:deprecate-bdist_rpm

Conversation

@hugovk
Copy link
Copy Markdown
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 <jmarshall@hey.com>
@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
Copy Markdown
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) <moc@odoo.com>
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