Skip to content

Conversation

@seifertm
Copy link
Contributor

This PR bumps the minimum required pytest version to v7.

The DeprecationWarning when using a pytest version smaller than 7 has been removed.

@codecov-commenter
Copy link

Codecov Report

Base: 93.16% // Head: 93.77% // Increases project coverage by +0.60% 🎉

Coverage data is based on head (2821f0b) compared to base (6adce31).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #482      +/-   ##
==========================================
+ Coverage   93.16%   93.77%   +0.60%     
==========================================
  Files           2        2              
  Lines         278      273       -5     
  Branches       56       55       -1     
==========================================
- Hits          259      256       -3     
+ Misses         12       11       -1     
+ Partials        7        6       -1     
Impacted Files Coverage Δ
pytest_asyncio/plugin.py 93.70% <100.00%> (+0.61%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Pytest 7 was released on 2022-02-03, roughly one year ago. It is time to bump the minimum version requirement on pytest.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
The types Config, PytestPluginManager, and Parser are available as part of the public pytest API starting from pytest 7.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…er than 7.

The minimum pytest version was bumped to v7, so this deprecation warning should never be triggered.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…l type.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…t in pytest.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
@seifertm seifertm force-pushed the bump-pytest-min-version-to-v7 branch from 2821f0b to 8351901 Compare January 20, 2023 07:59
@seifertm seifertm merged commit cafa26c into pytest-dev:master Jan 20, 2023
@seifertm seifertm deleted the bump-pytest-min-version-to-v7 branch October 23, 2023 06:15
@seifertm seifertm restored the bump-pytest-min-version-to-v7 branch October 23, 2023 08:17
@seifertm seifertm deleted the bump-pytest-min-version-to-v7 branch October 23, 2023 08:31
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