-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Problems with tox and setuptools 64 #2479
Comments
Sounds to me like you're being broken by setuptools adding PEP-660 support - https://setuptools.pypa.io/en/latest/history.html#v64-0-0, either way this doesn't seem to be a tox issue. |
@gaborbernat I will check the issue with pypa, thank you for pointing it out. I actually tried to specify However - why is it necessary to specify Cheers |
After further tests:
So, ISTM that tox is being broken by setuptools 64, not so much psycopg. |
Work around tox-dev/tox#2479 (editable installs in tox broken by setuptools v64) and tox-dev/tox#2480 (failure to use `toxinidir` in `deps`). Use -e consistently in the linting steps instead, because they are defined with skip_install=True so it seems a good idea to use it. These steps don't seem affect by the setuptools issue.
Work around tox-dev/tox#2479 (editable installs in tox broken by setuptools v64) and tox-dev/tox#2480 (failure to use `toxinidir` in `deps`). Use -e consistently in the linting steps instead, because they are defined with skip_install=True so it seems a good idea to use it. These steps don't seem affect by the setuptools issue.
Something else that broke after setuptools 64 release. See tox-dev/tox#2479 for more details. Reported something at pypa/setuptools#3557
Something else that broke after setuptools 64 release. See tox-dev/tox#2479 for more details. Reported something at pypa/setuptools#3557
Hello,
Since yesterday, running psycopg 3 tests with tox started to fail:
To reproduce:
Output of the run above
The
psycopg_c/tox.ini
file looks like:The error seems related to
psycopg
not recognized as package, although installed as above: running:However, changing the execution directory doesn't fix the problem. What fixes the problem is to
pip install ./psycopg
without the-e
, but specifying it intox.ini
fails with a:I can see that tox didn't release any new version in the last couple of days, but maybe some dependency changed? Running tests outside tox doesn't show the same problem.
The text was updated successfully, but these errors were encountered: