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

Pin pytest 7.0.1 #14997

Merged
merged 5 commits into from Apr 5, 2022
Merged

Pin pytest 7.0.1 #14997

merged 5 commits into from Apr 5, 2022

Conversation

benjyw
Copy link
Sponsor Contributor

@benjyw benjyw commented Apr 4, 2022

The latest releases (7.1.0, and 7.1.1 so far) have a conftest.py-related bug that has hit at least one user.

See #14990

[ci skip-rust]

[ci skip-build-wheels]

It has a conftest.py-related bug that has hit at least one user.

[ci skip-rust]

[ci skip-build-wheels]
@benjyw benjyw requested a review from stuhood April 4, 2022 21:24
@@ -314,6 +314,7 @@ class PythonSetup(Subsystem):
"when building wheels. Otherwise, the default of macosx_11_0 will be used. "
"This may be required for pip to be able to install the resulting distribution "
"on Big Sur.",
advanced=True,
Copy link
Sponsor Contributor Author

Choose a reason for hiding this comment

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

Unrelated but not worth a PR of its own.

@benjyw
Copy link
Sponsor Contributor Author

benjyw commented Apr 4, 2022

Will wait for confirmation that 7.1.1 fixes the issue before merging this. If it doesn't, will change to pin to 7.0.1.

@benjyw
Copy link
Sponsor Contributor Author

benjyw commented Apr 4, 2022

Addresses #14990

@benjyw benjyw added the category:bugfix Bug fixes for released features label Apr 4, 2022
[ci skip-rust]

[ci skip-build-wheels]
@benjyw benjyw changed the title Exclude Pytest 7.1.0. Pin pytest 7.0.1 Apr 5, 2022
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

You must regenerate the default lock file for pytest, run generate_all_lockfiles.sh --tool pytest

@benjyw
Copy link
Sponsor Contributor Author

benjyw commented Apr 5, 2022

I did regenerate the lockfile, are you not seeing it? Or am I missing something?

@benjyw
Copy link
Sponsor Contributor Author

benjyw commented Apr 5, 2022

But I'll have to regenerate at least the user lockfile anyway due to this merge collision.

@Eric-Arellano
Copy link
Contributor

You re-generated our own internal lock file, but not the default one that we distribute to users https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/python/subsystems/pytest.lock

[ci skip-rust]

[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@benjyw benjyw merged commit 0716c80 into pantsbuild:main Apr 5, 2022
@benjyw benjyw deleted the upgrade_pytest branch April 5, 2022 23:38
benjyw added a commit to benjyw/pants that referenced this pull request Apr 5, 2022
The latest releases (7.1.0, and 7.1.1 so far) have a conftest.py-related bug that has hit at least one user.

See pantsbuild#14990

[ci skip-rust]

[ci skip-build-wheels]
benjyw added a commit that referenced this pull request Apr 6, 2022
The latest releases (7.1.0, and 7.1.1 so far) have a conftest.py-related bug that has hit at least one user.

See #14990

[ci skip-rust]

[ci skip-build-wheels]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants