Commit Graph
10107 Commits
Author SHA1 Message Date
Ali HamdanandGitHub a0db1ba8dc Mark optparse constants as final (#13451) 2025-02-03 09:05:41 +01:00
Ali HamdanandGitHub 30a4d10b71 Mark top-level re flags as final (#13452) 2025-02-03 09:04:52 +01:00
Ali HamdanandGitHub fd92105daa Mark constants in sre_constants as final (#13453)
Replace one use of Any
2025-02-03 09:04:03 +01:00
VictorienandGitHub e26219d41f Bump django-import-export to 4.3.4 (#13414) 2025-02-03 09:02:58 +01:00
github-actions[bot]andGitHub 983fc03a9f [stubsabot] Mark beautifulsoup4 as obsolete since 4.13.0 (#13455)
Release: https://pypi.org/pypi/beautifulsoup4/4.13.0
Homepage: https://www.crummy.com/software/BeautifulSoup/bs4/
Repository: https://git.launchpad.net/beautifulsoup/tree
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/beautifulsoup4
2025-02-02 22:01:02 -08:00
Ali HamdanandGitHub 89b5afab15 Clean up argparse hacks (#13450) 2025-02-01 13:11:40 -08:00
Ali HamdanandGitHub d704a7d8f7 shapely: Fix tuple length of CoordinateSequence items (#13435)
Closes #13422
2025-02-01 13:40:34 -05:00
Alex WaygoodandGitHub c193cd2a36 Upgrade Black and Ruff (#13443) 2025-01-29 22:47:58 +00:00
AvasamandGitHub 89b49d207b Have win32gui.SystemParametersInfo return Any (#13438) 2025-01-27 05:33:52 +01:00
sobolevnandGitHub 5944a6837b Bump zstd to 1.5.6.2 (#13434) 2025-01-25 03:40:39 -08:00
AvasamandGitHub aa992b9cc6 pywin32: type Get* functions in win32api (#13430) 2025-01-23 21:21:59 +01:00
x11xandGitHub 3580566c5b pyserial: make serial.threaded.ReaderThread generic in the type of Protocol (#13425) 2025-01-23 11:23:52 +01:00
ShantanuandGitHub c546278aae zstd: pin version (#13428) 2025-01-22 17:22:15 -08:00
github-actions[bot]andGitHub ce521e8c76 [stubsabot] Bump braintree to 4.32.* (#13423) 2025-01-22 08:55:50 +01:00
Alyssa CoghlanandGitHub 57d7c4334b Improve [Async]ContextDecorator type hinting (#13416)
Updated annotations allow access to `__wrapped__` on
decorated callables without complaints from typecheckers.
2025-01-20 17:58:52 +01:00
unightsandGitHub c951dbbc9d [psycopg2] Fix file argument types (#13418) 2025-01-20 17:56:30 +01:00
Ali HamdanandGitHub c01e731dd1 Add geopandas stubs (#12990) 2025-01-19 19:19:43 +01:00
Ali HamdanandGitHub 31bff4a503 Improve decimal constants and fill missing defaults (#13412) 2025-01-19 15:01:44 +01:00
Tomas R.andGitHub 85ce495603 Add sys._clear_internal_caches (#13411) 2025-01-19 15:01:08 +01:00
Tom KusonandGitHub 7f685ea517 Mark attributes in json.encoder as undocumented (#13408) 2025-01-19 15:00:04 +01:00
Ali HamdanandGitHub af00613477 optparse: Fix OptionParser types (#13339) 2025-01-19 14:59:14 +01:00
Danny YangandGitHub 9f90182ba2 Remove stub content/style section from CONTRIBUTING.md (#13332) 2025-01-19 14:50:15 +01:00
Ali HamdanandGitHub 70cf06799f Mark (c)math constants as final (#13410) 2025-01-19 13:35:09 +00:00
ShantanuandGitHub c2e4ef3ae4 icalendar: fix arg name (#13407)
Fixes #13406
2025-01-19 02:12:33 +00:00
a9aaf493b3 Add json.scanner.NUMBER_RE (#13405)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2025-01-18 13:36:10 -08:00
Anthony SottileandGitHub c20f05af5f requests-oauthlib: decoding can be None (#13404)
it is passed along to oauthlib where the default there is None
2025-01-17 18:39:27 -08:00
Tomas R.andGitHub 2a461a2f79 Use a more precise return type for tokenize.untokenize() (#13366) 2025-01-16 20:59:29 +01:00
sobolevnandGitHub 67eebc5495 Improve django-import-export (#13402) 2025-01-16 14:43:16 +01:00
Stephen MortonandGitHub 578af27510 add types.GenericAlias.__mro_entries__ (#13284) 2025-01-15 15:36:02 +01:00
Anthony SottileandGitHub 101287091c add "w:tar" as a mode for tarfile (#13401) 2025-01-14 17:26:25 +01:00
João Paulo Taylor Ienczak ZanetteandGitHub 1017916da2 xml: Add missing types for DocumentType's publicId and systemId (#13343) 2025-01-13 14:57:16 +01:00
Maciej OlkoGitHubpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
88be13d059 Allow Path in polib.pofile() (#13396)
* Allow PathLike in polib.pofile()

* Add missing import

* [pre-commit.ci] auto fixes from pre-commit.com hooks

* Update type to pathlib.Path

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 14:35:05 +01:00
sobolevnandGitHub c5f3608372 Use 3.13 in regular CI (#13397) 2025-01-13 11:05:54 +00:00
38d2fe81fe [stubsabot] Bump Flask-Migrate to 4.1.* (#13392)
Co-authored-by: stubsabot <>
2025-01-11 13:07:08 +00:00
fce4b4f10b [stubsabot] Bump lupa to 2.4.* (#13391)
Co-authored-by: stubsabot <>
2025-01-11 12:59:36 +00:00
Alex WaygoodandGitHub 0023f5a169 Run the "typecheck our own code" workflow on PRs touching the lib/ directory (#13394) 2025-01-11 12:56:01 +00:00
Sebastian RittauandGitHub f26ad2059e Remove Python3.8 stubtest allowlists (#13389)
Consolidate remaining allowlists
2025-01-10 15:17:36 +01:00
Sebastian RittauandGitHub 10ebc999ee Officially drop Python 3.8 support (#13386) 2025-01-10 15:06:22 +01:00
Sebastian RittauandGitHub 822fae31e5 Remove Python 3.8 from CI (#13387) 2025-01-10 14:15:39 +01:00
Sebastian RittauandGitHub f2c917ff52 Remove redundant version branch (#13388) 2025-01-10 14:14:55 +01:00
github-actions[bot]andGitHub a920fd6479 [stubsabot] Bump lupa to 2.3.* (#13383)
Release: https://pypi.org/pypi/lupa/2.3
Homepage: https://github.com/scoder/lupa
Repository: https://github.com/scoder/lupa
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/lupa
2025-01-10 00:17:41 -08:00
Stephen MortonandGitHub 2a030be2e9 fix ctypes.GetLastError (#13379) 2025-01-09 19:03:56 -08:00
pinteriorandGitHub 46cbe78e4c fix Telnet#expect (stdlib/telnetlib.pyi) (#13377)
fix type of Telnet#expect
2025-01-09 19:01:27 -08:00
Stephen MortonandGitHub e55c13a612 update allowlist comment for SupportsAbs and SupportsRound (#13380)
The answer to the question is that mypy infers it just fine, but
stubtest doesn't check for attributes inherited from the metaclass
because that's almost never what we want. In this case,
the runtime implementation doesn't get __type_params__ from
builtins.type either. It's actually defined for the class due to
the use of PEP-695 syntax.
2025-01-09 14:00:54 -08:00
David PeterandGitHub 614e9499f1 Annotate sys.platform as LiteralString (#13378) 2025-01-09 18:58:44 +01:00
AvasamandGitHub e3e5971fe7 Bump setuptools to 75.8.* (#13367) 2025-01-09 12:02:23 +01:00
Trim21andGitHub 0ab97c3060 Allow renovate to upgrade additional_dependencies in Python pre-commit hooks (#13368) 2025-01-08 12:42:35 +00:00
pre-commit-ci[bot]andGitHub dc1ce5f567 [pre-commit.ci] pre-commit autoupdate (#13375) 2025-01-06 16:57:35 -08:00
github-actions[bot]andGitHub a51dd6d6d8 [stubsabot] Bump Pygments to 2.19.* (#13370)
Release: https://pypi.org/pypi/Pygments/2.19.0
Homepage: https://pygments.org
Repository: https://github.com/pygments/pygments
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/Pygments
Changelog: https://github.com/pygments/pygments/blob/master/CHANGES
Diff: https://github.com/pygments/pygments/compare/2.18.0...2.19.0

Stubsabot analysis of the diff between the two releases:
 - 9 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 36 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 2960.
 - Total lines of Python code deleted: 694.
2025-01-06 09:58:15 -08:00
Maico TimmermanandGitHub 3de624f980 Improve return type for socket.getaddrinfo for missing ipv6 support (#13372) 2025-01-06 14:40:07 +01:00