Skip to content

Fix test_errors_in_xfail_skip_expressions for Python 3.10.1 #9417

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

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

nicoddemus
Copy link
Member

Decided to remove the condition altogether as seems reasonable to state
that our own test suite requires Python 3.10.1.

Fix #9413

@nicoddemus nicoddemus added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Dec 16, 2021
Decided to remove the condition altogether as seems reasonable to state
that our own test suite requires Python 3.10.1.

Fix pytest-dev#9413
@@ -78,7 +78,7 @@ jobs:
os: windows-latest
tox_env: "py39-xdist"
- name: "windows-py310"
python: "3.10-dev"
python: "3.10.1"
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: for now it seems 3.10.1 is not the default image if we just leave it as "3.10" (it installs 3.10.0 in that case).

We probably want to change this to "3.10" once it installs 3.10.1 (or later).

@nicoddemus nicoddemus merged commit 47df71d into pytest-dev:main Dec 16, 2021
@nicoddemus nicoddemus deleted the fix-py3.10.1-9413 branch December 16, 2021 13:38
nicoddemus added a commit to nicoddemus/pytest that referenced this pull request Dec 16, 2021
@nicoddemus
Copy link
Member Author

nicoddemus commented Dec 16, 2021

Backport: #9418

@nicoddemus nicoddemus added backported and removed needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch labels Dec 16, 2021
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Dec 22, 2021
https://build.opensuse.org/request/show/941699
by user mcepl + dimstar_suse
- Using URLs for Patches looks like a great idea, but it is too
  unstable. Please, don't.
- Add pytest-pr8664-py3.10-test_trial_error-fail.patch
  * gh#pytest-dev/pytest#8664
- Add pytest-pr9417-py3.10.1-fail.patch
  * gh#pytest-dev/pytest#9417
- Disable libalternatives usage until all python-pytest* packages
  are on the same page (see sr#926611)
- Disable all update-alternatives install calls if libalternatives
  is used.
- Use libalternatives instead of update-alternatives.
mgorny pushed a commit to mgorny/pytest that referenced this pull request Jan 28, 2022
nicoddemus added a commit to mgorny/pytest that referenced this pull request Jan 29, 2022
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.

pytest 7.0.0rc1 and 6.2.5 both fail test_errors_in_xfail_skip_expressions on Python 3.10.1
2 participants