Skip to content

pytest>=3.4 requirement is not being resolved by pip #319

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
effigies opened this issue Jul 27, 2018 · 4 comments
Closed

pytest>=3.4 requirement is not being resolved by pip #319

effigies opened this issue Jul 27, 2018 · 4 comments

Comments

@effigies
Copy link

We require pytest>=3.0 and pytest-xdist. The latest pytest-xdist fails for pytest<3.4, but pip does not see it as a requirement, and so we get runtime failures for tests on Travis (which comes with pytest 3.3.0 installed).

@effigies
Copy link
Author

For reference, here's a Travis log: https://travis-ci.org/nipy/nipype/jobs/408947071

@nicoddemus
Copy link
Member

Thanks @effigies for writing,

Our install_requires seems correct:

install_requires = ['execnet>=1.1', 'pytest>=3.4', 'pytest-forked']

Unfortunately pips dependency solver is known to have some problems. Not sure what we can do on our side to fix this.

@nicoddemus
Copy link
Member

Note to self: do not change version requirements in bug fix versions btw.

@effigies
Copy link
Author

effigies commented Jul 27, 2018

Hmm. Okay. It looks like we're not upgrading our pip to the latest, so hopefully that resolves it. If not, we can just update our minimum version of pytest. 3.4 seems old enough.

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