Commit Graph

8219 Commits

Author SHA1 Message Date
Nikita Sobolev
c9583d9f14 Add durations to unittest in 3.12 (#10636) 2023-08-30 11:35:25 +01:00
Nikita Sobolev
8888ac0d6d Update configparser to 3.12 (#10635) 2023-08-30 11:07:50 +02:00
Nikita Sobolev
47d29e1d69 Bump pyright version (#10637)
Release https://github.com/microsoft/pyright/releases/tag/1.1.325
2023-08-30 08:57:05 +01:00
Nikita Sobolev
95974369af Update gzip for py312 (#10634) 2023-08-30 08:29:53 +01:00
Alex Waygood
7e34ca5b71 runtests.py: note that stdlib stubtest might fail (#10628) 2023-08-30 08:48:44 +02:00
github-actions[bot]
8e8b1ecf55 [stubsabot] Bump braintree to 4.22.* (#10631)
Release: https://pypi.org/pypi/braintree/4.22.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
Repository: https://github.com/braintree/braintree_python
Diff: https://github.com/braintree/braintree_python/compare/4.21.0...4.22.0
2023-08-29 19:07:15 -07:00
Shantanu
2e407d370b pika: fix ci (#10633) 2023-08-29 18:54:23 -07:00
Alex Waygood
0692576dab create_baseline_stubs.py: ensure generated METADATA.toml files end with a newline (#10627) 2023-08-29 16:37:28 +02:00
Kyle Altendorf
28d3ce2951 asyncio.wait() no longer allows awaitables in 3.11 (#10626)
https://docs.python.org/3.10/library/asyncio-task.html#asyncio.wait
> Run awaitable objects in the aws iterable concurrently and block until the condition specified by `return_when`.

https://docs.python.org/3.11/library/asyncio-task.html#asyncio.wait
> Run Future and Task instances in the aws iterable concurrently and block until the condition specified by `return_when`.
2023-08-29 10:56:44 +01:00
github-actions[bot]
126205d915 [stubsabot] Bump singledispatch to 4.1.* (#10624)
Release: https://pypi.org/pypi/singledispatch/4.1.0
Homepage: https://github.com/jaraco/singledispatch
Repository: https://github.com/jaraco/singledispatch
Diff: https://github.com/jaraco/singledispatch/compare/v4.0.0...v4.1.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 174.
 - Total lines of Python code deleted: 434.
2023-08-29 10:43:07 +01:00
Joseph Courtney
2cd8f26e66 Add _loop, _tasks, and _on_task_done to the stub for asyncio.TaskGroup (#10612) 2023-08-28 16:02:40 +01:00
Nikita Sobolev
03e65e1f1a Update genericpath to 3.12 (#10623) 2023-08-28 11:19:09 +02:00
Nikita Sobolev
2c1db00761 Consistently use Generic as the last base class (#10610) 2023-08-28 10:16:54 +02:00
Nikita Sobolev
3b9ab5e9b1 Update ibm-db to 3.2.* (#10622) 2023-08-27 21:24:22 +01:00
github-actions[bot]
94ddcf87da [stubsabot] Mark pluggy as obsolete since 1.3.0 (#10618)
Release: https://pypi.org/pypi/pluggy/1.3.0
Homepage: https://github.com/pytest-dev/pluggy
Repository: https://github.com/pytest-dev/pluggy
Diff: https://github.com/pytest-dev/pluggy/compare/1.2.0...1.3.0

Co-authored-by: stubsabot <>
2023-08-27 09:15:28 +01:00
Shantanu
23679a0cb8 stubsabot: avoid validating diff info url (#10620)
It looks like all the timeouts are happening in the get_diff_info code.
I don't think we really need to validate the URL exists. In any case, we
probably end up hitting a very similar endpoint later in analyze_diff.
2023-08-26 19:34:57 -07:00
Dave Halter
40c639fcb0 The name param in asyncio.Task.__init__ is optional (#10615) 2023-08-25 13:42:53 -07:00
treasuryspring
ef63aec06b Add stubs for workalendar (#10614)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2023-08-25 22:55:02 +03:00
Alex Waygood
a094aa09c2 Minor improvements to stubtest_third_party.py (#10605)
(1) Give a nicer error message if you try to run stubtest on non-existent stubs.
(2) Print the Python version to the terminal if there's an error, as well as the output of pip freeze.
2023-08-22 19:57:14 +01:00
Mehdi ABAAKOUK
32b750b6aa redis: Improve typing of xadd/xdel (#10531)
typing copied from
https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xadd
https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xdel
2023-08-22 13:28:15 +01:00
Andrés Ignacio Torres
2c15a8e790 Add usersettings stub files (#10598) 2023-08-21 21:27:48 +02:00
Sebastian Rittau
114949b5ad Note that Python 3.7 support is limited (#10601) 2023-08-21 13:39:45 +01:00
Sebastian Rittau
cfc671f6bd Use Python 3.8 in runtests.py (#10600)
We only support running mypy using 3.8+ up, since mypy 1.5 dropped
support for running with Python 3.7.

Closes: #10599
2023-08-21 11:30:13 +02:00
Alex Waygood
6a8d653a67 Deduplicate stdlib stubtest allowlist entries (#10594) 2023-08-16 16:11:59 -07:00
Alex Waygood
ef758b66c0 Bump mypy to 1.5.1 (#10559) 2023-08-16 12:18:31 -07:00
Sebastian Rittau
695d41f487 Bump aiofiles to 23.2.* (#10584) 2023-08-16 12:05:42 +01:00
Sebastian Rittau
ca157cc3c1 Bump influxdb-client to 1.37.* (#10585)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-16 12:03:11 +01:00
CoolCat467
607cee5914 SSL wrap_socket and wrap_bio accept bytes as well (#10590) 2023-08-16 11:23:24 +01:00
Sebastian Rittau
31ae7b13c7 Add _typeshed.sentinel (#10582) 2023-08-16 11:31:05 +02:00
Nikita Sobolev
daf51f057b Bump pyright version (#10591)
Release: https://github.com/microsoft/pyright/releases/tag/1.1.323

Fix types-pika to work with the latest pyright version.

---------

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-16 10:18:41 +01:00
Mateusz Bysiek
7a7dba5e7a Docutils frontend fix (#10569) 2023-08-16 09:35:53 +02:00
github-actions[bot]
2ec7b8dae4 [stubsabot] Mark redis as obsolete since 5.0.0 (#10587) 2023-08-16 09:34:55 +02:00
gotyaoi
1afae4e7f0 Changes waitid to return waitid_result | None (#10589)
Fixes #10564
2023-08-16 08:27:20 +01:00
github-actions[bot]
8ca41166c0 [stubsabot] Bump setuptools to 68.1.* (#10588)
Release: https://pypi.org/pypi/setuptools/68.1.0
Homepage: https://github.com/pypa/setuptools
Repository: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v68.0.0...v68.1.0

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.
 - 42 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 3401.
 - Total lines of Python code deleted: 2264.
2023-08-16 01:22:21 +01:00
Avasam
54193d5ddd openpyxl: Class attributes set explicitly as another class' (#10549) 2023-08-15 13:42:58 +02:00
Avasam
6c7be1e066 openpyxl: Make common alias for visibility literal string union (#10562) 2023-08-15 13:33:55 +02:00
Avasam
af36a157e5 Complete openpyxl title type annotations (#10563) 2023-08-15 13:17:27 +02:00
Sebastian Rittau
da946f36da Bump pytype to 2023.8.14 (#10581) 2023-08-15 11:39:37 +01:00
Shantanu
2178405289 Update peewee for 3.16.3 (#10580) 2023-08-15 01:44:38 +01:00
Alex Waygood
74aac1aa89 Don't pretend EnumMeta inherits from ABCMeta (#10577) 2023-08-14 21:59:53 +01:00
Avasam
320a9c37c7 Make openpyxl stubtest-complete (#10570) 2023-08-14 18:24:40 +02:00
Avasam
d82a8325fa pywin32: Fix PyNETRESOURCE descriptor members wrongly marked as readonly (#10574) 2023-08-13 23:36:45 +01:00
Avasam
3a376e7eaa Configure Ruff for VSCode (#10572) 2023-08-13 22:31:36 +01:00
Avasam
22b055a147 Fill in all missing upstream_repository fields (#10571)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-13 22:03:33 +01:00
Alex Waygood
df08fcec5f Improve __(r)or__ signatures for TypedDict classes (#10565) 2023-08-12 18:27:35 +01:00
Alex Waygood
7836c47286 Fix stubtest for tqdm (#10560) 2023-08-11 12:52:01 +01:00
Nikita Sobolev
1ad381d713 Update sre_parse to 3.12 (#10556) 2023-08-10 12:48:12 +01:00
Nikita Sobolev
19ed22ea60 Update turtle to 3.12 (#10548) 2023-08-10 11:44:14 +01:00
github-actions[bot]
9647d964d0 [stubsabot] Bump tqdm to 4.66.* (#10552)
Release: https://pypi.org/pypi/tqdm/4.66.0
Repository: https://github.com/tqdm/tqdm
Diff: https://github.com/tqdm/tqdm/compare/v4.65.2...v4.66.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/tests_utils.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 6 files included in typeshed's stubs have been modified or renamed: `tqdm/cli.py`, `tqdm/contrib/discord.py`, `tqdm/contrib/slack.py`, `tqdm/contrib/telegram.py`, `tqdm/std.py`, `tqdm/utils.py`.
 - Total lines of Python code added: 274.
 - Total lines of Python code deleted: 182.

Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-10 01:46:03 +01:00
github-actions[bot]
b28e166c19 [stubsabot] Bump regex to 2023.8.8 (#10553)
Release: https://pypi.org/pypi/regex/2023.8.8
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.6.3...2023.8.8

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 15.
 - Total lines of Python code deleted: 10.
2023-08-10 01:32:17 +01:00