-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
maximum recursion depth exceeded #2501
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
Comments
@alexeyt820 thanks for the report. The traceback seems related to #2140:
This should be fixed by |
Hmm looking further into it, your traceback shows:
But looking at the same line in py 1.4.34 it is clear that the code in question is using a different |
Maybe we should add a check for py's version to pytest and bail out with a better error if an older py gets loaded? |
we can hardly fix broken installations - py was being overridden by another location there, and pkg_ressources reported the first version which was correct im inclined to close this one as "problem exists between admin of user and user" |
@RonnyPfannschmidt We can check |
ah right, i missed we didnt update it to setuptools_scm yet |
TBH I'm divided here: We already do pin the correct version in setup.py, not sure we should also do an additional check in the source; after all, should we do that for all dependencies as well? (of course On the other hand that's the second report we had about this (the other being #2485 ), so it might make sense to do this if more and more users might encounter this error. After writing all this I think this might be the case of practicability beats purity, so adding a check might be the better option (we are talking about a few lines of code anyway). What you guys think? |
Closing for now, it seems this should no longer be a problem. |
There are conflicts between certain combinations of `pytest` and `py` that cause recursion issues (see pytest-dev/pytest#2501 and pytest-dev/pytest#2485). The same errors were showing up in Travis builds when pip pulled the most recent versions of these two packages.
Uh oh!
There was an error while loading. Please reload this page.
Thanks for submitting an issue!
Here's a quick checklist in what to include:
pip list
backports.ssl-match-hostname (3.4.0.2)
certifi (2017.4.17)
chardet (3.0.3)
coverage (4.4.1)
EasyProcess (0.2.3)
elasticsearch (5.4.0)
email (6.0.0a1)
idna (2.5)
iniparse (0.4)
iso8601 (0.1.11)
kitchen (1.1.1)
nose (1.3.7)
nose-exclude (0.5.0)
pip (9.0.1)
psycopg2 (2.7.1)
py (1.4.34)
pycurl (7.19.0)
pygpgme (0.3)
pyliblzma (0.5.3)
pyodbc (4.0.16)
pytest (3.1.2)
pytest-cov (2.5.1)
PyVirtualDisplay (0.2.1)
pyxattr (0.5.1)
PyYAML (3.12)
requests (2.17.3)
setuptools (0.9.8)
urlgrabber (3.10)
urllib3 (1.21.1)
yum-metadata-parser (1.1.4)
traceback.txt
The text was updated successfully, but these errors were encountered: