Commit Graph

8546 Commits

Author SHA1 Message Date
Abderrahim HADDADI
dc3cc9578b requests: annotate utils.get_encoding_from_headers() (#10901) 2023-10-18 00:31:16 +02:00
Nikita Sobolev
41ac46ce21 Bump ruff to 0.1.0 (#10900) 2023-10-17 11:03:38 +01: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
Pavel Karateev
838dd3a5ba Add sys.monitoring from Python 3.12 (#10890)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-16 13:50:06 +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
Ali Hamdan
db3f84e5c2 Allow specifying python version in runtests script (#10881)
This makes the script usable for packages that do not support the minimum
python version hardcoded in the script.

Another part of #10722
2023-10-13 23:37:12 +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
Alex Waygood
f3506eba47 Bump various test dependency pins (#10877) 2023-10-13 13:07:52 +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
Sebastian Rittau
7e2a3413fa Fix mypy_test if mypy returns negative exit code (#10866) 2023-10-11 14:53:16 +02: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
Sebastian Rittau
3632fc225c Extend and fix zipfile (#10861)
* Add `CompleteDirs` and `FastLookup` (Python 3.8+).
* Add `Path.root` (Python 3.8+).
* Use concrete signature for `Path.open()` (Python 3.8).
* Fix signature of `Path.open()` for Python 3.9+:
   + Add overloads for text and binary modes with fixed return types.
   + Disallow extra arguments for binary modes.
   + Replace `*args` and `**kwargs` with accepted arguments for
     text modes.

Closes: #10847
2023-10-08 06:30:51 -07:00
Alex Waygood
c47be697a3 locale: put all the imports together at the top (#10860) 2023-10-08 14:18:27 +02:00
Sebastian Rittau
a042be6b17 Add a section "Stub package versioning" (#10840) 2023-10-08 13:00:55 +02:00
Nikita Sobolev
5531e9d470 Add _locale module (#10859)
More accurately reflect the platform availability of several constants and functions in `locale`.
2023-10-08 12:55:19 +02:00
Nikita Sobolev
64d6d96568 Bump pyright pin (#10858) 2023-10-08 08:21:19 +02:00
Alex Waygood
e4edcf23e0 Fix platform availability of some Unix constants (#10857) 2023-10-07 15:05:20 -07:00
Nikita Sobolev
8acf1944f3 Remove allowlist entries for _ctypes on win (#10855) 2023-10-07 21:43:33 +02:00
Nikita Sobolev
fb994e344b Fix ssl.SSLSocket methods on windows (#10849) 2023-10-07 07:50:52 +01:00
Alex Waygood
a0047c4266 Use Python 3.11 for the stub_uploader tests in the daily test (#10854) 2023-10-07 01:51:15 +01: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
Nikita Sobolev
48d4f7a6a5 Add winreg.HKEYType.handle property (#10848) 2023-10-06 19:20:12 +01:00
Alex Waygood
c5599572d4 Use stricter pyright settings when testing pyjks (#10846) 2023-10-06 15:01:04 +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
Nikita Sobolev
a12b2053cd Add SetErrorMode to msvcrt module (#10842) 2023-10-05 22:06:11 +01: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
James Hilton-Balfe
25eb99cbec Add better types for asyncio.gather (#9678) 2023-10-04 10:10:41 +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
Nikita Sobolev
cc5b3f8bc4 Fix platform availability of some os/posix constants (#10831) 2023-10-03 15:20:00 +01:00
pre-commit-ci[bot]
ff520ca9f2 Bump ruff to 0.0.292 (#10830)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.292)
2023-10-03 12:54:45 +01: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
Alex Waygood
860e34eec9 Fix allowlist entries in asyncio.windows_events (#10824)
And fix the return value of return value of `IocpProactor.recvfrom_into()`, which was incorrect

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-02 16:04:11 +01:00