Skip to content

Unbreak CI - #15505

Merged
sobolevn merged 2 commits into
python:masterfrom
AlexWaygood:patch-1
Jun 23, 2023
Merged

sobolevn merged 2 commits into
python:masterfrom
AlexWaygood:patch-1

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Jun 23, 2023 •

Copy link
Copy Markdown
Member

pytest 7.4.0 was just released, and our CI on master is very red as a result. Looks like we're using a private API that we shouldn't be: #15501 (comment). For now let's just pin to pytest <7.4.0.

https://pypi.org/project/pytest/7.4.0/

pytest 7.4.0 was just released, and our CI is red as a result. Looks like we're using a private API that we shouldn't be. For now let's just pin to pytest <7.4.0

@sobolevn sobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can also bump the lower bound to >=7.3, but it is totally not required.

@AlexWaygood

Copy link
Copy Markdown
Member Author

I think we can also bump the lower bound to >=7.3, but it is totally not required.

I'd generally pin pytest to an exact version in my own projects, since it's a test dependency, but the approach elsewhere in this file seems to be to be as permissive as possible with the ranges... happy to go either way, though!

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@sobolevn
sobolevn merged commit 2f56b3f into python:master Jun 23, 2023
@AlexWaygood
AlexWaygood deleted the patch-1 branch June 23, 2023 12:53
hauntsaninja pushed a commit that referenced this pull request Jun 24, 2023
pytest 7.4.0 was just released, and our CI on `master` is very red as a
result. Looks like we're using a private API that we shouldn't be:
#15501 (comment). For
now let's just pin to pytest <7.4.0.

https://pypi.org/project/pytest/7.4.0/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants