Sebastian Rittau
798c660ab7
Remove humanfriendly stubs ( #13699 )
2025-03-23 23:41:53 +01:00
Sebastian Rittau
494a5d1b98
Update croniter repository URL ( #13698 )
...
Cf. #13260 pallets-eco/croniter#144
2025-03-21 18:34:11 +00:00
Sebastian Rittau and Jelle Zijlstra
5bb9409e22
Clarify that direct pushes are not allowed
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2025-03-21 16:26:46 +01:00
Sebastian Rittau
10913cff2c
Move maintainer guidelines to MAINTAINERS document
...
The guidelines are unchanged, apart from linking back to the
CONTRIBUTING document and introducting section headers.
This serves multiple purposes:
* The maintainer guidelines are easier to find for maintainers.
* The CONTRIBUTING document needs fewer changes, meaning fewer
"guideline changed" warnings for contributors.
* The – already very long – CONTRIBUTING document is shorter,
and doesn't contain information irrelevant for regular contributors.
2025-03-21 16:26:46 +01:00
Sebastian Rittau
704cfb477e
Move imports into version_info branch ( #13684 )
2025-03-20 14:09:08 +01:00
Sebastian Rittau
38aa66a3b9
[gdb] Remove unused import ( #13682 )
...
Unblocks #13680
2025-03-20 12:28:49 +00:00
Sebastian Rittau
e18b99ca01
[icalendar] Update to 6.1.2 ( #13672 )
...
Finish icalendar.prop annotations
2025-03-20 01:36:26 -07:00
Sebastian Rittau
b943f311ac
logging.config: Add @type_check_only markers ( #13674 )
2025-03-19 16:23:24 +01:00
Sebastian Rittau
5a8f8aa052
Update typing_extensions to 4.13.0rc1 ( #13671 )
...
Also sort __all__ to match the implementation
2025-03-19 13:56:18 +01:00
Sebastian Rittau
dbe6cb5cfb
Mark humanfriendly as no longer updated ( #13665 )
...
Cf. #13662
2025-03-18 13:51:32 +01:00
Sebastian Rittau
414e6d2150
[CI] Run stubtest with Python 3.13 ( #13638 )
2025-03-18 13:36:15 +01:00
Sebastian Rittau
882e8fd2b3
[stubsabot] Extend warning text when stubtest is disabled ( #13664 )
2025-03-18 13:35:25 +01:00
Sebastian Rittau
e571017a6f
[cffi] Fix a few argument types for C code ( #13661 )
...
* CLibrary.close_lib() doesn't take any arguments.
* FFI.typeof() only takes positional arguments.
2025-03-18 12:53:31 +01:00
Sebastian Rittau
ec5246b359
[WebOb] Add cgi_FieldStorage.make_file on Python 3.13+ ( #13654 )
2025-03-18 12:05:59 +01:00
Sebastian Rittau
e90c6f11dc
[cffi] Bump to 1.17.* ( #13653 )
2025-03-18 12:05:23 +01:00
Sebastian Rittau
b93eae52af
Fix various argument of extension modules ( #13651 )
...
* Mark various positional-only arguments: These are all positional-only
arguments in C code using the `METH_O` flag.
* Remove various `*args, **kwargs` arguments that are using the
`METH_NOARGS` flag in C.
2025-03-18 02:22:34 +01:00
Sebastian Rittau
089bbcb39e
Make BaseTzInfo inherited methods pos-only ( #13650 )
...
These methods are already positional-only in `datetime.tzinfo`. Leaving
them pos-or-kw fail stubtest when running with Python 3.13.
2025-03-17 17:16:36 -07:00
Sebastian Rittau
f0d9b4e056
[passlib] Fix for Python 3.13 ( #13649 )
...
`passlib.hosts.host_context` is not present on Python 3.13.
2025-03-17 17:14:52 -07:00
Sebastian Rittau
d6373d9d4e
[greenlet] Fix for Python 3.13 ( #13648 )
...
`get_tstate_trash_delete_nesting()` is not available
on Python 3.13.
2025-03-17 17:14:45 -07:00
Sebastian Rittau
e3c9eb8404
[cffi] Update repository URL ( #13652 )
2025-03-17 23:52:02 +01:00
Sebastian Rittau
90cef37593
[pynput] Update to 1.8.1 ( #13647 )
2025-03-17 20:10:21 +01:00
Sebastian Rittau
52202f42a6
Add TypedDict.__{readonly,mutable}_keys__ ( #13646 )
2025-03-17 19:30:30 +01:00
Sebastian Rittau
5cd606b5ed
[fpdf2] Make fpdf.fonts.Glyph a dataclass ( #13645 )
2025-03-17 19:27:17 +01:00
Sebastian Rittau
030e7ada23
[CI] Use Python 3.13 where possible ( #13637 )
2025-03-17 16:20:14 +01:00
Sebastian Rittau and Alex Waygood
70ecc34c05
[CI] Shorten job names ( #13635 )
...
When looking at GitHub's action runs, the individual jobs are listed in
the left sidebar, but since the job names are fairly long, they get cut
off, leading to a lot of guessing when finding the correct job. Shorter
job names should fix this.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-03-17 15:06:16 +01:00
Sebastian Rittau
da50b5c411
Move error handling to main function ( #13630 )
...
* This makes is easier to call `run_stubtest()` manually, for
example when testing the script - no need to construct
an `ArgumentParser` instance.
* This concentrates argument error handling in the
`main()` function and prevents an unexpected process exit
when calling `run_stubtest()`.
2025-03-16 20:40:38 +01:00
Sebastian Rittau
acac58ad4a
[CI] Quieten apt-get ( #13629 )
...
Don't print progress when installing packages via apt-get. This
prevent spurious output in CI logs.
2025-03-16 08:06:43 -07:00
Sebastian Rittau
02aee8dc68
[google-cloud-ndb] Remove unncessary stubtest requirements ( #13631 )
2025-03-16 15:33:55 +01:00
Sebastian Rittau
b4c656a6f7
Remove LD_LIBRARY_PATH before running gdb ( #13594 )
...
Suggestion by @peace-maker
2025-03-08 00:09:47 +01:00
Sebastian Rittau
90d89f8983
Remove redundant version_info checks ( #13588 )
...
`zipfile._path` was split into a separate module in Python 3.12.
Originally, we just copied the definition for `CompleteDirs` and `Path`
from `zipfile.pyi` to `zipfile/_path/__init__.pyi` and left the now
defunct version_info branches. This removes the unnecessary branches
from the respective stub files.
2025-03-06 17:02:48 +01:00
Sebastian Rittau
5f1fd23bd2
Rework tarfile.open/TarFile.open ( #13177 )
...
* Copy overloads of `open()` to `TarFile.open()`.
* Replace remaining instances of `IO` with `_Fileobj`.
* Replace `open()` with alias to `TarFile.open()` to match implementation.
2025-03-06 13:54:35 +01:00
Sebastian Rittau
ba85e0c282
Fix tarfile.open overloads ( #13441 )
...
* Allow `compresslevel` argument for modes `w|gz` and `w|bz2`.
* Remove `preset` argument from modes where it's not allowed.
Closes : #13440
2025-03-06 10:39:56 +01:00
Sebastian Rittau and Avasam
3e83e42a0f
Update pyright to v1.1.395; disable a pow() check ( #13564 )
...
pyright and mypy disagree about the exact type due to differing
overloads handling.
---------
Co-authored-by: Avasam <samuel.06@hotmail.com >
2025-03-03 11:49:41 -05:00
Sebastian Rittau
96c3fe712a
Remove SupportsGetItem.__contains__ ( #13541 )
2025-03-03 15:44:26 +01:00
Sebastian Rittau
0b13c1deb6
[setuptools] Update to 75.8.2 ( #13563 )
2025-02-28 14:42:05 -08:00
Sebastian Rittau
bc4473db04
Fix conflicting imports ( #13561 )
2025-02-28 19:20:35 +01:00
Sebastian Rittau
f1b121cf29
[configparser] Fix missing fallback argument in SectionProxy.get ( #13559 )
...
Closes : #13556
2025-02-28 03:33:10 -08:00
Sebastian Rittau
915a348bfa
Third party stubtest: Print time per distribution ( #13547 )
2025-02-26 21:44:10 +01:00
Sebastian Rittau
9da1df60be
Update an itertool recipe from Python docs ( #13543 )
2025-02-26 14:04:04 +01:00
Sebastian Rittau
f26ad2059e
Remove Python3.8 stubtest allowlists ( #13389 )
...
Consolidate remaining allowlists
2025-01-10 15:17:36 +01:00
Sebastian Rittau
10ebc999ee
Officially drop Python 3.8 support ( #13386 )
2025-01-10 15:06:22 +01:00
Sebastian Rittau
822fae31e5
Remove Python 3.8 from CI ( #13387 )
2025-01-10 14:15:39 +01:00
Sebastian Rittau
f2c917ff52
Remove redundant version branch ( #13388 )
2025-01-10 14:14:55 +01:00
Sebastian Rittau
619e8f3680
[fpdf2] Update to 2.8.2 ( #13264 )
2024-12-22 16:49:46 -08:00
Sebastian Rittau
c2a33373cf
[vobject] Replace typing.Any with _typeshed.Incomplete ( #13265 )
2024-12-18 18:59:50 +01:00
Sebastian Rittau
9351a842a3
[vobject] Update to 0.9.9 ( #13263 )
...
Update repository URL
2024-12-18 18:45:37 +01:00
Sebastian Rittau
9b500ad3ce
[croniter] Update to 5.0.1 ( #12926 )
2024-12-03 20:06:28 -08:00
Sebastian Rittau
7fbb5fe32b
Improve gzip.open() annotations ( #13176 )
...
* Return concrete io.TextIOWrapper instead of typing.TextIO.
* Allow file objects when opening in text mode. Closes : #13175
2024-12-03 17:33:47 -08:00
Sebastian Rittau
0a2da01946
Remove redis ( #13157 )
...
Closes : #10592
2024-11-30 23:52:56 +01:00
Sebastian Rittau
3f9234fb79
[icalendar] Update to 6.1.* ( #13109 )
2024-11-27 17:01:20 +01:00
Sebastian Rittau
e1c74f08f1
[bleach] Update to 6.2.* ( #12927 )
2024-11-22 11:30:49 -05:00
Sebastian Rittau
e718a7363f
[Deprecated] Update to 1.2.15 ( #13020 )
2024-11-16 16:30:53 +01:00
Sebastian Rittau
0d4a94803a
Remove docopt ( #12975 )
2024-11-07 19:51:15 +01:00
Sebastian Rittau
8dd43718bc
Update pyRFC3339 to 2.0.1 ( #12960 )
2024-11-06 06:08:33 -08:00
Sebastian Rittau
7838ab5f98
[waitress] Update to 3.0.1 ( #12917 )
2024-10-29 10:15:01 +00:00
Sebastian Rittau
ec1c327679
[croniter] Update to 3.0.4 ( #12909 )
2024-10-26 23:10:35 +02:00
Sebastian Rittau
701cd065b8
[CI] Switch to macos-latest ( #12897 )
...
macos-12 is deprecated and will be removed:
https://github.com/actions/runner-images/issues/10721
2024-10-24 11:00:11 -07:00
Sebastian Rittau
b0ac25e7bd
Use compatible version marker for icalendar ( #12831 )
2024-10-21 04:36:05 -07:00
Sebastian Rittau
c020ccc821
Print gdb version to ease debugging ( #12836 )
2024-10-21 04:35:55 -07:00
Sebastian Rittau
a6fb689ff1
Update third-party removal policy ( #12858 )
2024-10-21 13:10:27 +02:00
Sebastian Rittau
b0d57cc03c
Remove boto stubs ( #12856 )
...
Closes : #12848
2024-10-19 18:07:28 +02:00
Sebastian Rittau
a22e35814e
[boto] Set the no_longer_updated flag ( #12860 )
2024-10-19 17:56:05 +02:00
Sebastian Rittau
d1c1675b20
Remove playsound stubs ( #12857 )
...
Closes : #12856
2024-10-19 17:52:54 +02:00
Sebastian Rittau
ebdd2c528d
Update mypy to 1.12.0 ( #12859 )
2024-10-19 16:45:38 +01:00
Sebastian Rittau
890a38f424
[playsound] Set the no_longer_updated flag ( #12861 )
2024-10-19 17:39:01 +02:00
Sebastian Rittau
7fb84668fc
[psycopg2] Bump to 2.9.10 ( #12835 )
...
Mark all error codes as `Final`
2024-10-18 10:34:55 -07:00
Sebastian Rittau
c6affbb804
[CI] Pin Ubuntu in third party stubtest ( #12846 )
...
This fixes a problem with gdb changing between the Ubuntu versions.
2024-10-18 12:09:05 +02:00
Sebastian Rittau
2d0f6d8277
Bundle path handling in ts_utils.paths ( #12805 )
2024-10-17 08:16:10 +02:00
Sebastian Rittau
36fb63ebc8
Support compatible version specifiers ( #12771 )
2024-10-17 08:15:30 +02:00
Sebastian Rittau
a2d6d5315b
[stubsabot] Use common functions from ts_utils ( #12772 )
2024-10-14 15:41:28 +02:00
Sebastian Rittau
42f6a21a71
Bump gdb to 15.0.* ( #12804 )
...
Closes : #12777
2024-10-14 05:51:22 -07:00
Sebastian Rittau
ddf9d54dc1
Bump icalendar to 6.0.1 ( #12802 )
2024-10-14 05:50:52 -07:00
Sebastian Rittau
1fa4986f71
Move common utility functions to a common library ( #12773 )
2024-10-14 08:00:02 +02:00
Sebastian Rittau
055d0431ad
Document the supported stdlib versions ( #12731 )
2024-10-11 13:48:54 +02:00
Sebastian Rittau
17d2e5a862
Clean up common stubtest allowlist ( #12770 )
...
* Move all platform and installation differences into a separate
section.
* Split sections for missing items into "should be fixed" and "should
not be fixed".
* Add "TODO" markers to appropriate sections.
2024-10-10 07:53:26 -07:00
Sebastian Rittau
4f94a0e140
Bump fpdf2 to 2.8.1 ( #12753 )
...
Closes : #12738
2024-10-10 07:49:39 -07:00
Sebastian Rittau
c490871c32
Add 'nis' to stubtest allowlist ( #12769 )
2024-10-10 16:36:07 +02:00
Sebastian Rittau
98f3e5772d
[fpdf2] Add actual NamedTuple defaults ( #12768 )
2024-10-10 12:24:26 +02:00
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