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

tests/run-test.sh: Fall back from pytest-3 to pytest #1641

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

swick
Copy link
Collaborator

@swick swick commented Feb 17, 2025

Solving the problem that #1638 is trying to solve but with a fallback from pytest-3 to pytest.

Back in a time of transition from Python 2 to 3, pytest-3 was an
indicator to use the Python 3 edition. However, this is no longer the
case, and if pytest-3 still exists, it's only for compatibility reasons.

Fall back to the canonical pytest if pytest-3 doesn't exist. This is the
same behavior as in our meson.build.
@swick swick force-pushed the wip/run-test-improvements branch from 09d96ba to 13e1d14 Compare February 17, 2025 19:34
@smcv smcv added this pull request to the merge queue Feb 17, 2025
Merged via the queue into flatpak:main with commit 7b0ae3c Feb 17, 2025
5 checks passed
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