Commit Graph

8620 Commits

Author SHA1 Message Date
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Sebastian Rittau
1b471a9a0a Update typing_extensions imports in infrastructure and tests (#11243) 2024-01-05 13:30:45 +00:00
Sebastian Rittau
87a695ab98 Update typing_extensions list in CONTRIBUTING (#11242) 2024-01-05 13:22:32 +01:00
Sebastian Rittau
23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +01:00
Renato Garcia
4e62577002 Fix timeout argument on pexpect spawn class constructor (#11239) (#11240) 2024-01-05 11:09:51 +01:00
Shantanu
2cafcc90a7 socket: rework to match docs more closely, improve accuracy on linux (#11219)
Match the documentation more closely

Fixes some of #8101
2024-01-04 14:36:31 -08:00
Pierre Marchand
9fe7e1f28f fix pexpect delaybeforesend_type (#11221) 2024-01-04 16:16:39 +01:00
Sebastian Rittau
1b2cabce4d Remove macpath (removed in Python 3.8) (#11236) 2024-01-04 15:10:36 +01:00
Sebastian Rittau
4e5f7a7142 Drop support for Python 3.7 (#11234) 2024-01-04 14:48:44 +01:00
Sebastian Rittau
262d73c90c Update description of _typeshed.Self (#11233) 2024-01-04 14:43:22 +01:00
Viicos
54447f63a4 Use type instead of Type in typing.pyi (#11235) 2024-01-04 05:04:43 -08:00
buermarc
56b0c8b42e Lib/bdb.py: add some missing optional str in return (#11231) 2024-01-04 13:17:07 +01:00
George Fourtounis
3f57017aaf Add support for the refresh_token grant type (RefreshTokenGrant) (#11… (#11206)
Add support for the refresh_token grant type (RefreshTokenGrant).
2024-01-04 12:24:57 +01:00
Martin Fischer
5e66eb5940 Fix passlib.utils.handlers.TruncateMixin.using (#11229) 2024-01-04 12:15:25 +01:00
Shantanu
6fcd37456d Move ellipsis definition to types (#11223) 2024-01-02 16:14:53 -08:00
Manfred Kaiser
6aa6722fe1 Update type hints for paramiko 3.4 (#11218) 2024-01-02 00:45:43 -08:00
pre-commit-ci[bot]
d4daff337f Update black to 23.12.1 (#11216)
updates:
- [github.com/psf/black-pre-commit-mirror: 23.12.0 → 23.12.1](https://github.com/psf/black-pre-commit-mirror/compare/23.12.0...23.12.1)
2024-01-01 21:40:33 +00:00
Ali Hamdan
b56c9f1606 netaddr: Bump to 0.10.* (#11215)
Closes #11211
2024-01-01 19:31:26 +01:00
Alex Waygood
f0c6488394 Pin seaborn to 0.13.0 (#11213)
Closes #11212
2024-01-01 00:24:48 +00:00
Matthieu Darbois
1d3c326518 base64: accept str for altchars and map01 in decode functions (#11210)
* `base64.b64decode`: `altchars` can be passed as an ASCII string to the `base64.b64decode` function.

* `base64.b32decode`: `map01` argument of `base64.b32decode` accepts `str | ReadableBuffer | None`.
2023-12-31 16:50:33 +02:00
Akuli
3ede0565d1 requests: Use the Any trick in HTTPError (#11207) 2023-12-30 01:28:10 -08:00
Kewei Li
3edfd9037c Improve return types of os.wait3 and os.wait4 (#11194) 2023-12-28 18:09:38 +02:00
Jacob Walls
07d1d2a70c Add attributes to AST type_param classes (#11202) 2023-12-28 13:25:12 +01:00
github-actions[bot]
ed201da420 [stubsabot] Bump regex to 2023.12.25 (#11198) 2023-12-25 01:21:37 +01:00
Alex Waygood
16933b838e Bump mypy (and a few other test dependencies) (#11196) 2023-12-21 22:57:58 +00:00
Pavel Karateev
c1137ee364 stdlib modules removed in Python 3.13 (PEP 594) (#11193) 2023-12-20 21:55:11 -08:00
Shantanu
1245faf0d5 Remove 2.7 from VERSIONS (#11185) 2023-12-20 14:31:22 +01:00
Nikita Sobolev
8dfebc0117 Bump pyright to 1.1.342 (#11190) 2023-12-20 12:11:38 +01:00
Neil Girdhar
ba7bd9f98a Add some missing networkx annotations (#11181) 2023-12-19 12:21:47 +01:00
Neil Girdhar
2dfa9544ed Fix annotation for networkx.subgraph_view (#11180) 2023-12-19 12:16:08 +01:00
Avasam
cf6bafbaf2 override http.HTTPMessage methods to only use str for the header type (#11114) 2023-12-19 08:37:57 +01:00
github-actions[bot]
7bdf6ba85c [stubsabot] Bump braintree to 4.25.* (#11182)
Release: https://pypi.org/pypi/braintree/4.25.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
Repository: https://github.com/braintree/braintree_python
Diff: https://github.com/braintree/braintree_python/compare/4.24.0...4.25.0
2023-12-18 17:48:30 -08:00
Neil Girdhar
25009411db Set the maximum line length in .editorconfig (#11184)
* 130 matches what the linter and formatter are told for Python files.
* 79 appears to be the limit for README.md.
2023-12-19 01:21:01 +00:00
Stephen Morton
ad51dde631 add unittest.case._AssertRaisesBaseContext class (#11158) 2023-12-18 23:07:47 +01:00
Stephen Morton
f8e738621f add intermediate classes in selectors module (#11164) 2023-12-18 20:22:05 +01:00
Stephen Morton
a53bfebb3f add zipfile._path (#11150) 2023-12-18 14:45:20 +01:00
Avasam
91b35bb5f5 Review SupportsInt and SupportsFloat usages in 3rd-party stubs (#11003) 2023-12-18 14:14:37 +01:00
Stephen Morton
fd3228a2e2 threading.ThreadError and threading.local are aliases from _thread (#11167) 2023-12-18 14:13:08 +01:00
Avasam
9d8188c96d Document "the Any trick" (#11117) 2023-12-18 13:56:22 +01:00
Ali Hamdan
662158629b seaborn: Complete the categorical module (#11170) 2023-12-18 13:49:52 +01:00
Ali Hamdan
cdad9047d5 stdlib: Use Unpack for concurrent.futures.*Executor constructors (#11171) 2023-12-18 13:46:15 +01:00
Avasam
96526875f7 pywin32 annotations improvements (#11177) 2023-12-18 13:33:56 +01:00
Avasam
d3bf2805b4 Bump pyinstaller to 6.3.* (#11175) 2023-12-17 13:47:29 -08:00
Stephen Morton
33df486ba2 Allow the use of local-only stubtest allowlists (#11173)
This makes it nicer to work on a local system with known
divergences from the CI environment
2023-12-16 18:43:33 -08:00
Audrey Dutcher
658dd55c41 Add networkx stubs (#10544)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: Audrey Dutcher <audrey@rhelmot.io>
2023-12-14 21:52:04 -05:00
Stephen Morton
b6740d0bf4 use _compression.BaseStream for lzma.LZMAFile (#11166)
related to https://github.com/python/typeshed/issues/3968
2023-12-15 00:02:05 +00:00
Avasam
c390c70d2a email.message.Message: Improve payload methods and Explain why __getitem__ isn't typed to return None (#11095)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-12-14 18:28:15 -05:00
github-actions[bot]
6c5dc240f2 [stubsabot] Bump hdbcli to 2.19.* (#11157)
Release: https://pypi.org/pypi/hdbcli/2.19.18
Homepage: https://www.sap.com/
2023-12-13 11:55:45 +00:00
Sebastian Rittau
3171cb44aa Bump fpdf2 to 2.7.7 (#11149)
Closes: #11145
2023-12-12 16:31:37 -08:00
Aliaksei Urbanski
0e5277c847 Remove duplicated items from ruff's exclude list (#11156) 2023-12-12 22:37:33 +00:00