Sebastian Rittau
848cf9103d
Remove Pillow stubs ( #12732 )
2024-10-03 11:33:09 +02:00
Sebastian Rittau
975760281c
tarfile.open(): Handle all modes (#12181 )
2024-10-02 20:35:56 -07:00
Sebastian Rittau
26b3c69ee4
Add option to keep tmp dir to stubtest script ( #12151 )
2024-10-02 19:48:52 -07:00
Sebastian Rittau
8acc85dbab
dateutil: Enable failing test ( #11612 )
2024-10-02 16:39:30 -07:00
Sebastian Rittau
2bf4edd901
[icalendar] Update to 6.0.0 ( #12706 )
2024-10-02 16:49:26 +02:00
Sebastian Rittau
e4c84dfb11
Make email.policy classes generic ( #12724 )
2024-10-02 16:42:07 +02:00
Sebastian Rittau
f266dc226a
Change RawIOBase return types from None to MaybeNone ( #12686 )
2024-10-02 07:11:23 -07:00
Sebastian Rittau
6ba6589144
Support environment markers in requires fields ( #12711 )
2024-10-02 10:14:33 +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
Sebastian Rittau
7ce17a95f6
Document to stubtest_requirements field in the proper place. ( #12707 )
2024-09-30 13:46:48 +02:00
Sebastian Rittau and Avasam
94889897ca
[setuptools] Bump to 75.0.* ( #12668 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-09-16 19:17:52 +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
Sebastian Rittau
c7c430857e
stdlib updates for latest Python patch releases ( #12638 )
2024-09-11 17:58:24 +02:00
Sebastian Rittau
cc45a6e9ba
Move BufferedIOBase.raw to sub-classes ( #12571 )
2024-09-06 15:03:08 -07:00
Sebastian Rittau
a8f09b1d5c
[influxdb-client] Use SupportsContainsAndGetItem ( #12612 )
2024-09-06 14:35:41 -07:00
346fef2137
[setuptools] Update to 74.1.* ( #12614 )
...
---------
Co-authored-by: Avasam <samuel.06@hotmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-05 10:45:52 -04:00
Sebastian Rittau
6441408aaa
Use TypedDict for return type of localeconv() ( #12600 )
...
Mark constants as Final in _locale.pyi
2024-09-05 02:13:41 +02:00
039c6bcdb1
Use Self for email.message attachments ( #12530 )
...
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-08-29 10:48:32 -04:00
Sebastian Rittau
7c1378cc25
Document policy for future Python versions ( #12592 )
...
Closes : #12569
2024-08-25 18:24:08 +02:00
Sebastian Rittau
24abaf0e86
pyserial: Replace IO classes with protocols ( #12572 )
2024-08-25 17:06:43 +02:00
Sebastian Rittau
073b270e55
Update issues numbers for builtins.function ( #12580 )
2024-08-22 19:20:28 +02:00
Sebastian Rittau
7865a78de1
socketserver: Use BufferedIOBase instead of BinaryIO ( #12568 )
2024-08-21 19:25:06 -07:00
Sebastian Rittau
7f38b116a0
Remove redundant overloads from IO ( #12570 )
2024-08-21 15:55:22 +02:00
b19d9670f9
Bump setuptools to 72.2.* ( #12461 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-20 14:30:08 -04:00
Sebastian Rittau
eca1df49f3
Remove flake8-2020 ( #12548 )
2024-08-18 12:30:27 +02:00
Sebastian Rittau
5403e4aaeb
Ignore incompatible changes introduced in Python 3.12.5 ( #12531 )
2024-08-15 22:31:58 +02:00
Sebastian Rittau
92cc568325
[PyYAML] stubtest: Ignore auto-generated methods ( #12497 )
2024-08-07 11:28:37 +02:00
Sebastian Rittau
a21c4bc4f1
Pin croniter to 3.0.0 ( #12434 )
2024-07-26 15:56:06 +02:00
Sebastian Rittau
9eae1ae1a5
Require documenting Any uses ( #12430 )
2024-07-25 17:38:12 +02:00
Sebastian Rittau
8fb8a4a489
Mark redis as obsolete ( #12426 )
2024-07-25 15:12:11 +02:00
Sebastian Rittau
ddb9163e7d
Update pyright to 1.1.372 ( #12427 )
2024-07-25 14:32:11 +02:00
Sebastian Rittau
6552aa3d2c
Bump pyright to 1.1.372 ( #12361 )
2024-07-18 03:08:53 -07:00
Sebastian Rittau
cc40120ee5
mypy_test: Exclude sub-modules not in current Py version ( #12352 )
2024-07-16 16:04:54 +02:00
Sebastian Rittau
f0afb04395
Extract VERSIONS parsing to _utils.py ( #12351 )
2024-07-16 12:51:15 +02:00
Sebastian Rittau
eb0422195e
[jsonschema] Update to 4.23.* ( #12301 )
2024-07-11 17:02:11 -07:00
Sebastian Rittau
311612ed38
[stubsabot] Improve error message ( #12273 )
...
Cf. #12272
2024-07-04 10:01:57 +01:00
Sebastian Rittau
2110c699d6
[CI] Only create issue if daily script was run by cron ( #12218 )
2024-06-26 11:22:11 +02:00
Sebastian Rittau
fa73f9ff4a
[tensorflow] Pin keras to 3.3.* ( #12221 )
2024-06-26 11:03:32 +02:00
Sebastian Rittau
68408b3528
[CI] Suppress spurious brew warning ( #12219 )
2024-06-26 02:01:47 -07:00
Sebastian Rittau
d683ddb3ed
Pin reportlab to version 4.2.0 ( #12220 )
...
Part of #12213
2024-06-26 02:00:00 -07:00
Sebastian Rittau
b13bb947c3
[aiofiles] Update to 24.1 ( #12207 )
2024-06-25 16:51:01 -07:00
Sebastian Rittau
fb4bfc8674
[influxdb] Update to 1.44 ( #12209 )
2024-06-25 16:48:30 -07:00
Sebastian Rittau
271df8ef04
Remove obsolete mypy bug workaround in abspath() ( #12208 )
2024-06-25 14:01:21 +02:00
Sebastian Rittau
eff4ca189c
[setuptools] Update to 71.1.* ( #12176 )
2024-06-24 18:38:59 -04:00
Sebastian Rittau
95faa1ae24
Add tests to functools.wraps ( #12173 )
...
These tests demonstrate the issue described in #10653 .
2024-06-22 07:17:09 -07:00
Sebastian Rittau
704fa5d1de
[openpyxl] Update to 3.1.4 ( #12142 )
...
Also make sequence types generic
2024-06-20 11:29:14 +02:00
Sebastian Rittau
dc504f5175
Deprecate logging.getLevelName(str) ( #12093 )
...
See https://docs.python.org/3/library/logging.html#logging.getLevelName
2024-06-20 00:43:46 -07:00
Sebastian Rittau
5c65b12591
[openpyxl] Fix key of Worksheet.row_dimensions ( #12143 )
...
Closes : #11845
2024-06-20 00:23:38 -07:00
Sebastian Rittau
fdce887b94
Add missing struct_spwd fields ( #12158 )
2024-06-18 06:59:43 -07:00
Sebastian Rittau
c303b3221e
plock is not available on linux ( #12161 )
2024-06-18 06:41:55 -07:00
Sebastian Rittau
e29579458d
Document select.epoll.register allowlist entries ( #12159 )
2024-06-18 12:16:52 +02:00
Sebastian Rittau
21365a37f4
Document the availability of the os.CLONE_ constants ( #12160 )
2024-06-18 12:16:12 +02:00
Sebastian Rittau
212af7a526
Pin various stubs to numpy to < 2 ( #12152 )
...
Fixes #12146
2024-06-17 15:50:22 +02:00
Sebastian Rittau
fcbb142dd6
[requests] Update to 2.32.3 ( #12060 )
2024-05-31 21:00:43 -07:00
Sebastian Rittau and Jelle Zijlstra
f3ca3001ee
Update PyMySQL to 1.1.1 ( #12001 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-05-23 13:14:43 -04:00
Sebastian Rittau
425c69a6b9
Prefix utility modules with underscore ( #11999 )
2024-05-22 09:35:11 -04:00
Sebastian Rittau
f9664a4325
[requests] Update to 2.32.2 ( #12000 )
...
Also replace some `Any` annotations with `Incomplete` and use `Final` in `requests.__version__`.
2024-05-22 06:16:42 -07:00
Sebastian Rittau
d479e0f24a
Unify stubtest allowlist handling more ( #11986 )
...
This makes it trivial to consistently extend supported allowlists in the future.
2024-05-21 08:25:32 +02:00
Sebastian Rittau
0a95341735
Marked the std streams as possibly be None ( #11826 )
2024-05-21 08:22:29 +02:00
Sebastian Rittau
e2e3750ee9
Move stdlib allowlists to stdlib/@tests ( #11982 )
...
Rename py3_common.txt to common.txt
2024-05-20 13:23:02 +02:00
916e05ae33
Unify allowlist handling ( #11889 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com >
2024-05-18 08:01:43 -04:00
Sebastian Rittau
8bd6cebbb4
[fpdf2] Update to 2.7.9 ( #11953 )
2024-05-18 06:51:24 -04:00
Sebastian Rittau
9a7ff272cc
[influxdb-client] Update to 1.43.* ( #11954 )
2024-05-18 06:43:35 -04:00
Sebastian Rittau
ef0a5c2d12
Replace types._Cell with types.CellType ( #11904 )
...
Closes #11901
2024-05-12 06:38:38 -07:00
Sebastian Rittau
27cad856f8
Add flake8 ( #11676 )
2024-05-09 19:50:07 -07:00
Sebastian Rittau
392ae934fc
Move test_cases to stdlib/@tests/test_cases ( #11865 )
2024-05-09 19:27:09 -07:00
Sebastian Rittau
e436dfe219
Unify test directory handling ( #11864 )
...
Previously, handling of test directories (`@tests` and `test_cases`) was
distributed over multiple files and redundant. This unifies the handling
in the `utils` module. This also fixes some instances where "package"
was used instead of "distribution". And in a few instances paths were
joined by using a `/` in a string, which is incompatible with Windows.
Also move `runtests.py` from `scripts` to `tests`. This is required so that
we can import `utils`, but it's also arguably the better fit. The only
mention of the script is actually in the `tests/README.md` file.
Helps with #11762 .
2024-05-05 16:28:37 +02:00
Sebastian Rittau
caeb45a9df
Use apt-get to install packages ( #11824 )
2024-04-27 14:25:22 +02:00
Sebastian Rittau
e2e14d1cc1
[networkx] Fix incremental_closeness_centrality argument type ( #11828 )
2024-04-24 17:00:56 +02:00
Sebastian Rittau
8664482849
Bump OpenSSL to 24.1.* ( #11816 )
...
Mark a few classes and functions as deprecated
Closes : #11812
2024-04-24 07:58:52 -07:00
Sebastian Rittau
f646eb86e2
Introduce SupportsContainsAndGetItem ( #11827 )
2024-04-24 16:19:12 +02:00
Sebastian Rittau and Akuli
7ed91bc2e7
Add _typeshed.MaybeNone as Any trick marker ( #11815 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2024-04-23 17:13:25 -04:00
Sebastian Rittau and Avasam
56db30e8eb
Make email.message.Message generic over the header type ( #11732 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-04-23 11:41:10 -04:00
Sebastian Rittau
7d56cd9a6c
Remove remaining bare Incompletes ( #11768 )
...
Enable Y065
2024-04-16 06:26:14 -07:00
Sebastian Rittau
f4b89f5f86
Rename check_consistent.py to check_typeshed_structure.py ( #11761 )
2024-04-14 13:34:10 -07:00
Sebastian Rittau
d3aa08188f
Ensure that distutils and setuptools._distutils stay consistent ( #11758 )
2024-04-14 15:41:59 +02:00
Sebastian Rittau
3c678c997d
Update setuptools to 69.5.* ( #11756 )
2024-04-14 15:30:37 +02:00
Sebastian Rittau
451e0efbcb
Improve documentation of the check_consistent script ( #11757 )
2024-04-14 14:59:05 +02:00
Sebastian Rittau
09ff220e09
Rework redis/asyncio/{connection,sentinel}.pyi ( #10370 )
...
Closes : #10362
2024-04-08 18:26:58 -04:00
Sebastian Rittau
95a2a2d883
Add icalendar stubs ( #11733 )
2024-04-08 12:51:48 -04:00
Sebastian Rittau
21b90d44fc
[CI] Fix sharding conditionals ( #11730 )
2024-04-07 18:32:50 +01:00
Sebastian Rittau
26383eed33
Use separate artifact name per step ( #11690 )
...
Compatibility with actions/upload-artifact@v4
2024-04-07 15:04:37 +02:00
Sebastian Rittau
4157cb63ad
[qrcode] Add various annotations ( #11726 )
2024-04-07 06:49:50 -04:00
Sebastian Rittau
eee28ad90f
[python-xlib] Use a protocol for PIL.Image.Image argument ( #11722 )
2024-04-06 20:15:59 +02:00
Sebastian Rittau
c0a44be33f
Depend on Pillow instead of types-Pillow ( #11720 )
2024-04-05 13:30:27 +02:00
Sebastian Rittau
6d19a17f57
[aiofiles] Annotate AiofilesContextManagerTempDir ( #11705 )
2024-04-02 15:44:44 +02:00
Sebastian Rittau and Alex Waygood
630b49a291
Replace various Incompletes in stdlib ( #11673 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-04-01 15:20:01 +01:00
Sebastian Rittau
18fff9f8c7
Update actions/github-script to v7 ( #11687 )
2024-04-01 13:51:21 +01:00
Sebastian Rittau
027115e624
Remove bare incompletes ( #11670 )
2024-03-30 18:35:57 -07:00
Sebastian Rittau
33de88879f
Remove bare Incomplete annotations in third-party stubs ( #11671 )
2024-03-30 18:34:51 -07:00
Sebastian Rittau
2e240c9b08
Update flake8-builtins to 2.3.* ( #11669 )
2024-03-30 16:42:07 -04:00
Sebastian Rittau
87900248b0
Update label names used by bots ( #11650 )
2024-03-23 12:20:36 +01:00
Sebastian Rittau
b67804ab6d
[croniter] Update to 2.0.3 ( #11631 )
2024-03-20 07:31:52 +00:00
Sebastian Rittau
adde7cc3ac
Use Final = ... instead of Final[Literal] ( #11623 )
2024-03-17 14:12:16 +00:00
Sebastian Rittau
6d45cf6e18
Remove pyright version from pyproject.toml ( #11622 )
2024-03-17 14:09:15 +00:00
Sebastian Rittau
a8997209fb
Install pyright from PyPI ( #11575 )
2024-03-16 14:14:31 +01:00
Sebastian Rittau and Ali Hamdan
9841c255ee
Replace Any in optparse ( #11599 )
...
Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com >
2024-03-15 22:33:52 +01:00