Commit Graph

1691 Commits

Author SHA1 Message Date
Avasam
747222469d Bump pyinstaller to 6.0.* (#10800) 2023-09-28 22:30:59 -07:00
David Salvisberg
f8a673f12a Add stubs for WTForms (#10557)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-09-28 22:30:29 -07:00
github-actions[bot]
cb4425f9fa [stubsabot] Bump cffi to 1.16.* (#10799)
Release: https://pypi.org/pypi/cffi/1.16.0
Homepage: http://cffi.readthedocs.org
Repository: https://foss.heptapod.net/pypy/cffi
Changelog: https://cffi.readthedocs.io/en/latest/whatsnew.html
2023-09-28 22:29:24 -07:00
Harshal Sheth
ec52bf1add [requests] loosen HTTPError constructor (#10776) 2023-09-27 08:02:46 +02:00
Alex Waygood
3f9a3accc8 Declare that types-jsonschema requires Python 3.8+ (#10775) 2023-09-25 20:10:12 +02:00
Aarni Koskela
3446594f0e [requests] Allow PreparedRequest for RequestException(request=...) (#10767) 2023-09-25 12:46:14 +02:00
Sohang Chopra
da187a99a6 Add stubs for Flask-SocketIO (#10735)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-09-25 10:52:17 +01:00
Ali Hamdan
dd00f9d899 Complete psycopg2 (#10760) 2023-09-24 13:48:01 -07:00
github-actions[bot]
13359d1281 [stubsabot] Bump flake8-simplify to 0.21.* (#10755)
Release: https://pypi.org/pypi/flake8-simplify/0.21.0
Homepage: https://github.com/MartinThoma/flake8-simplify
Repository: https://github.com/MartinThoma/flake8-simplify
2023-09-24 01:16:29 +01:00
Pascal Corpet
e6fb59c994 [PyYAML] type the whole Emitter class (#10750) 2023-09-23 07:07:09 -07:00
Sebastian Rittau
6ca7505af7 Bump jsonschema to 4.19.* (#10583)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-22 20:11:54 -07:00
Screwtapello
49b717ca52 stdlib/xml/sax: Add type annotations (#10606)
* stdlib/xml/sax: Type annotations for commonly used methods.

* stdlib/xml/sax: More annotations.

It turns out SAX's definition of a "qname" is exactly the opposite of
ElementTree's. With that understanding, let's annotate the Attributes*Impl
classes too.

* stdlib/xml/sax: I better understand what AttributesNSImpl is doing now.

* Update third-party library stubs to agree with the new SAX annotations.
2023-09-22 20:08:13 -07:00
Avasam
381fc572a8 Complete openpyxl metaclasses (#10736) 2023-09-22 19:45:08 -07:00
Marti Raudsepp
71d81f886d [requests] Improve exception class constructors (#10740) 2023-09-22 19:42:58 -07:00
Avasam
c782b47aa0 Update pyscreeze methods reusing locateAll (#10741) 2023-09-22 19:42:34 -07:00
Amin Alaee
6ed18ec37a Add overloads to redis.asyncio.Redis (#10742) 2023-09-22 19:40:17 -07:00
Amin Alaee
11e51bef9d [pytz] Add BaseTzInfo private attributes (#10733) 2023-09-20 15:17:40 +02:00
Erik Bjäreholt
ddebb83ea7 requests: type RequestException members (not Any) (#8989)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-20 05:20:33 -07:00
Ruslan Nigmatullin
aef4fa8756 Update protobufs to support new generated messages (#10717) 2023-09-19 13:16:40 -07:00
Nikita Sobolev
2c05c02b36 Update netaddr to 0.9.0 (#10732) 2023-09-19 12:33:02 +01:00
Mark Hetherington
1053e923cd oauthlib: Update types for RequestValidator to match implementation (#10725) 2023-09-18 11:07:44 +02:00
github-actions[bot]
03ce77a12c [stubsabot] Bump pytz to 2023.3.post1 (#10673)
Release: https://pypi.org/pypi/pytz/2023.3.post1
Homepage: http://pythonhosted.org/pytz
Repository: https://github.com/stub42/pytz
2023-09-17 12:58:55 +01:00
github-actions[bot]
cecab9c6ea [stubsabot] Bump flake8-bugbear to 23.9.16 (#10720)
Release: https://pypi.org/pypi/flake8-bugbear/23.9.16
Homepage: https://github.com/PyCQA/flake8-bugbear
Repository: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/b902_extended.py`.
 - 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: 352.
 - Total lines of Python code deleted: 286.

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

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2023-09-17 01:22:41 +01:00
Anders Kaseorg
0ea043253e Fix psycopg2.sql.SQL.join annotation (#10716) 2023-09-15 20:16:47 +02:00
Ali Hamdan
71a35b4343 psycopg2: Add missing modules, add annotations (#10630) 2023-09-13 12:11:54 +02:00
Sebastian Rittau
c31e12fff1 [redis] Don't recommend uninstalling types-redis (#10694) 2023-09-12 17:49:26 +02:00
Alex Waygood
66771da404 Always install six when stubtesting types-google-cloud-ndb (#10704)
Fixes #10703
2023-09-12 15:00:44 +01:00
Avasam
32535ee895 openpyxl: Typed from_tree methods (#10602) 2023-09-11 16:43:16 +02:00
David Salvisberg
ae9d22574e Add stubs for requests-oauthlib (#10658) 2023-09-11 16:20:11 +02:00
Martina Oefelein
011b5b9c2c openpyxl: CellRange: title should not be required (#10688)
Fixes #10682
2023-09-10 16:00:49 +02:00
github-actions[bot]
703ed36d5a [stubsabot] Bump hdbcli to 2.18.* (#10687) 2023-09-09 11:48:19 +02:00
Alex Waygood
aa39b996e9 Pin tree-sitter to 0.20.1 (#10677) 2023-09-07 11:23:43 +01:00
github-actions[bot]
06d83d48e7 [stubsabot] Bump setuptools to 68.2.* (#10674)
Release: https://pypi.org/pypi/setuptools/68.2.0
Homepage: https://github.com/pypa/setuptools
Repository: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v68.1.2...v68.2.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `setuptools/tests/test_core_metadata.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 7 files included in typeshed's stubs have been modified or renamed: `setuptools/__init__.py`, `setuptools/command/editable_wheel.py`, `setuptools/command/egg_info.py`, `setuptools/depends.py`, `setuptools/dist.py`, `setuptools/monkey.py`, `setuptools/namespaces.py`.
 - Total lines of Python code added: 1051.
 - Total lines of Python code deleted: 682.
2023-09-07 02:36:30 +01:00
mobyw
fed788f2eb [Pillow] Fix typing of FreeTypeFont.getlength (#10663) 2023-09-05 14:02:14 +02:00
Nikita Sobolev
f0ba5ba2a2 Update unittest.mock to 3.12 (#10650)
And harmonise some annotations between the stdlib `unittest.mock` module and the third-party `mock` backport package.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 15:03:39 +01:00
Jun Komoda
4009efa349 _CField as a generic descriptor protocol (#10595) 2023-09-01 16:23:33 +02:00
David Salvisberg
9552ec7f72 Add stubs for libsass (#10638) 2023-09-01 13:53:05 +02:00
Alex Waygood
a4f08bd07f setuptools: add various missing objects and annotations (#10639) 2023-08-30 13:46:20 -07:00
github-actions[bot]
8e8b1ecf55 [stubsabot] Bump braintree to 4.22.* (#10631)
Release: https://pypi.org/pypi/braintree/4.22.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.21.0...4.22.0
2023-08-29 19:07:15 -07:00
Shantanu
2e407d370b pika: fix ci (#10633) 2023-08-29 18:54:23 -07:00
github-actions[bot]
126205d915 [stubsabot] Bump singledispatch to 4.1.* (#10624)
Release: https://pypi.org/pypi/singledispatch/4.1.0
Homepage: https://github.com/jaraco/singledispatch
Repository: https://github.com/jaraco/singledispatch
Diff: https://github.com/jaraco/singledispatch/compare/v4.0.0...v4.1.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 174.
 - Total lines of Python code deleted: 434.
2023-08-29 10:43:07 +01:00
Nikita Sobolev
2c1db00761 Consistently use Generic as the last base class (#10610) 2023-08-28 10:16:54 +02:00
Nikita Sobolev
3b9ab5e9b1 Update ibm-db to 3.2.* (#10622) 2023-08-27 21:24:22 +01:00
github-actions[bot]
94ddcf87da [stubsabot] Mark pluggy as obsolete since 1.3.0 (#10618)
Release: https://pypi.org/pypi/pluggy/1.3.0
Homepage: https://github.com/pytest-dev/pluggy
Repository: https://github.com/pytest-dev/pluggy
Diff: https://github.com/pytest-dev/pluggy/compare/1.2.0...1.3.0

Co-authored-by: stubsabot <>
2023-08-27 09:15:28 +01:00
treasuryspring
ef63aec06b Add stubs for workalendar (#10614)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2023-08-25 22:55:02 +03:00
Mehdi ABAAKOUK
32b750b6aa redis: Improve typing of xadd/xdel (#10531)
typing copied from
https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xadd
https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xdel
2023-08-22 13:28:15 +01:00
Andrés Ignacio Torres
2c15a8e790 Add usersettings stub files (#10598) 2023-08-21 21:27:48 +02:00
Sebastian Rittau
695d41f487 Bump aiofiles to 23.2.* (#10584) 2023-08-16 12:05:42 +01:00
Sebastian Rittau
ca157cc3c1 Bump influxdb-client to 1.37.* (#10585)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-16 12:03:11 +01:00
Nikita Sobolev
daf51f057b Bump pyright version (#10591)
Release: https://github.com/microsoft/pyright/releases/tag/1.1.323

Fix types-pika to work with the latest pyright version.

---------

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-16 10:18:41 +01:00