-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Installing ruff v0.1.9+ with mamba and conda produces ModuleNotFoundError on Linux #9401
Comments
Interesting, need to see what changed here... The only thing I can see that possibly touched the release between v0.1.8 and v0.1.9 is #9031, but I don't see how it would've led to this error. Could something have changed in the conda-forge setup? |
Hmm, no, nothing changed between those releases in https://github.com/conda-forge/ruff-feedstock. |
Does |
Nope it doesn't :(. |
The problem is that in the new release, the $ micromamba install ruff==0.1.8
$ ls
_distutils_hack distutils-precedence.pth pip pip-23.3.2-py3.12.egg-info pkg_resources README.txt ruff ruff-0.1.8.dist-info setuptools setuptools-69.0.3-py3.12.egg-info wheel wheel-0.42.0.dist-info
$ micromamba install ruff==0.1.9
$ ls
_distutils_hack distutils-precedence.pth pip pip-23.3.2-py3.12.egg-info pkg_resources README.txt ruff-0.1.9.dist-info setuptools setuptools-69.0.3-py3.12.egg-info wheel wheel-0.42.0.dist-info I assume this is a conda bug since there is no , but it's hard to even find out the correct build commands to verify a regression. |
Ah so is this not a ruff issue, but rather a conda bug? And is it just a coincidence that 0.1.9 has #9188 as a breaking change and the problem is related to ruff not being found in the site-packages? |
It's either a bug in the conda feedstock or in conda itself, i'm not a conda expert though; We build the wheel as basis for the conda package and we know that the wheel version works. |
Hey just updating, there is an open issue conda-forge/ruff-feedstock#153 here detailing the same problem |
Good to hear, thanks for reporting back! |
Mac - Works
Linux - Fails
Windows - Not tested
import ruff
producesModuleNotFound
error.import ruff
mamba install ruff==0.1.9
Note: <0.1.8 versions don't produce this error0.1.9 py310h3d77a66_0 conda-forge/linux-64
Note:
The text was updated successfully, but these errors were encountered: