Commit Graph

1752 Commits

Author SHA1 Message Date
Alex Waygood
516f665505 Bump flake8-pyi to 23.11.0 (#10997) 2023-11-08 16:01:24 +00:00
github-actions[bot]
4020d25686 [stubsabot] Bump braintree to 4.24.* (#10993)
Release: https://pypi.org/pypi/braintree/4.24.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.23.0...4.24.0

Stubsabot analysis of the diff between the two releases:
 - 4 public Python files have been added: `braintree/meta_checkout_card.py`, `braintree/meta_checkout_token.py`, `tests/unit/test_meta_checkout_card.py`, `tests/unit/test_meta_checkout_token.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 7 files included in typeshed's stubs have been modified or renamed: `braintree/payment_instrument_type.py`, `braintree/payment_method.py`, `braintree/transaction.py`, `braintree/us_bank_account_verification.py`, `braintree/version.py`, `braintree/webhook_notification.py`, `braintree/webhook_testing_gateway.py`.
 - Total lines of Python code added: 738.
 - Total lines of Python code deleted: 49.
2023-11-08 00:16:51 +00:00
Alex Lowe
820be9bfe9 Add pyxdg stubs (#10163)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-11-06 16:57:09 -08:00
Sebastian Rittau
6c5d1d3ae8 [seaborn] Add upstream_repository field (#10982) 2023-11-06 13:44:22 +00:00
Alex Waygood
8023ba764a Remove redundant inheritances from Generic and various typing protocols (#10981) 2023-11-06 14:00:25 +01:00
github-actions[bot]
1c51689b26 [stubsabot] Bump flake8-builtins to 2.2.* (#10975)
Release: https://pypi.org/pypi/flake8-builtins/2.2.0
Homepage: https://github.com/gforcada/flake8-builtins
Repository: https://github.com/gforcada/flake8-builtins
Changelog: https://github.com/gforcada/flake8-builtins/blob/main/CHANGES.rst
Diff: https://github.com/gforcada/flake8-builtins/compare/2.1.0...2.2.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_builtins.py`.
 - Total lines of Python code added: 34.
 - Total lines of Python code deleted: 86.

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-11-03 17:43:55 -07:00
Avasam
3a56e0034c xml.etree: Fix tag param in __init__ (#10968) 2023-11-03 14:50:49 +01:00
Oleh Prypin
19650767da Various improvements to Markdown stubs (#10963) 2023-11-02 18:24:17 +01:00
SEONGROK KIM
5122e84f49 Add retry_on_error params for redis stub (#10961) 2023-11-02 17:20:20 +00:00
Avasam
6a2528e6dc openpyxl TypeGuards and comparison dunders (#10962) 2023-11-02 18:17:47 +01:00
github-actions[bot]
b3fa05ae31 [stubsabot] Mark stripe as obsolete since 7.1.0 (#8490) 2023-11-02 15:51:10 +01:00
Avasam
105bb0a060 openpyxl: Type usages of PIL and zipfile (#10706) 2023-11-02 15:28:41 +01:00
Nikita Sobolev
a5d616303d Remove invoke stubs (#10956) 2023-10-31 11:31:31 +01:00
Nikita Sobolev
40e0423a86 Remove pyvmomi stubs (#10957) 2023-10-31 11:31:06 +01:00
Jelle Zijlstra
9fb52127ab jsonschema: move addionalItems (#10955)
daa40b3eaf

Fixes #10953
2023-10-30 17:40:28 -07:00
github-actions[bot]
c74c8b0507 Bump pyOpenSSL to 23.3.* (#10936)
Release: https://pypi.org/pypi/pyOpenSSL/23.3.0
Homepage: https://pyopenssl.org/
Repository: https://github.com/pyca/pyopenssl
Diff: https://github.com/pyca/pyopenssl/compare/23.2.0...23.3.0

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

---
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-29 10:01:38 +00:00
Jelle Zijlstra
9d345b4df4 Add stubs for portpicker (#10944)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-29 01:13:25 +01:00
Avasam
f85c2f4ae1 Type pywin32's win32.win32print.StartDocPrinter method (#10898)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-28 08:48:05 -07:00
Ali Hamdan
c189ca0e15 Add seaborn stubs (#10721) 2023-10-28 07:44:36 -07:00
Ali Hamdan
6748816d43 Enable ruff's isort rules on files generated using mypy-protobuf (#10939)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-10-28 07:27:45 -07:00
Ali Hamdan
306c30a0c7 psycopg2: Fix missing Protocol base class in file protocols (#10943)
This is an error I introduced in #10630 because I didn't know protocols
need to be explicitly inherited from in other protocol subclasses.

The added test shows the change. Basically these protocols were unusable.
2023-10-28 15:09:39 +01:00
Alex Waygood
a08d4c8d2e Remove many redundant inheritances from Generic[] (#10933) 2023-10-26 20:07:20 +02:00
David Salvisberg
17a8c920d9 Finish stubs for webob.cookies and improve samesite type (#10927) 2023-10-26 13:28:15 +02:00
github-actions[bot]
ba3f23b204 [stubsabot] Mark tzlocal as obsolete since 5.2 (#10921)
Release: https://pypi.org/pypi/tzlocal/5.2
Repository: https://github.com/regebro/tzlocal
Changelog: https://github.com/regebro/tzlocal/blob/master/CHANGES.txt
Diff: https://github.com/regebro/tzlocal/compare/5.1...5.2

Co-authored-by: stubsabot <>
2023-10-23 08:48:30 +01:00
Avasam
e477c67852 Check *_pb2.pyi files again (#10909) 2023-10-23 01:22:55 +01:00
Jelle Zijlstra
f9f30cc0f2 Update mypy-protobuf (#10914)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-22 16:31:02 -07:00
Alex Waygood
608eca5234 Improve stubs for braintree.environment (#10907) 2023-10-18 18:49:17 +01:00
Alex Waygood
2f8d01e9ec Bump mypy to 1.6.1 (#10862) 2023-10-18 07:18:05 +01:00
Abderrahim HADDADI
dc3cc9578b requests: annotate utils.get_encoding_from_headers() (#10901) 2023-10-18 00:31:16 +02:00
Avasam
f99e8b0615 Bump Pillow to 10.1.* (#10897) 2023-10-16 22:34:45 +01:00
Avasam
5e13bc08e1 openpyxl: Various minor improvements / previous PR fixes (#10896) 2023-10-16 12:05:00 -07:00
Avasam
9c0f4353ef openpyxl: type __iter__ dunders (#10883) 2023-10-16 17:31:39 +01:00
Nikita Sobolev
bb27e6cd36 Bump peewee to 3.17.* (#10895) 2023-10-16 13:32:46 +02:00
Jelle Zijlstra
cb688d2577 psutil: updates (#10894) 2023-10-15 18:22:11 -07:00
Avasam
df05ff2f52 Typed openpyxl colors descriptors (#10882) 2023-10-15 17:49:57 +02:00
bzoracler
f02c92717b pywin32: Annotate win32com.client.constants (#10888) 2023-10-15 14:17:50 +02:00
github-actions[bot]
1e2be7988b [stubsabot] Bump tree-sitter-languages to 1.8.* (#10889)
Release: https://pypi.org/pypi/tree-sitter-languages/1.8.0
Homepage: https://github.com/grantjenks/py-tree-sitter-languages
Repository: https://github.com/grantjenks/py-tree-sitter-languages
Diff: https://github.com/grantjenks/py-tree-sitter-languages/compare/v1.7.0...v1.8.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: `tree_sitter_languages/__init__.py`.
 - Total lines of Python code added: 5.
 - Total lines of Python code deleted: 1.
2023-10-15 09:31:06 +01:00
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