Skip to content

max recursion depth in 3.1.2 #2485

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

Closed
bedwards opened this issue Jun 9, 2017 · 6 comments
Closed

max recursion depth in 3.1.2 #2485

bedwards opened this issue Jun 9, 2017 · 6 comments

Comments

@bedwards
Copy link

bedwards commented Jun 9, 2017

I noticed my build started failing with a simple change to my source and tracked it down to grabbing the latest pytest. I have pytest>=3 changing it to pytest==3.1.1 works around the problem. I am using django-pytest 3.1.2.

Attaching the traceback.

I will work on a minimal example. This is happening inside tox. It happens both on Mac OS X and on Bitbucket Pipelines (docker container running inside debian if I am not mistaken).

traceback.txt

@nicoddemus
Copy link
Member

Hi @bedwards, I think this is related to #2140. Which version of py are you using?

cc @pelme

@bedwards
Copy link
Author

bedwards commented Jun 9, 2017

This seems to be related to the specific version of py along with pytest 3.1.2

fails: 1.4.31 and 1.4.32

works: 1.4.33 and 1.4.34

@nicoddemus
Copy link
Member

Weird that it is failing for you, pytest requires py>=1.33 on setup.py.

@bedwards
Copy link
Author

bedwards commented Jun 9, 2017

Yes. I think this is not a bug. Just incompatible versions. I had a bad requirements.txt file.

py==1.4.31
pytest>3

@nicoddemus
Copy link
Member

Even so, that should give some conflict... hmm although pip is known to not have true dependency resolution, that might be it.

@bedwards should we close this?

@bedwards
Copy link
Author

bedwards commented Jun 10, 2017 via email

brandonwillard added a commit to brandonwillard/hy that referenced this issue Aug 14, 2018
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants