Commit Graph

7808 Commits

Author SHA1 Message Date
Alex Waygood
2279886964 Style: prefer type[Foo | Bar] over type[Foo] | type[Bar] (#10039) 2023-04-13 11:34:53 +02:00
ankm20
084f555793 [cffi] dlopen(None) works when platform != win32 (#10042) 2023-04-13 11:28:21 +02:00
Alex Waygood
308a36bf5c Delete allowlist for croniter (#10041)
Fixes #10040
2023-04-12 17:37:13 -07:00
Sebastian Rittau
be0ef21167 [zipfile] Move protocol behind version gate (#10036)
This protocol is only used for our Python 3.8 stubs. Therefore it's best to limit its availability as much as
possible.
2023-04-12 15:07:49 +01:00
Sebastian Rittau
8f17863f0c [pyOpenSSL] Fix return type of SSLeay_version (#10037)
Closes: #10024
2023-04-12 15:01:30 +01:00
Daniel Bergamin
be4f64cc4f [ujson] Update stubs with new features (#10035) 2023-04-12 15:47:37 +02:00
Grigoriev Semyon
731205772a zipfile.Path.open() signature fix (#10033) 2023-04-12 14:23:11 +02:00
github-actions[bot]
96a5a835a2 [stubsabot] Bump pyinstaller to 5.10.* (#10034) 2023-04-12 09:05:40 +02:00
Alex Waygood
557fb3326a mypy_primer: Run on Python 3.11 (#9336)
`mypy_primer` now runs on Python 3.11 in CI, meaning we get `mypy_primer` coverage for PRs fiddling with `ExceptionGroup`s or other new features added in Python 3.11
2023-04-11 11:51:09 +01:00
github-actions[bot]
266f9a81b1 [stubsabot] Bump Pygments to 2.15.* (#10030)
Release: https://pypi.org/pypi/Pygments/2.15.0
Homepage: https://pygments.org
Changelog: https://github.com/pygments/pygments/blob/master/CHANGES
Diff: https://github.com/pygments/pygments/compare/2.14.0...2.15.0

Stubsabot analysis of the diff between the two releases:
 - 3 public Python files have been added: `pygments/lexers/carbon.py`, `pygments/lexers/dax.py`, `pygments/lexers/wgsl.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 28 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 2582.
 - Total lines of Python code deleted: 502.
2023-04-11 02:32:41 +01:00
Alex Waygood
a035372a91 Bump various test dependencies (#10028) 2023-04-10 13:58:26 +01:00
Nikita Sobolev
02b8f77630 Update croniter to 1.3.10 (#10027)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-09 16:03:33 +01:00
Nikita Sobolev
3102875bce bs4: update for 4.12.2 (#10026)
Release: https://pypi.org/project/beautifulsoup4/4.12.2/
2023-04-09 15:49:29 +01:00
Tomas R
cc674b5dce Add a stub for sys.thread_info (#10016) 2023-04-07 11:31:57 +03:00
github-actions[bot]
49815eac25 [stubsabot] Bump braintree to 4.19.* (#10017)
Release: https://pypi.org/pypi/braintree/4.19.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
2023-04-07 06:51:59 +01:00
Shantanu
1c0500a570 bs4: update for 4.12.1 (#10015) 2023-04-06 08:05:21 +01:00
ankm20
e7a0f71790 cffi: fix FFI.string signature (#10012)
Keeps _cffi_backend.pyi consistent with api.pyi
2023-04-05 17:34:28 -07:00
Alex Waygood
60939b00af Various improvements to non-generated protobuf stubs (#10010) 2023-04-04 13:44:58 +01:00
Alex Waygood
755e2bda7e google-cloud-ndb, paramiko, setuptools: remove unnecessary = ...s (#10011) 2023-04-04 13:40:16 +01:00
Alex Waygood
fe67f034f2 Various improvements to dateutil.rrule stubs (#10009) 2023-04-04 13:33:54 +01:00
Alex Waygood
fe9eb630ee Various improvements to Markdown stubs (#10008) 2023-04-04 12:56:03 +01:00
github-actions[bot]
8949dd62fa Update aws-xray-sdk to 2.12.* (#10005)
Release: https://pypi.org/pypi/aws-xray-sdk/2.12.0
Homepage: https://github.com/aws/aws-xray-sdk-python
Diff: https://github.com/aws/aws-xray-sdk-python/compare/2.11.0...2.12.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.
 - 5 files included in typeshed's stubs have been modified or renamed: `aws_xray_sdk/core/async_recorder.py`, `aws_xray_sdk/core/context.py`, `aws_xray_sdk/core/patcher.py`, `aws_xray_sdk/core/recorder.py`, `aws_xray_sdk/version.py`.
 - Total lines of Python code added: 148.
 - Total lines of Python code deleted: 132.

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-04-04 12:10:07 +01:00
pre-commit-ci[bot]
4d9ca511c0 [pre-commit.ci] pre-commit autoupdate (#10007)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)

* Update requirements-tests.txt

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-04 09:12:24 +01:00
Nikita Sobolev
30fd9b4ffa dataclasses.make_dataclass has a new parameter in 3.12 (#10006)
Source 810d365b5e/Lib/dataclasses.py (L1403)
2023-04-04 04:50:19 +03:00
Akuli
f20cb4ed45 Accept int in tkinter.Canvas dash arguments (#10004) 2023-04-03 20:58:27 +02:00
Victor Westerhuis
6a242fd1ee Fix return types for asyncio recvfrom, recvfrom_into, and sendto (#10000)
Closes #9999
2023-04-03 11:58:12 +02:00
spatinom
f828ce63e8 Fix return type of protobuf.ScalarMap.get() (#9996) 2023-04-03 11:50:34 +02:00
Alex Waygood
88a9e900b6 Improve urlunsplit and urlunparse (#9991) 2023-04-02 11:52:09 +01:00
Alex Waygood
6fd245d890 Remove stubs for D3DShot (#9995) 2023-04-01 16:14:25 +02:00
Nikita Sobolev
6a37fb050a Mark types-D3DShot as no longer updated (#8929)
`D3DShot` is an archived repo

Link: https://github.com/SerpentAI/D3DShot
2023-04-01 10:41:14 +01:00
Nikita Sobolev
6f9f13d781 Remove stubs for termcolor (#9986) 2023-04-01 10:39:45 +01:00
Nikita Sobolev
4b04bf49bb Remove stubs for prettytable (#9988) 2023-04-01 10:39:17 +01:00
Ali Hamdan
6bb40e95ac xml: NodeList.length is read-only (#9994)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-31 23:55:46 +01:00
github-actions[bot]
34018d6a2c [stubsabot] Bump flake8-simplify to 0.20.* (#9993)
Release: https://pypi.org/pypi/flake8-simplify/0.20.0
Homepage: https://github.com/MartinThoma/flake8-simplify
2023-03-31 01:19:29 +01:00
github-actions[bot]
a06bf1fe1d Bump dj-database-url to 1.3.* (#9975)
Release: https://pypi.org/pypi/dj-database-url/1.3.0
Homepage: https://github.com/jazzband/dj-database-url
Diff: https://github.com/jazzband/dj-database-url/compare/v1.2.0...v1.3.0

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-03-30 19:23:44 +01:00
Nikita Sobolev
972958a406 functools.cached_property.__get__ returns Self (#9992)
Source code: 21e9de3bf0/Lib/functools.py (L979-L980)
2023-03-30 17:37:15 +01:00
Alex Waygood
47ce3cb8db Xlib: Use bool for parameters where the default is False (#9990) 2023-03-30 15:05:22 +01:00
Nikita Sobolev
619125b722 Remove useless overloads from sys.getsizeof (#9987) 2023-03-30 13:23:56 +01:00
Nikita Sobolev
2dd5e0462c Remove xxhash (#9985) 2023-03-30 13:57:07 +02:00
github-actions[bot]
6f3e568cec [stubsabot] Bump pytz to 2023.3 (#9984) 2023-03-30 09:18:06 +02:00
Alex Waygood
ff3b558fb3 colorama.winterm: ClassVar -> Final for WinColor and WinStyle (#9983) 2023-03-30 00:14:53 +02:00
Riley Flynn
509ba05c27 [redis] Add CredentialProvider types to __init__.pyi (#9982) 2023-03-30 00:13:27 +02:00
Raphaël Vinot
51cef77ac5 [redis] Fix type of connection_class in ConnectionPool (#9981)
Update stubs to 4.5.4
2023-03-29 22:16:18 +02:00
Alex Waygood
ed915c5cde Remove unnecessary = ...s; bump pyright test dependency to 1.1.301 (#9972) 2023-03-29 13:52:43 +02:00
Sebastian Rittau
027460f11a Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
2023-03-29 13:28:06 +02:00
Alex Waygood
8df767f163 Add default values to pika.spec (#9973) 2023-03-29 11:46:53 +02:00
Avasam
d00bc529fa Fix a default in pycurl and update apt_dependencies (#9961)
Fix 1 default and update apt dependencies
2023-03-28 20:02:36 -07:00
Akuli
87c1b949cd Delete some unnecessary type aliases in tkinter (#9970) 2023-03-28 20:37:29 +03:00
Alex Waygood
ccc4b7a034 Add defaults to third-party stubs U-Z (#9971) 2023-03-28 19:33:38 +02:00
Avery Fischer (biggerfisch)
6b485a8823 Add retry parameters to redis.client.from_url (#9969) 2023-03-28 13:45:54 +02:00