-
Notifications
You must be signed in to change notification settings - Fork 39
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
Dist failure for Fedora, CentOS, EPEL #61
Comments
Hi @adrienverge, I have a very short blurb in README.rst. You'll need to have build (>=0.6.0, tested with 0.8.0), setuptools (>=40.8.0), and pip installed. You can build both the source (sdist) and binary (wheel) distributions using You can install the sdist using I did extract out the tests from Keep in mind you need to run Python >=3.7 so you may need to adjust which |
Thanks for your answer @cpburnz. To my knowledge I spent 90 more minutes trying to get something working, but I have to give up. For reference if someone wants to maintain the package for Fedora, EPEL, etc.:
|
I'll work on restoring support for |
It's not my project so it might come across as a bit rude but it seems to me like it's the author of the issue who should be modernizing how they use Python packaging rather than the author of the package switching back to the old methods. Running
I don't use or package for Fedora but making packages for projects using PEP 517 build system surely must be an already solved problem? Quick googling shows me that the mentioned Yes, restoring support for from setuptools import setup
setup() and that could be an alright solution until the distro package maintainers solve problems with their packages but I think it's unfair for distro maintainers to hold back the progress forever. |
@adrienverge The latest commit has At the moment setuptools >=61.0.0 is required in order for |
@jack1142 It's relatively trivial for me to reintroduce support for legacy installation through |
@jack1142 you're not rude 🙂 and I agree with your point of view: I would prefer shifting to newest standards. Indeed the "new" way to go is using pyproject macros, like @cpburnz thanks a lot! Your latest commit on |
@adrienverge The latest commit now has a |
Tested on Fedora 35, Fedora 36 and EPEL 9: it works 🎉 Thank you for this fast adjustment. I'll update packages on next tag. |
@adrienverge v0.10.1 has been released. |
Thank you @cpburnz! I created packages for Fedora and EPEL. |
Hello,
I maintain the
python-pathspec
package for Fedora and CentOS, Rocky Linux, RHEL etc.Since version 0.10.0, the
setup.py
file was removed. I tried adapting our files to usepython -m build
,bdist_wheel
,tox
, but after 40 minutes I fail to get it working.Is there a documentation on how to build and install the package now that
setup.py
was removed? I couldn't find it in READMEs, changelogs and Git history.Was is the recommended way to:
python setup.py sdist
)/usr/lib/python3.x/site-packages/...
? (previously with 0.9.0:python setup.py install
)tox
is enough now, previously with 0.9.0:python setup.py test
)Thanks in advance.
The text was updated successfully, but these errors were encountered: