Jelle Zijlstra
17edf76275
aiofiles: use ReadableBuffer ( #10105 )
...
Part of #9006
2023-04-29 15:50:48 +01:00
danieleades
9772c425a2
docutils: add nodes.General; make Element iterable ( #10099 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-29 15:43:39 +01:00
Jelle Zijlstra
40975222b4
multiprocessing: Queue does not inherit from queues.Queue ( #10104 )
...
Fixes #3404
2023-04-29 15:39:11 +01:00
Nikita Sobolev
f42f665fa1
Update hdbcli to 2.16 and mark as completed ( #10101 )
2023-04-29 06:26:16 -07:00
Alex Waygood
2d84e56d6f
Update requests for v2.29 ( #10097 )
2023-04-29 00:44:51 +01:00
github-actions[bot]
dd7d2121c3
[stubsabot] Mark dj-database-url as obsolete since 2.0.0 ( #10094 )
...
Release: https://pypi.org/pypi/dj-database-url/2.0.0
Homepage: https://github.com/jazzband/dj-database-url
Diff: https://github.com/jazzband/dj-database-url/compare/v1.3.0...v2.0.0
Co-authored-by: stubsabot <>
2023-04-28 07:26:00 +01:00
Avasam
fb4bf034f3
Add fixers to lib2to3 ( #10003 )
2023-04-27 21:56:56 -07:00
Tomas R
a7748a9dd1
Add missing stubs for logging.config ( #10055 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-04-27 07:57:46 -07:00
Mehdi Drissi
11f5858f0b
tensorflow: feature columns ( #10052 )
...
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-04-27 05:08:51 -07:00
Christian Bundy
b4ad214754
Add object.__getstate__() in Python 3.11+ ( #10091 )
2023-04-27 05:05:54 -07:00
Francesc Elies
ca3611238b
cffi: improve getitem and setitem ( #9968 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-04-26 22:14:54 -07:00
Alex Waygood
2dd268d74a
influxdb-client: fix stubtest ( #10090 )
2023-04-26 19:28:35 -07:00
github-actions[bot]
9e4613789c
[stubsabot] Mark urllib3 as obsolete since 2.0.0 ( #10087 )
...
Release: https://pypi.org/pypi/urllib3/2.0.0
Changelog: https://github.com/urllib3/urllib3/blob/main/CHANGES.rst
Diff: https://github.com/urllib3/urllib3/compare/1.26.15...2.0.0
Co-authored-by: stubsabot <>
2023-04-27 02:33:22 +01:00
Avasam
6cb8bc0ac4
Mark SQLAlchemy stubs with ignore_missing_stub = false ( #9653 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-26 17:49:46 -07:00
Avasam
4930ebade4
Type PyInstaller.building.api and related modules ( #9730 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-26 17:49:30 -07:00
Mehdi Drissi
01972e0e51
tensorflow: Add legacy optimizers ( #9997 )
2023-04-26 15:15:41 -07:00
David Robertson
f7443a748e
Add a return type for PIL.Image.load ( #9466 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-26 19:46:54 +03:00
Xavier Trochu
c4b6d635ab
paramiko: Be more lenient for client parameter types (#10083 )
...
Use Mapping instead of dict for better covariance
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-25 12:35:10 -06:00
Tim Stumbaugh
9abf620500
Loosen constraints on ujson file functions ( #10081 )
...
Like `json.dump`, `ujson.dump` takes any object that has a
string-accepting `.write` method.
Similarly, `ujson.load` works with any object with a `.read()` that
returns either a string or a bytes
2023-04-24 21:45:50 -06:00
Nikita Sobolev
1d9f35369d
functools: Add cache_parameters method to _lru_cache_wrapper ( #10076 )
...
The docs says that `cache_parameters()` function was added in 3.9: https://docs.python.org/3/library/functools.html#functools.lru_cache
Source: af53046995/Lib/functools.py (L512)
But, `typeshed` does not have it.
2023-04-24 07:29:54 -07:00
Nikita Sobolev
2bfb6d8212
Fix CI, use new termcolor version ( #10079 )
2023-04-24 07:17:23 -07:00
kasium
1b68adee9a
hdbcli: Fix wrong connection argument name ( #10070 )
...
The name should be `user` and not `username`
2023-04-24 07:12:51 -07:00
Nikita Sobolev
22ced49645
Simplify chardet type imports ( #10080 )
2023-04-24 05:14:17 -07:00
Nikita Sobolev
8af0a1f9e8
Fix typo ( #10078 )
2023-04-24 04:43:18 -07:00
Nikita Sobolev
cd3f52ac14
Simplify logging.config type imports ( #10077 )
2023-04-24 14:41:10 +03:00
lorddaedra
0e4604e52d
[dj-database-url] Fix CONN_MAX_AGE and conn_max_age types ( #10075 )
2023-04-24 14:30:37 +03:00
James Hilton-Balfe
acfde4e40b
Add stubs for types.get_original_bases ( #10073 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-23 22:13:43 +01:00
Wesley Collin Wright
cedf3b5684
stdlib/xml: fix return types for toxml/toprettyxml methods ( #10061 )
2023-04-22 16:36:57 -06:00
Shantanu
cc35f4be3b
setuptools: bump to 67.7 ( #10069 )
...
Fixes #10067
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-22 09:50:42 -06:00
Akuli
03b8c60a02
Support dict(foo.split() for foo in bar) with bytes ( #10072 )
2023-04-22 18:28:34 +03:00
Mehdi Drissi
d74bea5e87
Bump pyright version to 1.1.304 ( #10066 )
2023-04-19 22:41:33 -06:00
Shantanu
143b9612f1
psutil: fix stubtest ( #10065 )
...
Fixes #10059
2023-04-19 20:58:49 -06:00
Ben Mares
0b17fafbe3
Add missing exception classes in setuptools.errors ( #10057 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2023-04-17 13:13:44 -06:00
Lucina
41b8981368
unittest.mock.__version__ was removed in 3.9 ( #10056 )
...
See the first entry in https://docs.python.org/3/whatsnew/3.9.html#removed
2023-04-17 11:51:34 -06:00
Avasam
fd188fa67e
keyboard : Update stubtest_allowlist and add comments for missing defaults (#9965 )
2023-04-17 13:26:01 +02:00
Jeff Dairiki
f39ffea00f
[Pillow] Add Base and GPS enums in PIL.ExifTags ( #10051 )
2023-04-17 12:52:21 +02:00
Nikita Sobolev
7dcec5b3db
Bump simplejson to 3.19.* ( #10049 )
2023-04-15 01:22:41 -07:00
Avasam
b0ed50e939
Fix all fixable stubtest_allowlist entries in SQLAlchemy ( #9596 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-04-14 15:34:02 -07:00
Avasam
08e6e4ced9
Add pyright testcases / regression tests to the runtests script ( #10002 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-14 11:11:21 +01:00
Avasam
f66769a6f5
Bump Pillow to 9.5.* ( #10046 )
...
Release: https://pypi.org/pypi/Pillow/9.5.0
Homepage: https://python-pillow.org
Changelog: https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst
Diff: https://github.com/python-pillow/Pillow/compare/9.4.0...9.5.0
2023-04-13 23:19:33 -07:00
Grigoriev Semyon
6f35e8d9fa
Make most ujson.dump() parameters keyword-only ( #10044 )
2023-04-13 16:36:02 +03:00
Alex Waygood
83f0dbe14c
Bump various test dependencies ( #10045 )
2023-04-13 14:34:32 +01:00
Victor Westerhuis
8db375c3a9
Fix target argument of pathlib.Path.{sym,hard}link_to ( #10019 )
2023-04-13 13:42:26 +02:00
wikiped
03ca80bb61
[openpyxl] Annotate _WorkbookChild.title property ( #10043 )
2023-04-13 12:18:55 +02:00
Alex Waygood
2279886964
Style: prefer type[Foo | Bar] over type[Foo] | type[Bar] ( #10039 )
2023-04-13 11:34:53 +02:00
ankm20
084f555793
[cffi] dlopen(None) works when platform != win32 ( #10042 )
2023-04-13 11:28:21 +02:00
Alex Waygood
308a36bf5c
Delete allowlist for croniter ( #10041 )
...
Fixes #10040
2023-04-12 17:37:13 -07:00
Sebastian Rittau
be0ef21167
[zipfile] Move protocol behind version gate ( #10036 )
...
This protocol is only used for our Python 3.8 stubs. Therefore it's best to limit its availability as much as
possible.
2023-04-12 15:07:49 +01:00
Sebastian Rittau
8f17863f0c
[pyOpenSSL] Fix return type of SSLeay_version ( #10037 )
...
Closes : #10024
2023-04-12 15:01:30 +01:00
Daniel Bergamin
be4f64cc4f
[ujson] Update stubs with new features ( #10035 )
2023-04-12 15:47:37 +02:00