-
-
Notifications
You must be signed in to change notification settings - Fork 30k
-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
bdist_rpm should enable --fix-python by default #48709
Comments
When using bdist_rpm the %build section of the generated spec file env CFLAGS="$RPM_OPT_FLAGS" python setup.py build This works fine until the python is installed using altinstall. In this I am currently using python3.0 with the default python being 2.5. As a When the above line is generated it should use the current interpreters |
There are two options for that in bdist_rpm. --python path to Python interpreter to hard-code in the .spec |
Thanks. i had noticed those options since i filed this report but considering I do at least have a workable workaround. Thanks again. |
Considering that bdist_rpm is removed in distutils2, that its use in distutils is not encouraged (platform-specific tools are more adapted and can move quicker than the stdlib), that you have a workaround, and that we can’t change behavior for fear of breaking third-party tools (what happened all the time and lead Tarek to create distutils2), I’m closing this in one week unless Tarek objects. |
FYI, this is fixed in the new bdist_rpm2 command: https://bitbucket.org/tarek/pypi2rpm/changeset/ce6626df0225 |
I reopen the issue. The command still needs --fix-python and distutils2 project has been abandonned. Bug report in RHEL: |
Distutils is now deprecated (see PEP-632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: