-
Notifications
You must be signed in to change notification settings - Fork 6
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
Package doesn't install nicely on Python 3.9 #55
Comments
I don't understand this issue. We do not use urllib nor OpenSSL. As a matter of fact, we do not define any dependencies in the toml file. I don't see how your error can be related to radiotools. |
This came up when I tried to install radiotools on our cluster, where a lower version of OpenSSL is installed. This means that one has to restrict the However, it is not enough to do this in ones (virtual) environment. When I did a I am guessing there might be more people that want to install radiotools in environment with an OpenSSL version below 1.1.1, so I am proposing to add the requirement to the toml file. As you say, radiotools does not actually use |
sry, I still don't get the problem, because openSSL is also not a requirement. It feels weird to request packages that are not used. The only dependencies are numpy and scipy. I don't know why a |
I was also very confused when I had this issue. The problem is that on Python 3.9 (at least, maybe this is also true for earlier versions) The only way to influence the build backend, is by using the build requirements, so that is why I am suggesting this change. In the end I resorted to creating a I guess NuRadioMC will have the same issue, but I did not try to install that package on the same cluster. The other environments where I installed NRMC did have OpenSSL 1.1.1 or higher, so the issue did not arise. |
it seem that this is rather a general pip problem that would apply to any package. Therefore, I don't think we can fix this in radiotools. |
I was trying to install the latest version in my Python 3.9 virtual environment, but kept getting this error:
Even though I downgraded my
urllib
package to version 1.26.6. After digging around for a while I managed to track down the issue to the project's TOML file. With TOML files, an isolated build environment is created. In this build environment,urllib v2.0+
was installed, leading to the crash. A simple fix for this is to add the build requirement"urllib3 < 2.0"
.Can this be added or does this potentially cause (security) issues?
The text was updated successfully, but these errors were encountered: