-
Notifications
You must be signed in to change notification settings - Fork 56
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
Yum broken when RPM from this requirement with underscores. #43
Comments
@mosquito thanks for spotting this, I didn't know that part of PEP8. This is indeed contradict with PEP8 advices, but this is how (at least some) packages in We are not only one who used underscore in packages names and underscores are disallowed in package names in RedHat based and Debian based distros, so FPM at least tries to replace underscores with hyphen: jordansissel/fpm#65 , but looks like there are bugs in FPM with that: jordansissel/fpm#1201 , jordansissel/fpm#1016 Bottom line: at this point this is a bug of FPM (so in order to use |
Actually you should see how PyPi and PIP works. When you try to fetch packages which contains underscores in names PYPI will return redirect.
But PyPi XML-RPC is "underscore sensitive". And you can't find this by When I developed my PyPI server this caused some difficulties (have to search twice). |
@mosquito if PyPI/pip/setptools make such conversions, does it mean that we can just rename packages on PyPI to have hyphen instead of underscore, and nothing will break? Does it mean, that currently all |
Let's rename the package -- looks like it is safe and backward compatible operation |
Fixed by c34202e |
Please never use underscores in python-packages names.
PEP-008 conatins
We have a really problem. When our build system convert all dependencies to RPM (using FPM) yum is broken. We are can't use this package in our projects.
The text was updated successfully, but these errors were encountered: