typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

[CI] Use Python 3.12 for third-party stubtest

Open srittau opened this issue 1 year ago • 1 comments

srittau avatar Oct 18 '24 10:10 srittau

  • [x] atheris doesn't compile (last release 2023-08)
  • [x] boto fails to import boto.vendored.six (last release 2018-07!) (#12848)
  • [x] openpyxl needs a stubtest allowlist update
  • [x] playsound doesn't compile (last release 2021-07)
  • [x] 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'

srittau avatar Oct 18 '24 10:10 srittau

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

srittau avatar Oct 21 '24 12:10 srittau

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

AlexWaygood avatar Oct 21 '24 13:10 AlexWaygood

Other than different comments, I think this may have been superseded by https://github.com/python/typeshed/pull/13582 ?

Avasam avatar Mar 06 '25 04:03 Avasam