Commit Graph

10262 Commits

Author SHA1 Message Date
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
Joren Hammudoglu c8bdfcb49d covariant warnings.catch_warnings type-parameter with default (#13675) 2025-03-20 13:26:43 +01:00
Sebastian Rittau e18b99ca01 [icalendar] Update to 6.1.2 (#13672)
Finish icalendar.prop annotations
2025-03-20 01:36:26 -07:00
Tim Van Baak 506eceb2ee Fix incorrect default value for callback (#13678) 2025-03-20 09:19:06 +01: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
Avasam 45e9a79e26 Bump pywin32 to 310.* (#13667) 2025-03-18 20:31:50 +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
Semyon Moroz f7799bb683 Use Generator for heapq.merge (#13663) 2025-03-18 13:05:59 +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
Abdrakhman bb244d35ea [networkx] Fix a few annotations in AtlasView and Graph (#13656) 2025-03-18 12:35:50 +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
Semyon Moroz b733e57571 Deprecate CGIHTTPRequestHandler (#13658) 2025-03-18 11:35:20 +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
Brian Schubert 205e993b52 Fix parameter types for pkgutil functions accepting pathlike arguments (#13642) 2025-03-17 18:02:07 +01:00
Sebastian Rittau 030e7ada23 [CI] Use Python 3.13 where possible (#13637) 2025-03-17 16:20:14 +01:00
Sebastian Rittau 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
aldonadi d573034361 RPi.GPIO: Fix typo in name of ChangeFrequency method (#13634) 2025-03-16 22:26:26 -07: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
Joren Hammudoglu 8064d995e7 Some minor statistics.NormalDist adjustments (#13626)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-03-15 19:07:47 +00:00
Joren Hammudoglu 5ba2e4989e Add types.UnionType.__parameters__ (#13628)
annotate the `types.UnionType.__parameters__` property
2025-03-15 17:51:36 +00:00
Ageev Maxim cdfb10c340 [protobuf] Add missing properties for class FieldDescriptor (#13625) 2025-03-14 21:24:14 +01:00
Avasam 0b8dcfc00b Fix mypy test temporary config file creation (#13620) 2025-03-14 11:55:01 +01:00
Abdrakhman 5c85697da7 Set hatchling as the build system for ts_utils (#13622) 2025-03-13 12:03:50 +03:00
Avasam 8bc9a65367 Allow uv run to be used without --no-project (#13599) 2025-03-12 13:33:04 +01:00
Avasam f6e99d20b5 Bump setuptools to 76.0.0 (#13614) 2025-03-12 13:25:47 +01:00
Joren Hammudoglu 28106bcb73 Annotate pathlib.Path.{owner,group,is_mount} on windows (#13613) 2025-03-11 18:45:40 +01:00
Dan Pascu d04d532337 Fix return type for GenericAlias.__origin__ for type aliases parameterised with a type (#13619) 2025-03-11 17:11:19 +01:00
Kyllian Broers 1a9eef437a [networkx] Fix argument type of node_connected_component (#13612) 2025-03-11 11:52:29 +01:00
Max Muoto 2e76963775 Fix asyncio executor types (#13616)
Update type annotations for `run_in_executor` and `set_default_executor` in asyncio event loop interfaces to use more specific executor types from `concurrent.futures`
2025-03-11 11:45:28 +01:00
Avasam 1f2ceccfae distutils: Allow overriding Command and Distribution boolean attributes with actual bool in subclasses (#13615) 2025-03-11 11:18:03 +01:00
github-actions[bot] 041580d6d6 [stubsabot] Bump ibm-db to 3.2.6 (#13610) 2025-03-10 06:41:10 +01:00
Avasam c68ecd75f5 Bump pywin32 to 309 (#13607) 2025-03-10 06:34:42 +01:00
Daksh2000 59717f4d0a Fix override issue in GeoDataFrame.astype return type (#13606) 2025-03-09 14:25:56 +01:00
Joren Hammudoglu ab46a26de8 Annotate unittest.TestCase.__init_subclass__ (#13602) 2025-03-09 13:47:43 +01:00
Stephen Morton 846d167f51 Fix default of dict.get (#13222) 2025-03-09 13:44:27 +01:00
Avasam 0cdb5e969f Mention uv for the initial install in CONTRIBUTING.md (#13595) 2025-03-08 10:59:07 +01:00