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

Adapt to getfixturedefs change in pytest 8.1 #666

Merged
merged 4 commits into from Jan 21, 2024

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Jan 8, 2024

The signature of this (private) function will change in the upcoming pytest 8.1 release:
pytest-dev/pytest#11785

Additionally, the iterparentnodeids function is removed, so copy/pasting it for now.

I verified that all tests pass when run against pytest main.

The signature of this (private) function will change in the upcoming
pytest 8.1 release:
pytest-dev/pytest#11785

Additionally, the `iterparentnodeids` function is removed, so
copy/pasting it for now.

I verified that all tests pass when run against pytest main.
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (8a694ff) 95.58% compared to head (32a19ce) 95.18%.

Files Patch % Lines
src/pytest_bdd/scenario.py 80.00% 3 Missing and 3 partials ⚠️
src/pytest_bdd/compat.py 76.92% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #666      +/-   ##
==========================================
- Coverage   95.58%   95.18%   -0.41%     
==========================================
  Files          49       50       +1     
  Lines        1788     1826      +38     
  Branches      193      200       +7     
==========================================
+ Hits         1709     1738      +29     
- Misses         52       57       +5     
- Partials       27       31       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@youtux youtux self-requested a review January 21, 2024 14:07
youtux
youtux previously approved these changes Jan 21, 2024
@youtux
Copy link
Contributor

youtux commented Jan 21, 2024

Fixes #668

@youtux youtux enabled auto-merge January 21, 2024 14:33
@youtux youtux disabled auto-merge January 21, 2024 14:57
@youtux youtux merged commit 5581e77 into pytest-dev:master Jan 21, 2024
6 of 8 checks passed
@youtux
Copy link
Contributor

youtux commented Jan 21, 2024

I got the pytest version check wrong, fixing it in #669

@IvanBuruyane
Copy link

@youtux , thanks for the fix. Do you know when the fix will be released?

@youtux
Copy link
Contributor

youtux commented Mar 4, 2024

I'll do a release later today

@youtux
Copy link
Contributor

youtux commented Mar 4, 2024

pytest-bdd 7.1.1 is out

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