Commit Graph
100 Commits
Author SHA1 Message Date
Nikita Sobolev 57c435cd7e Update pydoc for 3.12 (#10467) 2023-07-16 11:28:56 +01:00
Nikita Sobolev 3c9522bcfe Bump pyright version (#10454) 2023-07-13 09:08:27 -07:00
Nikita Sobolev 17c0421c29 Adds py3.12 constants to sqlite3 (#10453) 2023-07-13 16:49:34 +01:00
Nikita Sobolev f843922df8 datetime: Remove unused stubtest allowlist entry for py312 (#10277) 2023-07-12 21:06:06 +01:00
Nikita SobolevandAlexWaygood e7ba0327e1 Remove SQLAlchemy stubs (#10389)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-07-08 10:24:59 +01:00
Nikita Sobolev 702226e1fd Add missing TCP_CONNECTION_INFO to socket module (#10402) 2023-07-04 12:32:38 +02:00
Nikita Sobolev 31dca1d660 Update inspect for Python3.12 (#10398) 2023-07-03 14:54:19 +02:00
Nikita Sobolev 3d352e85e5 Use proper return types for __await__ methods in redis.asyncio.client (#10379) 2023-07-01 18:40:40 +01:00
Nikita Sobolev 8162faa934 Fix signature of http.client.HTTPSConnection for Python 3.12 (#10392) 2023-07-01 18:31:47 +01:00
Nikita SobolevandAlex Waygood a8051fb2c4 Add _generate_next_value_ to StrEnum (#10390)
Fixes https://github.com/python/typeshed/issues/10384

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-01 18:28:09 +01:00
Nikita Sobolev ae5b28ff37 Stricter pyright checks for inifile (#10382) 2023-06-28 22:57:25 +01:00
Nikita Sobolev 1d59c5cb13 Bump PyMySQL to 1.1.* (#10376) 2023-06-28 12:28:11 +02:00
Nikita Sobolev d492efeaea email.utils.localtime: py312 updates (#10358) 2023-06-25 12:02:11 +01:00
Nikita Sobolev 75fc33d8d0 Update zoneinfo for Python3.12 (#10304) 2023-06-12 12:34:03 +03:00
Nikita Sobolev 0b98780c81 Add new http.HTTPStatus/__init__.pyi for Python3.12 (#10296) 2023-06-10 10:34:28 +01:00
Nikita SobolevandAlex Waygood 0aa5dd57e5 Update ctypes stubs for Python 3.12 (#10290)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-09 19:55:03 +01:00
Nikita Sobolev 1851423519 Fix CI for Python 3.12.0b2 (#10291) 2023-06-09 18:17:30 +01:00
Nikita Sobolev 258cabe3a1 Update uuid.pyi for Python3.12 (#10289) 2023-06-09 09:33:08 +01:00
Nikita Sobolev f0e9ec11e4 Add AsyncGeneratorType.ag_suspended (#10288)
New in Python 3.12
2023-06-09 08:40:23 +01:00
Nikita Sobolev 852ac3efb3 Update _thread.pyi for Python3.12 (#10285) 2023-06-08 15:23:57 +02:00
Nikita Sobolev 0045299d43 Update token.pyi and tokenize.pyi for Python3.12 (#10283) 2023-06-08 08:38:36 +01:00
Nikita Sobolev 8528888691 Update multiprocessing.pyi for Python3.12 (#10279) 2023-06-08 08:37:44 +01:00
Nikita Sobolev 23bb0494ab Update pkgutil.pyi for Python3.12 (#10281) 2023-06-08 08:37:15 +01:00
Nikita Sobolev 8eb5751084 Module imp was removed in 3.12 (#10278) 2023-06-08 07:49:25 +01:00
Nikita Sobolev b0a3917145 Update dis.pyi and opcode.pyi for Python3.12 (#10276) 2023-06-07 20:33:50 +01:00
Nikita Sobolev f10b5fb9b6 Update locale.pyi for Python3.12 (#10274) 2023-06-07 19:41:07 +01:00
Nikita Sobolev e347af1d59 Update functools.pyi for Python3.12 (#10269) 2023-06-06 22:48:36 +01:00
Nikita Sobolev 9456f5501b Update socket stubs for Python3.12 (#10247)
Docs: https://github.com/python/cpython/blob/3.12/Doc/library/socket.rst
Source: https://github.com/python/cpython/blob/3.12/Modules/socketmodule.c#L8441
2023-06-05 09:32:02 +01:00
Nikita Sobolev 59d08c00d5 Update sys.pyi for Python3.12 (#10245)
Source: https://github.com/python/cpython/blob/3.12/Python/sysmodule.c
Docs: https://github.com/python/cpython/blob/3.12/Doc/library/sys.rst
2023-06-05 09:07:37 +01:00
Nikita Sobolev c1a857a41a distutils package was removed in 3.12 (#10249) 2023-06-03 22:08:09 -07:00
Nikita Sobolev b25150aa30 py312: Add delete=True parameter to tempfile.TemporaryDirectory (#10244)
Source: https://github.com/python/cpython/blob/3.12/Lib/tempfile.py#L864
2023-06-03 14:30:30 +01:00
Nikita Sobolev e5651db430 Update socketserver for Python3.12 (#10246)
Source: https://github.com/python/cpython/blob/3.12/Lib/socketserver.py
2023-06-03 13:53:51 +01:00
Nikita Sobolev c85f7de957 Update csv stubs for Python3.12 (#10250) 2023-06-03 13:45:43 +01:00
Nikita Sobolev 185faf00cd Update threading for py312 (#10241)
Add `setprofile_all_threads` and `settrace_all_threads`
2023-06-02 16:27:54 +01:00
Nikita Sobolev 178184c949 Update zipimport for python3.12 (#10240)
The `find_loader` and `find_module` methods were removed: https://github.com/python/cpython/blob/3.12/Lib/zipimport.py
2023-06-02 16:11:13 +01:00
Nikita Sobolev 6de0aa0c70 CI: Unpin micro-versions (#10239) 2023-06-02 11:23:33 +01:00
Nikita Sobolev 7595478998 Bump paramiko to 3.2.* (#10237) 2023-06-01 12:21:55 +02:00
Nikita Sobolev 877e06ad1c Remove chardet stubs (#10234) 2023-05-31 14:19:47 -07:00
Nikita Sobolev e666602d14 asyncore and asynchat will be removed in 3.12 (#9033) 2023-05-23 19:16:25 +02:00
Nikita Sobolev f143f47b11 Mark invoke as obsolete since 2.1.2 (#10100) 2023-05-16 09:21:31 +01:00
Nikita Sobolev c98e43b2bb Bump tzlocal to 5.0.1 (#10188) 2023-05-16 08:40:54 +01:00
Nikita Sobolev f7d7bb53ca Change asyncio.Task.__init__ signature for Python 3.12 (#10184) 2023-05-15 13:34:45 +02:00
Nikita Sobolev b25a5b6aef Use _AwaitableLike in EventLoop.run_until_complete (#10181) 2023-05-15 09:34:50 +01:00
Nikita Sobolev 3032e88595 Bump tzlocal to 5.0 (#10183) 2023-05-15 01:01:59 -07:00
Nikita Sobolev 15a0c28530 Use _CoroutineLike in asyncio.taskgroups (#10180) 2023-05-14 13:32:27 +01:00
Nikita SobolevandAlex Waygood 1d8a199582 [asyncio] Make create_task work with coroutines only in 3.12 (#10177)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-14 12:16:26 +01:00
Nikita SobolevandAlex Waygood aa36289684 Bump PyInstaller to 5.11.* (#10179)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-14 11:52:19 +01:00
Nikita SobolevandAlexWaygood 6c54c74a84 Bump mypy to 1.3.0 (#10173)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-05-11 19:03:39 +01:00
Nikita Sobolev adddc4f24a Bump docutils to 0.20.* (#10167) 2023-05-10 12:40:27 +03:00
Nikita Sobolev caceaca974 [redis] Add new methods to RedisClusterCommands (#10162) 2023-05-09 14:43:35 +01:00
Nikita Sobolev 0f96850532 Update redis to 4.5.5 (#10161) 2023-05-09 14:18:50 +01:00
Nikita Sobolev a2457367d0 Remove emoji stubs (#10160)
Remove `emoji` stubs, refs #8760
2023-05-09 09:28:11 +01:00
Nikita Sobolev f42f665fa1 Update hdbcli to 2.16 and mark as completed (#10101) 2023-04-29 06:26:16 -07:00
Nikita Sobolev 1d9f35369d functools: Add cache_parameters method to _lru_cache_wrapper (#10076)
The docs says that `cache_parameters()` function was added in 3.9: https://docs.python.org/3/library/functools.html#functools.lru_cache
Source: https://github.com/python/cpython/blob/af530469954e8ad49f1e071ef31c844b9bfda414/Lib/functools.py#L512
But, `typeshed` does not have it.
2023-04-24 07:29:54 -07:00
Nikita Sobolev 2bfb6d8212 Fix CI, use new termcolor version (#10079) 2023-04-24 07:17:23 -07:00
Nikita Sobolev 22ced49645 Simplify chardet type imports (#10080) 2023-04-24 05:14:17 -07:00
Nikita Sobolev 8af0a1f9e8 Fix typo (#10078) 2023-04-24 04:43:18 -07:00
Nikita Sobolev cd3f52ac14 Simplify logging.config type imports (#10077) 2023-04-24 14:41:10 +03:00
Nikita Sobolev 7dcec5b3db Bump simplejson to 3.19.* (#10049) 2023-04-15 01:22:41 -07:00
Nikita SobolevandAlex Waygood 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
Nikita Sobolev 30fd9b4ffa dataclasses.make_dataclass has a new parameter in 3.12 (#10006)
Source https://github.com/python/cpython/blob/810d365b5eb2cf3043957ca2971f6e7a7cd87d0d/Lib/dataclasses.py#L1403
2023-04-04 04:50:19 +03: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
Nikita Sobolev 972958a406 functools.cached_property.__get__ returns Self (#9992)
Source code: https://github.com/python/cpython/blob/21e9de3bf0ecf32cd61296009518bfb9fdfcd04f/Lib/functools.py#L979-L980
2023-03-30 17:37:15 +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
Nikita Sobolev bacb8f7f40 uuid.uuid{3,5} accept bytes in 3.12 (#9936) 2023-03-24 13:03:41 +01:00
Nikita Sobolevandpre-commit-ci[bot] 130ba2ea60 Support SupportsIndex in constructors for all datetime objects (#9915)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-21 19:56:31 +03:00
Nikita Sobolev 1387a9efa9 Mark threading.(R)Lock as final (#9753)
These are actually factory functions: https://github.com/python/cpython/blob/128379b8cdb88a6d3d7fed24df082c9a654b3fb8/Lib/threading.py#L108

The pure-Python version of `RLock` is, strictly-speaking, subclassable. But you're not *meant* to subclass `RLock`, even if you *can* with the pure-Python version: https://discuss.python.org/t/make-threading-lock-rlock-factory-functions-subclassable/24008/2
2023-02-19 12:21:55 +00:00
62c54da134 Complete python-crontab (#9306)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-02-07 05:21:06 -08:00
Nikita Sobolev f7cb7f33b2 Use OSError instead of IOError (#9683) 2023-02-06 18:56:32 +00:00
Nikita Sobolev c96079f0df urllib.HTTPError.headers is a settable property (#9682) 2023-02-06 18:56:08 +00:00
Nikita Sobolev 6f6dad117d compile can only work with ast.Module | ast.Expression | ast.Interactive (#9424) 2022-12-29 11:25:07 +01:00
Nikita Sobolev 0e4c59a076 ast.get_docstring does not work with arbitrary AST nodes (#9407) 2022-12-24 18:43:44 +00:00
Nikita SobolevandAlex Waygood fce46d22ff Mark dateparser as complete (#9312)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-02 18:50:21 +00:00
Nikita Sobolev bc1da6a748 Remove unused code from pytype_test.py (#9317) 2022-12-02 18:33:24 +00:00
Nikita SobolevandAlex Waygood 3c9d1bd942 Mark httplib2 as complete (#9311)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-01 15:21:01 +00:00
Nikita Sobolev 91c72cffd1 Remove dockerfile-parse from pyright's exclude (#9310)
Remove unnecessary dependency on types-six
2022-12-01 13:05:57 +00:00
Nikita Sobolev 8ac9f1eb56 Mark humanfriendly as complete (#9309) 2022-12-01 12:55:39 +00:00
Nikita Sobolev df0a062b34 Mark passlib as completed (#9302) 2022-11-29 12:07:17 +00:00
Nikita Sobolev 579a3aa70a Mark PyAutoGUI as complete (#9300) 2022-11-29 09:17:13 +00:00
Nikita Sobolev ea2ccc3c21 Improve annotations for __instancecheck__, __subclasscheck__ (#9291) 2022-11-28 11:15:02 +00:00
Nikita Sobolev c6800d1214 sqlalchemy: add return types for known magic methods (#9290) 2022-11-27 23:55:36 -08:00
Nikita Sobolev a29624ee42 [redis] update to 4.3.5 (#9284) 2022-11-27 22:23:51 -08:00
Nikita Sobolev 7806607df9 Improve error message of Unrecognised platforms specified (#9283) 2022-11-26 14:46:43 +01:00
Nikita Sobolev bdf036d516 check_consistent.py: Add check ensuring packages are not installed for unspecified platforms (#9265) 2022-11-25 10:11:59 +00:00
Nikita Sobolev 6cd33f951d Exclude stubs/cryptoghraphy from CI to fix pyright (#9258)
Fix pyright
2022-11-23 13:18:03 +00:00
Nikita SobolevandAlex Waygood bd75ceb0b6 Fix stdlib stubtest failures on main (#9255)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-23 10:07:05 +00:00
Nikita Sobolev d633bebbf9 Add a note that if sys.version_info is still required in test_cases (#9254) 2022-11-23 09:04:52 +00:00
Nikita Sobolev f8dfb5f725 Mark regex as completed (#9214) 2022-11-22 21:03:01 -08:00
Nikita Sobolev a580eda64e Mark pynput as completed (#9235) 2022-11-22 20:46:29 -08:00
ae58142e6e Fix typings of ExceptionGroup and BaseExceptionGroup (#9230)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-11-22 20:46:03 -08:00
Nikita Sobolev e1aa4d5285 Add types to multiprocessing/reduction.pyi (#9171) 2022-11-22 14:02:14 +00:00
Nikita Sobolev 40d4676d6a __unicode__ always returns str (#9248) 2022-11-22 11:52:03 +00:00
Nikita Sobolev 18e2ae762b Mark first argument of __[get|set|del]attr__ as str (#9245) 2022-11-22 11:06:50 +00:00
Nikita Sobolev 3026610797 Mark polib as complete (#9244) 2022-11-22 10:18:49 +00:00
Nikita Sobolev a948ef02d5 Finish slumber annotations (#9237) 2022-11-21 17:48:46 +01:00
Nikita Sobolev 8a46e34bc3 Mark pyRFC3339 as completed (#9233) 2022-11-21 09:16:48 +00:00