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

[CI] Use Python 3.12 for third-party stubtest #12847

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Oct 18, 2024

No description provided.

@srittau
Copy link
Collaborator Author

srittau commented Oct 18, 2024

  • atheris doesn't compile (last release 2023-08)
  • boto fails to import boto.vendored.six (last release 2018-07!) (Remove boto #12848)
  • openpyxl needs a stubtest allowlist update
  • playsound doesn't compile (last release 2021-07)
  • requests needs a stubtest allowlist update
  • gdb fails with the following traceback???
Traceback (most recent call last):
  File "/tmp/stubtest-j8_r64qv/gdb_stubtest.py", line 22, in <module>
    from mypy.stubtest import main
  File "/tmp/stubtest-j8_r64qv/lib/python3.12/site-packages/mypy/stubtest.py", line 30, in <module>
    from pathlib import Path
  File "/usr/lib/python3.12/pathlib.py", line 19, in <module>
    from urllib.parse import quote_from_bytes as urlquote_from_bytes
  File "/usr/lib/python3.12/urllib/parse.py", line 36, in <module>
    import math
ModuleNotFoundError: No module named 'math'

stubs/atheris/METADATA.toml Outdated Show resolved Hide resolved
@srittau
Copy link
Collaborator Author

srittau commented Oct 21, 2024

I'm honestly stumped why gdb fails. Locally (also using Ubuntu 2024.04), this works.

@AlexWaygood
Copy link
Member

There's also a couple of stubtest failures on wtforms still

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.

3 participants