Commit Graph

9607 Commits

Author SHA1 Message Date
Dima Tisnek
c47650323e fix: correct headers= kwarg in HTTP[S]Connection (#12704) 2024-10-01 08:59:46 +02:00
Sebastian Rittau
91a58b07cd Amend third-party removal policy (#12710)
Upstream annotations should have a similar standard as typeshed's.
2024-09-30 22:04:29 +02:00
Sebastian Rittau
3b385903a1 Pass Requirement objects around (#12709)
This allows us to keep metadata like python_version and platform_system
and use it to conditionally install packages.
2024-09-30 17:45:58 +02:00
Semyon Pupkov
06b50fcc27 Fix yeardatescalendar, yeardays2calendar, yeardayscalendar return types (#12703) 2024-09-30 13:47:49 +02:00
Sebastian Rittau
7ce17a95f6 Document to stubtest_requirements field in the proper place. (#12707) 2024-09-30 13:46:48 +02:00
Victorien
db265afec5 Use Mapping for local Python namespace parameters (#12705) 2024-09-30 11:26:41 +02:00
David Salvisberg
6990bb64a9 Bump reportlab to 4.2.4 (#12701) 2024-09-29 13:35:05 +02:00
renovate[bot]
119cd09655 Update dependency pyright to v1.1.382.post1 (#12699)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 17:34:39 -07:00
Jinzhe Zeng
d828a5ef92 paramiko: add ProxyCommand to _SocketLike (#12697) 2024-09-27 22:36:10 +02:00
Matthias Schoettle
283ff95ea0 [fpdf2] fix link type to support internal links (#12695) 2024-09-26 20:56:54 +02:00
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