Commit Graph

9597 Commits

Author SHA1 Message Date
renovate[bot]
5a89c481dc Update dependency pyright to v1.1.382.post0 (#12692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 20:33:59 +02:00
github-actions[bot]
a94c927642 [stubsabot] Bump braintree to 4.30.* (#12681)
Release: https://pypi.org/pypi/braintree/4.30.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
Repository: https://github.com/braintree/braintree_python
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/braintree
Diff: https://github.com/braintree/braintree_python/compare/4.29.0...4.30.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.
 - 4 files included in typeshed's stubs have been modified or renamed: `braintree/error_codes.py`, `braintree/transaction.py`, `braintree/version.py`, `braintree/webhook_testing_gateway.py`.
 - Total lines of Python code added: 317.
 - Total lines of Python code deleted: 278.
2024-09-24 23:08:38 -07:00
Akuli
13a74a5211 Update tkinter.Text.count() for Python 3.13 (Akuli's version) (#12629) 2024-09-24 23:08:11 -07:00
kasium
6cddd30ff2 Add basic jwcrypto stubs (#12687) 2024-09-24 10:30:58 +02:00
Alex Waygood
9f033bf439 Fixup some pyright CI configuration details (#12690) 2024-09-23 13:07:57 -07:00
github-actions[bot]
bfaa3d2d5a [stubsabot] Bump hdbcli to 2.22.* (#12676)
Co-authored-by: stubsabot <>
2024-09-23 12:15:59 -07:00
github-actions[bot]
4fc5d158ff [stubsabot] Bump greenlet to 3.1.* (#12636)
Co-authored-by: stubsabot <>
2024-09-23 12:15:48 -07:00
Avasam
f0e16b8743 Add --threads argument to pyright cli (#12688) 2024-09-23 19:19:28 +02:00
Avasam
bb981771ed Bump protobuf to 5.28.* (#12689) 2024-09-23 19:14:28 +02:00
Martin Huschenbett
46512118ea Return coroutine from AsyncGenerator.__anext__ (#12685)
The `__anext__` method of an asynchronous generator defined using the
`async def`/`yield` syntax returns an actual coroutine not just any
awaitable. Let the definition of the `AsyncGenerator` protocol reflect
this circumstance.

See https://discuss.python.org/t/types-for-asynchronous-generators-too-general/64515
for the motivation behind this change.
2024-09-23 11:34:56 +02:00
Martijn Pieters
bde71c575f Complete coverage for the qrcode package (#12675) 2024-09-20 15:36:25 +02:00
kasium
f1bf1c01fe Add stubs for python-jenkins (#12582)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-09-19 20:12:09 -07:00
Avasam
c025e37bbb Rewrote protobuf generation scripts in Python (#12527) 2024-09-19 08:11:21 +02:00
renovate[bot]
0689736dce Update dependency pyright to v1.1.381 (#12678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 21:12:36 -04:00
João Henrique
0610a79fdb fix: fpdf2: Allow "BI" for _FontStyle in fpdf.pyi (#12677) 2024-09-18 18:02:29 +02:00
Kanishk Pachauri
eb7df6d118 fix: weight parameter type for networkx.algorithms.shortest_paths (#12663) 2024-09-17 21:37:51 +02:00
Alexander Zinov
0015ce8855 openpyxl: fix Worksheet.values annotation (#12674) 2024-09-17 17:14:06 +02:00
sobolevn
d3070c5845 Bump xdgenvpy to 3.0.* (#12671) 2024-09-17 13:19:28 +02:00
sobolevn
0a0ba2f4d0 Bump paramiko to 3.5.* (#12672) 2024-09-17 13:17:06 +02:00
Avasam
d34ef50754 Optional pytype install on Windows (no CI) (#12669) 2024-09-17 10:58:31 +02:00
github-actions[bot]
3266319a76 [stubsabot] Bump setuptools to 75.1.* (#12670)
Co-authored-by: stubsabot <>
2024-09-16 21:59:15 -04:00
Max Muoto
85121de466 Update importlib resources for 3.13 (#12298) 2024-09-16 20:21:35 +02:00
Sebastian Rittau
94889897ca [setuptools] Bump to 75.0.* (#12668)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-09-16 19:17:52 +02:00
RedContritio
2e9a61f834 Add lupa stubs (#12650) 2024-09-16 09:13:27 +02:00
stevenlele
2ccd254b81 PyYAML: correct return type of construct_scalar() (#12664) 2024-09-16 09:02:54 +02:00
Max Muoto
dbe4d32a2a Add fchmod and lchmod for Windows on 3.13 (#12662) 2024-09-15 22:13:09 +02:00
github-actions[bot]
9e506eb5e8 [stubsabot] Mark influxdb-client as obsolete since 1.46.0 (#12655) 2024-09-14 12:02:15 +02:00
Max Muoto
29c8026910 Add missing winapi functions for 3.13 (#12658) 2024-09-14 12:01:42 +02:00
Max Muoto
f190a1f213 Remove ParamSpec for SupportsReplace (#12410) 2024-09-14 11:42:30 +02:00
Max Muoto
eaeb56ffcf Add missing winapi constants for 3.13 (#12657) 2024-09-14 11:39:22 +02:00
Max Muoto
9e787769c6 Remove _msi in 3.13 (#12659) 2024-09-14 11:20:49 +02:00
Max Muoto
53d4877071 Move __replace__ issues out of triage (#12656) 2024-09-13 22:39:34 -07:00
Max Muoto
df30049ac7 Correct requests cookies argument (#12654) 2024-09-13 18:09:05 +02:00
Jan Kühle
99f6238b91 Update pytype to 2024.09.13 and Python 3.12 (#12653) 2024-09-13 14:01:46 +02:00
Jan Kühle
d326c9bd42 Filter pytype tests by stdlib/VERSIONS file (#12649)
Filter the files to run pytype tests on by stdlib/VERSIONS file. This
becomes important for Python 3.12, where e.g. checking asynchat.pyi
requires asyncore.pyi, both of which have been removed in 3.12.
2024-09-12 18:40:19 +02:00
Sebastian Rittau
bc6b3b2aba [python-datemath] Pin and mark as obsolete (#12645)
Closes: #12640
2024-09-12 07:25:11 -07:00
Sebastian Rittau
97ce200343 [pyasn1] Remove items removed from 0.6.1 (#12646) 2024-09-12 05:11:59 -04:00
Sebastian Rittau
a29d6710a5 Move platform-specific allowlist entries (#12644) 2024-09-12 11:04:07 +02:00
github-actions[bot]
6c703a3dfd [stubsabot] Bump pytz to 2024.2 (#12639) 2024-09-12 08:46:22 +02:00
github-actions[bot]
6259b61658 [stubsabot] Bump regex to 2024.9.11 (#12641)
Release: https://pypi.org/pypi/regex/2024.9.11
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.7.24...2024.9.11

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 7.
 - 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 <>
2024-09-11 20:47:52 -04:00
Sebastian Rittau
c7c430857e stdlib updates for latest Python patch releases (#12638) 2024-09-11 17:58:24 +02:00
Skye Im
9d6fc1dafd mysqlclient: Annotate Connect() return type (#12633) 2024-09-10 14:21:13 +02:00
Alberto Jiménez López
65170f4a2e Add stubs for python-http-client (#12626) 2024-09-09 05:08:38 +02:00
Max Muoto
089953ed84 Fix doctest for 3.13 (#12625) 2024-09-08 12:38:13 +02:00
Adam Dangoor
61ed105cdb Mark _TemporaryFileWrapper argument as positional-only (#12624)
The following code errors at runtime:

```python
import tempfile

with tempfile.NamedTemporaryFile() as f:
	f.write(s=b"")
```

```
TypeError: BufferedRandom.write() takes no keyword arguments
```
2024-09-07 02:33:02 -07:00
Clément Pit-Claudel
e8e9291c76 Fix type of transform argument of docutils.nodes.pending.__init__ (#12459) 2024-09-07 00:30:02 +02:00
Peter Bierma
fb4a92d12b Add stubs for objgraph (#12608)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-09-06 15:27:00 -07:00
danieleades
b48d6f5f74 add type stubs for 'docutils.parsers.rst.directives.references' (#12442) 2024-09-06 15:09:33 -07:00
Avasam
0784bf6bee distutils: add missing generated attributes (#12467) 2024-09-06 15:07:44 -07:00
Niklas Rosenstein
7a2807af4e Fix networkx DiDegreeView.__call__() can return int (#12472)
Fix networkx `DiDegreeView.__call__()`

`DiDegreeView.__call__()` can return an integer if a single node is specified, as is also documented in the docstrings of the method:

89718e0514/networkx/classes/digraph.py (L1198-L1199)

Implementation:

89718e0514/networkx/classes/reportviews.py (L436-L437)
2024-09-06 15:07:25 -07:00