Commit Graph

7738 Commits

Author SHA1 Message Date
Avasam
2e59b81ffd Use of twisted in pika (#9494)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-24 22:51:59 -06:00
github-actions[bot]
65f188442c Update pyOpenSSL to 23.1.* (#9939)
Release: https://pypi.org/pypi/pyOpenSSL/23.1.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/23.0.0...23.1.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 122.
 - Total lines of Python code deleted: 45.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-25 00:49:23 +00:00
Sebastian Rittau
0bb57fcbc6 [zstd] Add ZSTD_(max_)threads_count methods (#9938)
Closes: #9935
2023-03-24 12:18:41 +00:00
Nikita Sobolev
bacb8f7f40 uuid.uuid{3,5} accept bytes in 3.12 (#9936) 2023-03-24 13:03:41 +01:00
Davide Setti
bbfbc04747 pysftp: CnOpts.hostkeys can be None (#9937) 2023-03-24 13:00:57 +01:00
Alex Waygood
1d6a880a3d openpyxl: add baseline stubs for new modules (#9921) 2023-03-24 12:39:10 +01:00
github-actions[bot]
1cf2e73c32 [stubsabot] Bump flake8-bugbear to 23.3.23 (#9934)
Release: https://pypi.org/pypi/flake8-bugbear/23.3.23
Homepage: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/23.3.12...23.3.23

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `bugbear.py`.
 - Total lines of Python code added: 48.
 - Total lines of Python code deleted: 26.
2023-03-24 00:25:29 +00:00
github-actions[bot]
2db7be077e [stubsabot] Bump regex to 2023.3.23 (#9933)
Release: https://pypi.org/pypi/regex/2023.3.23
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.03.22...2023.3.23

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 2.
 - Total lines of Python code deleted: 2.
2023-03-24 00:25:06 +00:00
Sebastian Rittau
c7d805b142 [openpyxl] Annotate Worksheet and other items (#9892)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-23 23:45:00 +00:00
Francesc Elies
a34da85966 [cffi] cast source can be an int too (#9930)
[cffi] cast source can be an int too

Co-authored-by: Francesc Elies <francesc.elies@mbbm-ast.com>
2023-03-23 11:21:16 +00:00
Audrey Dutcher
00e3b6fc68 Add alternate type for cffi's from_buffer (#9925) 2023-03-23 11:05:27 +01:00
github-actions[bot]
66146b56b9 [stubsabot] Bump tensorflow to 2.12.* (#9926)
Release: https://pypi.org/pypi/tensorflow/2.12.0
Homepage: https://www.tensorflow.org/

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
2023-03-23 00:24:41 +00:00
github-actions[bot]
bcc23ecd48 [stubsabot] Bump redis to 4.5.3 (#9928)
Release: https://pypi.org/pypi/redis/4.5.3
Homepage: https://github.com/redis/redis-py
Changelog: https://github.com/redis/redis-py/releases
Diff: https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 2 files included in typeshed's stubs have been modified or renamed: `redis/asyncio/client.py`, `redis/asyncio/cluster.py`.
 - Total lines of Python code added: 58.
 - Total lines of Python code deleted: 6.
2023-03-23 00:22:28 +00:00
github-actions[bot]
83fa464175 [stubsabot] Bump regex to 2023.3.22 (#9927)
Release: https://pypi.org/pypi/regex/2023.3.22
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.10.31...2023.03.22

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 6.
 - Total lines of Python code deleted: 8.
2023-03-23 00:22:05 +00:00
Avasam
d8e3f928b0 Add defaults for params and constants in python-xlib (#9642)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-22 20:39:04 +00:00
Adam Dangoor
19368ab964 Add type to requests.models.RequestEncodingMixin.path_url (#9923)
We can see at 7f694b79e1/requests/models.py (L104) that this always returns a string.
2023-03-22 19:20:40 +00:00
Francesc Elies
35a46915e6 Add missing types to pywin32.win32api (#9920)
Co-authored-by: Francesc Elies <francesc.elies@mbbm-ast.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-22 16:13:18 +00:00
Sebastian Rittau
f6f1fa3df4 [minidom] Annotate getElement* methods correctly (#9919) 2023-03-22 15:17:36 +00:00
David Salvisberg
2ed466d3cc Add stubs for translationstring (#9918) 2023-03-22 13:44:07 +01:00
Francesc Elies
d13bcbb76e [minidom] add missing return types (#9917) 2023-03-22 12:21:05 +01:00
github-actions[bot]
ffa4999e31 [stubsabot] Bump httplib2 to 0.22.* (#9916)
Release: https://pypi.org/pypi/httplib2/0.22.0
Homepage: https://github.com/httplib2/httplib2
Diff: https://github.com/httplib2/httplib2/compare/v0.21.0...v0.22.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 21.
 - Total lines of Python code deleted: 5.
2023-03-22 00:14:37 +00:00
Sebastian Rittau
104cdf9d0d [redis] Update stubs to 4.5.2 (#9912) 2023-03-21 20:26:41 +00:00
Nikita Sobolev
130ba2ea60 Support SupportsIndex in constructors for all datetime objects (#9915)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-21 19:56:31 +03:00
Amin Alaee
b6564d976b logging.LogRecord: improve annotation for msg (#9914)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-21 15:40:37 +00:00
Alex Waygood
dd2818a41d Stdlib: add container default values (#9909) 2023-03-21 09:12:34 +01:00
github-actions[bot]
151159709d [stubsabot] Bump beautifulsoup4 to 4.12.* (#9910)
Release: https://pypi.org/pypi/beautifulsoup4/4.12.0
Homepage: https://www.crummy.com/software/BeautifulSoup/bs4/
2023-03-21 00:26:02 +00:00
Alex Waygood
f3fc792620 Bump flake8-pyi test dependency to 23.3.1 (#9906) 2023-03-20 19:19:01 +01:00
github-actions[bot]
8080e491d2 [stubsabot] Bump tzlocal to 4.3 (#9903)
Release: https://pypi.org/pypi/tzlocal/4.3
Diff: https://github.com/regebro/tzlocal/compare/4.2...4.3

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 2 files included in typeshed's stubs have been modified or renamed: `tzlocal/utils.py`, `tzlocal/windows_tz.py`.
 - Total lines of Python code added: 67.
 - Total lines of Python code deleted: 41.
2023-03-19 07:44:32 +00:00
Alex Waygood
ca55889329 distutils/setuptools: Don't use wildcards for allowlist entries (#9900) 2023-03-17 14:05:12 -07:00
Henry Schreiner
2d990ee2f7 Fill out more annotations for distutils & setuptools dist (#9895)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-03-17 18:48:24 +00:00
Henry Schreiner
629f12e9a1 [setuptools] Fully annotate Extension.__init__ (#9899)
Add defaults to distutils.Extension.__init__
2023-03-17 16:44:51 +01:00
James Hilton-Balfe
a7c7667f7e Add better types for predicate parameter to inspect.getx functions (#9891)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-17 14:41:18 +00:00
Clément Pinard
557554f1d6 [pycocotools] Fix COCOeval.eval and Params.areaRng (#9897)
* Rename `_EvaluationResult` to `_ImageEvaluationResult`
* Add new `_EvaluationResult`
* Fix type of `COCOeval.eval`
* Correct Params.areaRng which is in fact a list of pairs
2023-03-17 14:02:19 +01:00
Henry Schreiner
3a82796d1e [distutils] Add generated methods to Distribution (#9896) 2023-03-17 12:14:36 +01:00
Henry Schreiner
bcff9cd51f distutils.command.build_ext: add more annotations to get_ext_* methods (#9894)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2023-03-16 20:29:11 +00:00
Henry Schreiner
ed1fd8fc35 Add missing distribution attribute to distutils.cmd.Command (#9893)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2023-03-16 20:21:23 +00:00
Henry Schreiner
eb3f8f3307 Add remaining types to setuptools.build_meta (#9890)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-16 17:01:39 +00:00
Sebastian Rittau
a544b75320 [SQLAlchemy] Annotate row classes (#9568)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-03-15 00:57:54 -07:00
Mehdi Drissi
1d15121f1d Tensorflow protobuf stubs (#9873)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-03-15 00:51:16 -07:00
Sebastian Rittau
8877c12cdf [openpyxl] Update to 3.1, add more annotations (#9875)
Closes: #9644
2023-03-15 00:50:16 -07:00
Alex Waygood
21d7f7153b [alt] typing: accept buffers in IO.write (#9861)
Co-authored-by: JelleZijlstra <jelle.zijlstra@gmail.com>
2023-03-15 00:42:10 -07:00
Alex Waygood
b7d1079e86 Bump various test dependencies (#9886) 2023-03-14 14:13:24 -07:00
Alex Waygood
c9fa41683a Remove stubs for appdirs and backports.ssl-match-hostname (#9884) 2023-03-14 09:17:55 -07:00
Alex Waygood
7e0b9b44de Fix typos in extra_description fields (#9883) 2023-03-14 08:15:15 -07:00
Alex Waygood
388da6a60b Mark stubs for backports.ssl_match_hostname as no longer updated (#9882)
See #9843 for discussion
2023-03-14 07:24:35 -07:00
Alex Waygood
28dd6c1a2e Use ParamSpec for classmethod and staticmethod (#9771) 2023-03-14 09:59:17 +00:00
Alex Waygood
51870544db Bump pytype dependency to 2023.3.13 (#9881) 2023-03-14 09:40:54 +00:00
github-actions[bot]
6d2d91c8f9 [stubsabot] Bump pyinstaller to 5.9.* (#9880)
Release: https://pypi.org/pypi/pyinstaller/5.9.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.8.0...v5.9.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 3 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/build_main.py`, `PyInstaller/isolated/_parent.py`.
 - Total lines of Python code added: 28.
 - Total lines of Python code deleted: 59.
2023-03-14 00:18:35 +00:00
Alex Waygood
ad9c7c1d0c Mark types-appdirs as no longer updated (#9877) 2023-03-13 16:36:44 +01:00
Alex Waygood
36515c48a9 flake8: ignore pyflakes codes in *_pb2.pyi files that are ignored in all other .pyi files (#9878)
Several flake8 error codes are currently ignored for all `.pyi` files _except_ those ending with `_pb2.pyi`. This caused a bit of confusion in #9873. This PR makes it so that all codes ignored generally across typeshed are also ignored in `*_pb2.pyi` files
2023-03-13 15:22:16 +00:00