Skip to content

[MRG] MAINT Pins pytest version#14242

Merged
rth merged 3 commits intoscikit-learn:masterfrom
thomasjpfan:fix_pytest_version
Jul 3, 2019
Merged

[MRG] MAINT Pins pytest version#14242
rth merged 3 commits intoscikit-learn:masterfrom
thomasjpfan:fix_pytest_version

Conversation

@thomasjpfan
Copy link
Copy Markdown
Member

After pytest was updated to 5.0.0 there has been errors such as: https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=4635

This happened before when pytest was updated from 3.* to 4.*. This PR pins the pytest version to 3.* for python 3.5 (the newest version available on conda) and 4.* on the latest python version.

Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! As a workaround this works, but I think it would still be good to fix tests to be compatible with the latest pytest version if possible.

@thomasjpfan
Copy link
Copy Markdown
Member Author

Last time the fix was to “wait till pytest fixes this” and after a few days it worked! 😅

@rth
Copy link
Copy Markdown
Member

rth commented Jul 3, 2019

OK, let's merge to fix master and see if it'll be resolved with pytest 5.0.x bugfix releases.

@rth rth merged commit ec6d0bb into scikit-learn:master Jul 3, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
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

Successfully merging this pull request may close these issues.

2 participants