-
-
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] setup.cfg + pyproject.toml + setup.py (with PBR) breaking. #3500
Comments
Thank you very much for reporting this and for the reproducer. I will investigate the issue and try to get back to you as soon as I can. |
An interesting find. On the repo linked above, I added the following FROM python:3.8
RUN pip install --upgrade setuptools
WORKDIR /opt/
COPY . test
WORKDIR /opt/test
RUN pip install -e .
CMD ["/bin/bash"] The above errors out with the same issue noted. Here are different version results: Works:
Does not work:
Edit: See more below. This test doesn't seem solid enough. |
I added |
I also can reproduce the error in my machine with Python 3.8.10 |
3.8.10 seems to be working with the Dockerfile above, weirdly enough. |
It's dependent on the release, and which Python base image is getting pulled based on the tag. Using Github Actions with the matrix functionality fails on all versions: https://github.com/synchronizing/setuptools-error/actions/runs/2841720491 Super weird, but at least its more reassuring this is happening in every version. |
Thank you very much for helping to investigate that. I really appreciate all the effort. |
Of course. Version 3.6.x works due to it being tied to setuptools |
Felipe, please let me know if v64.0.1 works for you, otherwise we can re-open this issue. |
Yup, fixed! Thank you. https://github.com/synchronizing/setuptools-error/actions/runs/2843387978 |
setuptools version
setuptools==64.0.0
Python version
Python 3.8.5
OS
macOS
Additional environment information
No response
Description
Reported originally in #3498. Unsure what is going on, but after the latest setuptools the following is thrown when using editable installs:
Expected behavior
No error should be thrown, and the package should be installed.
How to Reproduce
Here is a reproducible repo: https://github.com/synchronizing/setuptools-error
Running
pip install -e .
inside the folder will cause the error seen above. A few points:SETUPTOOLS_ENABLE_FEATURES
flag fixes the issue.pip install .
) fixes the issue.pyproject.toml
fixes the issue.pbr
fixes the issue.other
folder fixes the issue.Output
See above.
The text was updated successfully, but these errors were encountered: