Commit Graph

10381 Commits

Author SHA1 Message Date
Noelle Leigh 1b267b25f2 stdlib/unittest/mock.pyi: Improve _Call types (#13845)
This fixes a number of issues related to `_Call` in `stdlib/unittest/mock.pyi`:

- `_Call.__new__()`, `_Call.__init__()`: The `parent` argument should be
  another `_Call` or `None`.
- `_Call.name` doesn't exist.
- `_Call.parent` doesn't exist.
- `_Call.from_kall` doesn't exist.
- [`NonCallableMock.call_args`][0] should be a `_Call` or `None`.

[0]: https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.call_args
2025-04-18 12:32:16 -07:00
Semyon Moroz 6f7c79786f Bump shapely to 2.1.* (#13847) 2025-04-16 20:54:27 -07:00
Semyon Moroz b37974492e Bump pyinstaller to 6.13.* (#13843) 2025-04-16 20:54:53 -04:00
Sebastian Rittau 45c0e52b30 Remove obsolete mentions of Python 3.8 (#13842) 2025-04-16 11:43:31 +02:00
Sebastian Rittau b67e0da207 Remove obsolete type alias _CursesWindow (#13841) 2025-04-16 11:43:06 +02:00
Avasam 5113659d37 Add all classes in stubs/pyinstaller/PyInstaller/utils/win32/versioninfo.pyi (#13833) 2025-04-16 11:32:19 +02:00
CatBraaain 9b23a54897 [tqdm] Add return type to tqdm.asyncio.gather (#13839) 2025-04-16 11:11:32 +02:00
github-actions[bot] 8e8254e442 [stubsabot] Bump greenlet to 3.2.* (#13836)
Release: https://pypi.org/pypi/greenlet/3.2.0
Homepage: https://greenlet.readthedocs.io/
Repository: https://github.com/python-greenlet/greenlet
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/greenlet
Changelog: https://greenlet.readthedocs.io/en/latest/changes.html
Diff: https://github.com/python-greenlet/greenlet/compare/3.1.1...3.2.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 29.
 - Total lines of Python code deleted: 18.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2025-04-16 09:10:46 +02:00
Sebastian Rittau ef0ee2087c Update authlib to 1.5.* (#13540) 2025-04-15 17:08:24 -04:00
Sebastian Rittau dfea9a6a26 Document visit method return type (#13831) 2025-04-15 18:09:33 +02:00
Avasam 893eabe4ce auth0-python solve stubtest_allowlist entries (#13827) 2025-04-15 14:25:33 +02:00
Avasam 53811d3fca auth0-python: Cleanup re-exports leftovers from stubgen (#13828) 2025-04-15 13:52:05 +02:00
Semyon Moroz fd155cb31b Improve docker.utils (#13808) 2025-04-15 13:31:53 +02:00
Semyon Moroz b0238c58a2 Improve flake8-bugbear (#13829) 2025-04-15 11:59:05 +02:00
Semyon Moroz f65bdc1acd Deprecate ssl methods for NPN (#13823) 2025-04-14 12:44:17 +02:00
Sebastian Rittau de317e1c74 Simplify and fix urllib.parse.urlencode() (#13815)
Remove overloads and type vars. Introduce a protocol for the
`quote_via` argument. This means that the interface accepted by the
supplied `quote_via` is stricter, and is not dependent on the actual
supplied types in the `query` argument, but must work with all
possible query types.
2025-04-14 11:11:06 +02:00
Semyon Moroz 3941e06bfc Annotate markdown.util.get_installed_extensions (#13822) 2025-04-14 11:04:59 +02:00
Semyon Moroz 70dab5333a Complete flake8-builtins (#13824) 2025-04-14 11:00:45 +02:00
Semyon Moroz 6d0402cb03 Mark Flask-Cors as complete (#13820) 2025-04-13 01:06:02 +03:00
Semyon Moroz f6216ec623 Bump auth0-python to 4.9.* (#13803) 2025-04-12 13:48:13 -04:00
Justine Krejcha 648ed7bc4e jwcrypto: type most of the rest of JWT and JWKSet.generate function (#13807) 2025-04-12 19:27:16 +02:00
Avasam a045be8ed6 Import names from typing directly rather than importing module (#13761) 2025-04-12 19:10:09 +02:00
Mikaël Capelle 7ffb7e0832 Fix typing of Pickler.persistent_id and Unpickler.persistent_load for Python < 3.13. (#13818) 2025-04-12 19:09:31 +02:00
github-actions[bot] 76cd40e083 [stubsabot] Bump Markdown to 3.8.* (#13819)
Release: https://pypi.org/pypi/Markdown/3.8
Homepage: https://Python-Markdown.github.io/
Repository: https://github.com/Python-Markdown/markdown
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/Markdown
Changelog: https://python-markdown.github.io/changelog/
Diff: https://github.com/Python-Markdown/markdown/compare/3.7...3.8

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 12 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 730.
 - Total lines of Python code deleted: 103.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2025-04-11 22:36:36 -07:00
Semyon Moroz e3002c6f0d Complete stubs for click-web (#13806) 2025-04-11 14:54:34 +02:00
Edward Peek bb1cbfab59 Fix incorrect keyword-only arguments in tarfile.open() (#13814) 2025-04-11 11:48:34 +02:00
renovate[bot] 39cfcdeca3 Update dependency pyright to v1.1.399 (#13813) 2025-04-11 02:44:40 +02:00
Sebastian Rittau 4a89c1b44c Update croniter to 6.0.0 (#13548)
Make class `croniter` generic over `ret_type` and tighten return types for some methods.
2025-04-11 02:10:49 +02:00
Brian Schubert c7b8fe9f06 Fix stdlib stubtest for latest Python patch releases (#13812) 2025-04-10 14:19:45 -07:00
pre-commit-ci[bot] 87f599dc83 [pre-commit.ci] pre-commit autoupdate (#13805)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.2...v0.11.4)

* Update requirements-tests.txt

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-04-07 22:05:06 +01:00
Semyon Moroz e26a15f983 Improve Authlib (#13801) 2025-04-07 14:34:05 +02:00
Semyon Moroz 5e3e056421 Improve passlib.utils (#13798) 2025-04-07 14:21:51 +02:00
Joren Hammudoglu 6b8aebcc9c _type_ class attributes in ctypes, and fix ctypes.wintypes.BYTE (#13777) 2025-04-07 14:16:11 +02:00
Joren Hammudoglu 2ae5ed8b62 Make the type-parameter of ctypes.py_object optional (#13760) 2025-04-07 14:03:17 +02:00
Semyon Moroz a69621f655 Improve oauthlib.oauth2.rfc6749 (#13793) 2025-04-07 14:02:09 +02:00
Semyon Moroz 1552ada465 Improve oauthlib (#13794) 2025-04-07 14:01:30 +02:00
Semyon Moroz 9f3310fdf5 Improve dateparser (#13796) 2025-04-07 14:00:39 +02:00
Avasam 09416d0750 Use GitIgnoreSpec in ts_utils.get_gitignore_spec (#13797) 2025-04-07 13:58:57 +02:00
Semyon Moroz 2b7019b933 Mark internal stuff in allowlist for assertpy (#13802)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2025-04-06 10:10:19 -07:00
Sebastian Rittau 1c17cd429c renovate: Try disabling Python updates (try #3) (#13790) 2025-04-03 19:40:51 +02:00
Sebastian Rittau 0c59eb8bbb Try to disable Python in github-actions (#13789) 2025-04-03 19:14:05 +02:00
Alex Waygood 30c4307ce6 remove outdated comment from types.pyi (#13788) 2025-04-03 12:12:12 +01:00
Alex Waygood d92a6449c2 Remove more Python 3.8 cruft (#13787) 2025-04-03 11:56:38 +01:00
Sebastian Rittau 1edf4e819a Migrate renovate config (#13784) 2025-04-03 11:23:19 +01:00
Sebastian Rittau 30b16c168d Drop Python 3.8 branches (#13776) 2025-04-03 10:35:36 +02:00
Avasam 1e43190554 Exact return types instead of shutil._PathReturn (#13767) 2025-04-03 10:22:53 +02:00
github-actions[bot] 1d86d18e57 [stubsabot] Bump zstd to 1.5.6.7 (#13780)
Release: https://pypi.org/pypi/zstd/1.5.6.7
Homepage: https://github.com/sergey-dryabzhinsky/python-zstd
Repository: https://github.com/sergey-dryabzhinsky/python-zstd
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/zstd
Diff: https://github.com/sergey-dryabzhinsky/python-zstd/compare/v1.5.6.6...v1.5.6.7

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 4.
 - Total lines of Python code deleted: 3.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2025-04-03 07:56:09 +02:00
github-actions[bot] d57b602533 [stubsabot] Bump qrcode to 8.1.* (#13779) 2025-04-03 07:52:12 +02:00
Avasam 4b253d2932 Enable Ruff flake8-todos (TD) (#13748) 2025-04-03 07:43:54 +02:00
David Gilman bd0f64a3cc [auth0-python] Add auth0-python stubs (#13716) 2025-04-03 07:41:39 +02:00