Alex Waygood
c50a708818
Update poplib and smtplib for py312 ( #10685 )
2023-09-08 18:42:03 +01:00
Nikita Sobolev
53144ca572
Update importlib.metadata to 3.12 ( #10665 )
2023-09-08 12:42:56 +01:00
Alex Waygood
6eec191739
Improve the accuracy of (default)dict.__(r)or__ ( #10679 )
2023-09-08 11:22:17 +01:00
Alex Waygood
aa39b996e9
Pin tree-sitter to 0.20.1 ( #10677 )
2023-09-07 11:23:43 +01:00
Shantanu
4df9634427
Remove pathlib.PurePath.__eq__ ( #10662 )
...
Fixes #10661
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-07 00:40:24 -07:00
github-actions[bot]
06d83d48e7
[stubsabot] Bump setuptools to 68.2.* ( #10674 )
...
Release: https://pypi.org/pypi/setuptools/68.2.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.1.2...v68.2.0
Stubsabot analysis of the diff between the two releases:
- 1 public Python file has been added: `setuptools/tests/test_core_metadata.py`.
- 0 files included in typeshed's stubs have been deleted.
- 7 files included in typeshed's stubs have been modified or renamed: `setuptools/__init__.py`, `setuptools/command/editable_wheel.py`, `setuptools/command/egg_info.py`, `setuptools/depends.py`, `setuptools/dist.py`, `setuptools/monkey.py`, `setuptools/namespaces.py`.
- Total lines of Python code added: 1051.
- Total lines of Python code deleted: 682.
2023-09-07 02:36:30 +01:00
Alex Waygood
35a9ed40da
Delete unused allowlist entries ( #10676 )
...
3.12.0rc2 was just released
2023-09-07 02:30:54 +01:00
Alex Waygood
fecb84eb05
Update asyncio.tasks for py312 ( #10669 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2023-09-06 12:35:48 +01:00
Shantanu
a3f4418e90
Fix stubsabot handling of post releases ( #10667 )
...
Fixes #10666
2023-09-06 12:06:07 +02:00
mobyw
fed788f2eb
[Pillow] Fix typing of FreeTypeFont.getlength ( #10663 )
2023-09-05 14:02:14 +02:00
Alex Waygood
af97a12a87
Add a lint forbidding PEP-570 syntax ( #10660 )
2023-09-04 15:37:50 -07:00
Alex Waygood
433204fb8f
py312: Fix stubtest nits in typing/typing_extensions ( #10659 )
2023-09-04 15:39:11 +01:00
Nikita Sobolev
d868dad76b
Update importlib.metadata to 3.12 ( #10654 )
2023-09-03 09:47:19 +01:00
Nikita Sobolev
d13d9859f6
Update zipfile to 3.12 ( #10647 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-02 16:01:41 +01:00
Nikita Sobolev
f0ba5ba2a2
Update unittest.mock to 3.12 ( #10650 )
...
And harmonise some annotations between the stdlib `unittest.mock` module and the third-party `mock` backport package.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-02 15:03:39 +01:00
Nikita Sobolev
454438e4db
Update importlib.resources to 3.12 ( #10649 )
2023-09-02 00:03:08 -07:00
Jun Komoda
4009efa349
_CField as a generic descriptor protocol (#10595 )
2023-09-01 16:23:33 +02:00
Nikita Sobolev
e04c440571
Update pathlib to 3.12 ( #10646 )
2023-09-01 14:53:58 +02:00
David Salvisberg
9552ec7f72
Add stubs for libsass ( #10638 )
2023-09-01 13:53:05 +02:00
Alex Waygood
75da5de5c2
Many importlib removals in py312 ( #10644 )
2023-09-01 13:43:36 +02:00
Edgar Handal
374317a242
sqlite3: add Connection arg to cursorClass ( #10645 )
2023-09-01 13:40:50 +02:00
Nikita Sobolev
f28cb8b856
Update os.DirEntry to 3.12 ( #10643 )
2023-08-31 14:29:21 +01:00
Nikita Sobolev
8a2019aa7f
Add isjunction and splitroot functions ( #10642 )
2023-08-31 13:14:22 +01:00
Alex Waygood
a4f08bd07f
setuptools: add various missing objects and annotations ( #10639 )
2023-08-30 13:46:20 -07:00
Alex Waygood
4ae6d38f96
Use latest Python for stubtest in CI ( #10641 )
2023-08-30 18:50:11 +02:00
Akuli
a785041250
create_baseline_stubs.py: Improve pyright config file editing ( #10629 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-30 17:43:46 +03:00
Nikita Sobolev
6c2c164de2
unittest: py312 updates for load_tests and loadTestsFromModule (#10640 )
2023-08-30 12:27:40 +01:00
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