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

fix trunk failing build by pinning PyPy to 3.7.13, as 3.7.14 is failing currently, and add some type annotations to deal with new annotations in pyOpenSSL #12077

Merged
merged 9 commits into from
Jan 12, 2024

Conversation

glyph
Copy link
Member

@glyph glyph commented Jan 11, 2024

Fixes #12076

@glyph
Copy link
Member Author

glyph commented Jan 12, 2024

please review

Copy link
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks.

I don't know why the iocp reactor code is not reported as coverted by automated test.

We run the whole test suite on Windows with iocp reactor and coverage enabled.

But this can be looked into a separate PR.

The important part is to fix trunk.


@glyph if you have time to review, I can work on the mypy upgrade.

Regards

tox-env: 'alldeps-nocov-posix'
job-name: 'no-coverage'
skip-coverage: yes

# We still run some tests with coverage,
# as there are test with specific code branches for pypy.
- python-version: 'pypy-3.9'
- python-version: 'pypy3.10-v7.3.13'
Copy link
Member

Choose a reason for hiding this comment

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

Maybe mention in the releas notes that PyPy3.9 is no longer supported, and we now support PyPy 3.10?

Copy link
Member Author

Choose a reason for hiding this comment

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

The interesting thing that is happening here is that we are not supporting the latest PyPy, 7.3.14; 7.3.13 works with both 3.9 and 3.10, and the CPython coverage for syntax differences seems sufficient, given that those two "versions" are substantially similar. So I wouldn't say it's unsupported, and if we have PyPy-3.9 specific issues we could add another buildbot. I bumped the Python version since if we are going to make space in the test matrix, it seems like 3.10 would probably be more used at this point than 3.9.

@adiroiban
Copy link
Member

Instead of "hopefully fix trunk" maybe the title of this PR should be "Use PyPy 3.10 in testing to fix CI failures caused by latest changes to PyPy 3.9."

@glyph glyph changed the title hopefully fix trunk fix trunk failing build by pinning PyPy to 3.7.13, as 3.7.14 is failing currently, and add some type annotations to deal with new annotations in pyOpenSSL Jan 12, 2024
@glyph
Copy link
Member Author

glyph commented Jan 12, 2024

We run the whole test suite on Windows with iocp reactor and coverage enabled.

It must be a codecov bug. Note that the codecov status check says that codecov/patch hits 100% of the diff target, and some of the changed lines are in those files, so it's not even self-consistent.

@glyph glyph merged commit df30455 into trunk Jan 12, 2024
23 checks passed
@glyph glyph deleted the 12076-fix-trunk branch January 12, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

trunk build failing
3 participants