-
-
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
[BUG] test_editable_install fails on Fedora #4371
Comments
Other tests in test_editable_install.py also fail under certain conditions, such as |
I wonder if there is any chance this happens because in those systems Python don't try to We can see that the
We can also see that the directory contain a link farm: dnf install -y tree
tree -a /tmp/pytest-of-root/pytest-0/popen-gw9/test_editable_with_prefix_stri0/sampleproject/build/__editable__.sampleproject-3.0.0-py3-none-any
/tmp/pytest-of-root/pytest-0/popen-gw9/test_editable_with_prefix_stri0/sampleproject/build/__editable__.sampleproject-3.0.0-py3-none-any
└── sample
├── __init__.py -> /tmp/pytest-of-root/pytest-0/popen-gw9/test_editable_with_prefix_stri0/sampleproject/src/sample/__init__.py
├── package_data.dat -> /tmp/pytest-of-root/pytest-0/popen-gw9/test_editable_with_prefix_stri0/sampleproject/src/sample/package_data.dat
└── simple.py -> /tmp/pytest-of-root/pytest-0/popen-gw9/test_editable_with_prefix_stri0/sampleproject/src/sample/simple.py
2 directories, 3 files |
This might be a problem with |
Yes, that's also what @webknjaz and @agronholm both found. Fix incoming. |
setuptools version
main
Python version
Python 3.12
OS
Fedora (latest as found on Docker)
Additional environment information
No response
Description
When running tests on Fedora, the
test_editable_install
tests are failing with "No module named sample" and other errors.Expected behavior
Tests should pass (or be marked as xfail if they can't pass). This test is already xfailing for macos due to #4328.
How to Reproduce
Run this Dockerfile:
Output
The text was updated successfully, but these errors were encountered: