Commit Graph

2065 Commits

Author SHA1 Message Date
github-actions[bot]
4a854366e0 [stubsabot] Bump pyinstaller to 6.1.* (#10885)
Release: https://pypi.org/pypi/pyinstaller/6.1.0
Homepage: https://www.pyinstaller.org/
Repository: https://github.com/pyinstaller/pyinstaller
Diff: https://github.com/pyinstaller/pyinstaller/compare/v6.0.0...v6.1.0

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `tests/functional/modules/pyi_import_main/hooks/hook-PyInstaller.py`, `tests/functional/modules/pyi_import_main/hooks/hook-pytest.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 5 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/api.py`, `PyInstaller/building/build_main.py`, `PyInstaller/depend/analysis.py`, `PyInstaller/utils/hooks/__init__.py`.
 - Total lines of Python code added: 122.
 - Total lines of Python code deleted: 22.
2023-10-14 07:44:01 +02:00
Sandro Huber
e92bfcbab2 [requests] Allow HTTPError.response to be None (#10875)
This aligns with the definition in requests, but means that user code might
need additional assertions to ensure that `HTTPError.response` is not `None`.
2023-10-13 18:10:56 +02:00
Matt Exact
8f8d369e10 Fix the type for OAuth2Session.authorization_url (#10878)
fix the type for `OAuth2Session.authorization_url`
2023-10-13 12:28:34 +02:00
Jelle Zijlstra
cc38a75587 aws-xray-sdk: update and remove spurious re-exports (#10874)
Fixes #10873

Remove some obsolete compatibility functions that are no longer in the latest
release, and stop re-exporting symbols that clearly weren't meant to be re-exported.
2023-10-12 18:20:47 -07:00
David Salvisberg
95cee3100a Bump WTForms to 3.1.* (#10868)
Co-authored-by: sobolevn <mail@sobolevn.me>
2023-10-11 19:31:22 -07:00
github-actions[bot]
fd37bfb516 [stubsabot] Bump braintree to 4.23.* (#10864)
Release: https://pypi.org/pypi/braintree/4.23.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.22.0...4.23.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: `braintree/resource.py`, `braintree/util/generator.py`, `braintree/version.py`.
 - Total lines of Python code added: 37.
 - Total lines of Python code deleted: 9.
2023-10-11 02:23:48 +02:00
github-actions[bot]
db4d4dbfa3 [stubsabot] Bump croniter to 2.0.* (#10863)
Release: https://pypi.org/pypi/croniter/2.0.0
Homepage: http://github.com/kiorky/croniter
Repository: https://github.com/kiorky/croniter
Diff: https://github.com/kiorky/croniter/compare/1.4.1...2.0.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 13.
 - Total lines of Python code deleted: 8.
2023-10-11 02:23:00 +02:00
github-actions[bot]
13673bb07c [stubsabot] Bump bleach to 6.1.* (#10852)
Release: https://pypi.org/pypi/bleach/6.1.0
Homepage: https://github.com/mozilla/bleach
Repository: https://github.com/mozilla/bleach
Diff: https://github.com/mozilla/bleach/compare/v6.0.0...v6.1.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: `bleach/__init__.py`, `bleach/html5lib_shim.py`, `bleach/linkifier.py`.
 - Total lines of Python code added: 41.
 - Total lines of Python code deleted: 14.
2023-10-07 01:33:42 +01:00
github-actions[bot]
5680c6fb40 [stubsabot] Bump Markdown to 3.5.* (#10851)
Release: https://pypi.org/pypi/Markdown/3.5
Homepage: https://Python-Markdown.github.io/
Repository: https://github.com/Python-Markdown/markdown
Changelog: https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/index.md
Diff: https://github.com/Python-Markdown/markdown/compare/3.4.4...3.5

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `scripts/gen_ref_nav.py`, `scripts/griffe_extensions.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 30 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 1958.
 - Total lines of Python code deleted: 1067.
2023-10-07 01:30:29 +01:00
Sebastian Rittau
54a8fd74a7 PyInstaller: List ignored building sub-modules explicitly for stubtest (#10845)
This prevents stubtest from ignoring errors in modules that are stubbed.
2023-10-06 12:05:46 +01:00
Marti Raudsepp
ee6df10dcc [pyjks] Fill in jks.bks and other modules, improved constructors (#10815) 2023-10-06 11:09:11 +02:00
Alex Waygood
011f24794d types-requests, types-influxdb-client: add note to the PyPI readme about the urllib3 pin (#10839) 2023-10-05 12:12:47 +01:00
github-actions[bot]
863423fbfe [stubsabot] Bump tzlocal to 5.1 (#10836)
Release: https://pypi.org/pypi/tzlocal/5.1
Repository: https://github.com/regebro/tzlocal
Diff: https://github.com/regebro/tzlocal/compare/5.0.1...5.1

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: `tzlocal/windows_tz.py`.
 - Total lines of Python code added: 39.
 - Total lines of Python code deleted: 15.
2023-10-05 01:28:44 +01:00
Sebastian Rittau
af8c3a1b93 [bleach] Add html5lib_shim.Filter__init__/__iter__ (#10835)
The missing __init__ method caused `Filter` to be incompatible
with the `_Filter` protocol, preventing valid initialization of
`Cleaner` instances.

Closes: #10834
2023-10-04 17:19:26 +01:00
Avasam
c30c85dfcb Type all @property in openpyxl (#10787) 2023-10-04 11:05:30 +02:00
Avasam
741f751c2e Bump pyasn1 to 0.5.* (#10801) 2023-10-04 10:59:15 +02:00
David Salvisberg
2e62753e2f Bump greenlet to 3.0.* (#10833) 2023-10-03 23:24:55 -07:00
github-actions[bot]
d60e66712a [stubsabot] Bump regex to 2023.10.3 (#10832) 2023-10-03 18:41:22 -07:00
github-actions[bot]
ca139ad726 [stubsabot] Bump influxdb-client to 1.38.* (#10826)
Release: https://pypi.org/pypi/influxdb-client/1.38.0
Homepage: https://github.com/influxdata/influxdb-client-python
Repository: https://github.com/influxdata/influxdb-client-python
Diff: https://github.com/influxdata/influxdb-client-python/compare/v1.37.0...v1.38.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: `influxdb_client/_sync/rest.py`, `influxdb_client/client/write/dataframe_serializer.py`, `influxdb_client/version.py`.
 - Total lines of Python code added: 13.
 - Total lines of Python code deleted: 12.
2023-10-03 11:36:17 +01:00
github-actions[bot]
8f8eb2018e [stubsabot] Bump flake8-typing-imports to 1.15.* (#10827)
Release: https://pypi.org/pypi/flake8-typing-imports/1.15.0
Homepage: https://github.com/asottile/flake8-typing-imports
Repository: https://github.com/asottile/flake8-typing-imports
Diff: https://github.com/asottile/flake8-typing-imports/compare/v1.14.0...v1.15.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.
 - 1 file included in typeshed's stubs has been modified or renamed: `flake8_typing_imports.py`.
 - Total lines of Python code added: 288.
 - Total lines of Python code deleted: 1651.
2023-10-03 06:07:50 +01:00
Avasam
31916d1e0c Remove redundant NoReturn union in openpyxl (#10819) 2023-10-02 11:07:21 +02:00
Marti Raudsepp
1163a5ecfb Add stubs for pyjks (#10797)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-01 12:31:34 +01:00
Alex Waygood
559d31c4a3 Remove stubs for urllib3 (#10812)
Both types-requests and types-influxdb-client now depend on urllib3>=2 instead of types-urllib3. That in turn means that types-caldav, types-slumber and types-requests-oauthlib all depend indirectly on urllib3>=2, since all three stubs packages depend on types-requests.
2023-10-01 00:01:12 +01:00
Nikita Sobolev
f97fbb4e63 Remove dj-database-url stubs (#10806) 2023-09-29 14:33:29 -07:00
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