Skip to content
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

Fix conftest.py compatibility with pytest 4.3 #635

Merged
merged 2 commits into from May 27, 2019

Conversation

hroncok
Copy link
Contributor

@hroncok hroncok commented Mar 14, 2019

While pytest in tox.ini is explicitly set to be 3.3.2, in Fedora 31 we are about to update to a newer version of pytest. In order to be able to test babel, we need pytest 4.3 support.

This adds support for pytest 4.3 without breaking support for 3.3.2.

Switching to 4.3 in tox.ini is left at the discretion of the maintainers.

While pytest in tox.ini is explicitly set to be 3.3.2, in Fedora 31
we are about to update to a newer version of pytest.
In order to be able to test babel, we need pytest 4.3 support.

This adds support for pytest 4.3 without breaking support for 3.3.2.
@codecov-io
Copy link

codecov-io commented Mar 14, 2019

Codecov Report

Merging #635 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #635   +/-   ##
=======================================
  Coverage   90.42%   90.42%           
=======================================
  Files          24       24           
  Lines        4083     4083           
=======================================
  Hits         3692     3692           
  Misses        391      391

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69cda1d...897fa81. Read the comment docs.

@akx
Copy link
Member

akx commented Mar 14, 2019

@hroncok Thank you! We could by all means upgrade to pytest 4, so if you feel like it, please add the other required changes too. :)

@hroncok
Copy link
Contributor Author

hroncok commented Mar 14, 2019

Should I pin pytest at 4.3.1?

@akx
Copy link
Member

akx commented Mar 14, 2019

Should I pin pytest at 4.3.1?

That's fine. Thank you!

@akx
Copy link
Member

akx commented Mar 14, 2019

Oh, btw, the same changes will need to be done in the travis and appveyor configs too (due to Legacy Reasons). Would you mind doing that too, @hroncok? :)

@hroncok
Copy link
Contributor Author

hroncok commented Mar 14, 2019

sure, later today

@hroncok
Copy link
Contributor Author

hroncok commented Mar 14, 2019

amended

@akx akx merged commit 88fe29b into python-babel:master May 27, 2019
@akx
Copy link
Member

akx commented May 27, 2019

Thank you! 🎉

@hroncok hroncok deleted the pytest4 branch May 27, 2019 08:12
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.

None yet

3 participants