Commit Graph
100 Commits
Author SHA1 Message Date
Alex Waygood 0c3514d036 Sort VERSIONS alphabetically (#12133) 2024-06-12 16:03:32 +02:00
Alex Waygood 3ab03deec3 Upgrade to latest 3.12 and 3.13 versions for stubtest (#12131) 2024-06-12 05:16:39 -06:00
Alex Waygood 9197ace5ec Bump flake8-pyi to 24.6.0 (#12132) 2024-06-12 11:46:23 +01:00
Alex Waygood 58f2a795ba Pin to older micro versions of Python for stdlib stubtest (#12124) 2024-06-10 11:53:09 +01:00
Alex Waygood 0c45de1c26 Ensure stubtest gets an older version of webcolors when testing jsonschema in CI (#12115) 2024-06-08 22:43:59 -06:00
Alex Waygood 7fc9d65ee2 Fix false positives from @deprecated for shutil.rmtree (#12116) 2024-06-08 21:27:26 +02:00
Alex Waygood 7e7ffdfd7e pin openpyxl to 3.1.2 (#12072)
helps with #12059
2024-05-31 09:54:06 -07:00
Alex Waygood de0fc0afb8 traceback: py313 updates (#12032) 2024-05-27 12:56:44 +01:00
Alex Waygood fc33ba67ba builtins: updates for py313 (#12028) 2024-05-24 15:27:15 -04:00
Alex Waygood 966fbfb300 py313: Consolidate _pyrepl allowlist entries (#12031) 2024-05-24 12:24:20 -07:00
Alex Waygood 2985ef414c typing(_extensions) updates for py313 (#12030) 2024-05-24 15:16:15 -04:00
Alex Waygood 0152a6c134 Add __class_getitem__ methods new in py313 (#12029) 2024-05-24 12:11:22 -07:00
Alex Waygood ac6c61ba04 Stubtest stdlib: unpin 3.11 and 3.12 micro versions (#12022) 2024-05-23 13:24:28 -07:00
Alex Waygood ffa0327845 Use macos-12 for stdlib stubtest in CI (#12021) 2024-05-23 15:36:20 -04:00
Alex Waygood dccc4e1f07 Run stubtest on py313 with macos and Windows in CI (#12020) 2024-05-23 14:55:15 -04:00
Alex Waygood 4bc70e1e4d Use mypy from git for stdlib stubtest (#12016) 2024-05-23 13:08:18 -04:00
Alex Waygood 909b91ef94 Remove language_version from black hook in .pre-commit-config.yaml (#12009) 2024-05-23 10:18:13 -04:00
Alex Waygood 88c7f96d25 Run stubtest on py313 in CI (#11987) 2024-05-20 15:56:41 -04:00
Alex Waygood b8d144d491 Add 3.13 to our CI (#11926) 2024-05-19 16:18:49 -04:00
Alex Waygood 347f8a96b5 regr_test.py: improve several concurrency details (#11984) 2024-05-19 14:21:26 -04:00
Alex Waygood 240114ac1a More PEP-696 updates to typing(_extensions) stubs (#11925) 2024-05-16 22:05:45 -04:00
Alex Waygood 5b0816e784 Fix stdlib stubtest after latest typing-extensions release (#11923) 2024-05-16 16:53:19 -04:00
Alex Waygood 77d6947479 Use stricter pyright settings in CI for assertpy (#11920) 2024-05-15 21:21:47 -04:00
Alex Waygood 7bfde5b676 Pin pynput more tightly (#11897)
Fixes  #11896
2024-05-11 01:40:48 +01:00
Alex Waygood 294f237f05 Use stricter pyright settings for checking flake8 stubs in CI (#11893) 2024-05-10 20:01:31 +01:00
Alex Waygood 2db0b6e655 Fix stubtest for TensorFlow with latest keras release (#11838) 2024-04-27 09:42:34 +01:00
Alex Waygood d0f2be92ab Bump pyright to v1.1.360 (#11810) 2024-04-24 14:09:16 +02:00
Alex Waygood c13f6e166d Fix stubtest errors in tensorflow with keras>=3.3.2 (#11817) 2024-04-23 13:26:02 +02:00
Alex Waygood 1a86b3b3fe stubtest_third_party.py, mypy_test.py: just print everything to stdout (#11809) 2024-04-22 11:50:47 +01:00
Alex Waygood e974246714 croniter: add new encoding parameter to is_valid (#11808) 2024-04-22 11:31:04 +01:00
Alex Waygood 4872c30a98 Fix divider lines in stubtest_third_party.py (#11799) 2024-04-20 17:10:28 -07:00
Alex Waygood 57f3dcac8d Bump flake8-pyi to 24.4.1 (#11791) 2024-04-19 10:07:56 -07:00
Alex Waygood ade9412f85 Minor improvements to renovate config (#11790) 2024-04-19 17:54:18 +01:00
Alex Waygood 7c8e82fe48 Improve the output of tests/stubtest_third_party.py when it fails (#11763) 2024-04-14 23:23:25 +01:00
Alex Waygood 6883b80f52 Bump flake8-pyi to 24.4.0 (#11745) 2024-04-11 13:05:46 +01:00
Alex Waygood 130a04905c Use Python 3.11.8 for stdlib stubtest for now (#11716) 2024-04-04 12:46:45 +01:00
Alex Waygood d698cb70eb requests: remove a type: ignore (#11704) 2024-04-02 14:30:35 +01:00
Alex Waygood e3350f30f9 Remove several stdlib files from the ignorelist for the stricter pyright settings (#11702) 2024-04-02 09:52:00 +01:00
Alex WaygoodandSebastian Rittau b0218af146 Fix pyright CI job (#11689)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2024-04-01 14:17:31 +01:00
Alex WaygoodandShantanu 5c75292f26 stubsabot: Skip over empty __init__.py files when determining if all Python files are covered by py.typed markers (#11634)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-03-20 20:54:47 +00:00
Alex Waygood 7acaa912b0 Mark types-paho-mqtt as obsolete since v2.0.0 (#11635) 2024-03-20 12:43:14 +01:00
Alex Waygood d436110d13 Add distutils as a top-level package included with types-setuptools (#10948) 2024-03-16 16:44:47 +00:00
Alex Waygood 2334b06abf Go back to using py311 for regr-test.py for now (#11604) 2024-03-15 11:55:13 +01:00
Alex WaygoodandSebastian Rittau 0f4a2dfec4 pin uv to 0.1.18 (#11598)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2024-03-14 11:46:03 +00:00
Alex Waygood 7894b095eb Renovate config: give the dependency groups better names (#11589) 2024-03-13 10:49:27 +00:00
Alex Waygood 382c046e9b fix renovate config (#11587) 2024-03-13 10:38:15 +00:00
Alex Waygood c3f363ce33 Use stricter pyright settings for pygit2 (#11585) 2024-03-13 10:30:46 +00:00
Alex Waygood 405494891c Setup renovate for updating dependencies (#11565) 2024-03-13 10:27:03 +00:00
Alex Waygood 8a9dcb1967 Make stubtest work on pyscreeze if you're using py312 (#11582) 2024-03-12 23:04:57 +01:00
Alex Waygood 3802899a01 Bump google-cloud-ndb to 2.3.* (#11566) 2024-03-11 00:22:14 +01:00
Alex Waygood 24d39de94b Use Python 3.11 for third-party stubtest in CI (#11562) 2024-03-10 08:01:38 -07:00
Alex Waygood 55205a4ce6 Make stubtest pass on libsass/passlib/redis/tree-sitter if you're using Python 3.12 (#11561) 2024-03-10 14:16:34 +00:00
Alex Waygood e085a00a8e Bump flake8-pyi to 24.3.0 (#11560) 2024-03-10 14:03:13 +00:00
Alex WaygoodandAvasam 35b74bc431 Rework our linting setup (#11522)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-03-03 23:11:54 +00:00
Alex Waygood 2c5712b7f4 Use uv for installing dynamic dependencies in mypy_test.py and regr_test.py (#11517) 2024-03-02 08:38:34 +00:00
Alex Waygood 01515b57a7 Use uv for installing dependencies on all Linux-only CI jobs (#11515) 2024-03-01 07:01:37 +00:00
Alex Waygood e05098681f make pyproject.toml valid TOML again (#11510) 2024-02-29 18:40:10 +00:00
Alex Waygood 00ec260fcb Revert "pin pyright-action to 2.0.2" (#11477) 2024-02-27 16:03:52 +00:00
Alex Waygood 4afc368256 pin pyright-action to 2.0.2 (#11475) 2024-02-27 10:07:47 +00:00
Alex Waygood 7c3cb9971d Further improve return types in the numbers module (#11375) 2024-02-15 21:04:25 -08:00
Alex Waygood 15cdc20744 Fix stdlib stubtest for Python 3.11.8 and 3.12.2 (#11384)
Fix stubtest for Python 3.11.8 and 3.12.2
2024-02-09 02:28:03 -08:00
Alex Waygood 994d22bfbb Pin peewee more tightly for stubtest (#11372)
Fixes  #11367
2024-02-06 18:12:52 +00:00
Alex Waygood ed38e99138 influx-db: fix flake8 (#11365) 2024-02-05 18:40:17 +00:00
Alex Waygood a2a6aee892 Fix annotation for ast.alias.name (#11364)
This isn't necessarily always an identifier:

```pycon
>>> print(ast.dump(ast.parse('from typing import *'), indent=2))
Module(
  body=[
    ImportFrom(
      module='typing',
      names=[
        alias(name='*')],
      level=0)],
  type_ignores=[])
>>> '*'.isidentifier()
False
```
2024-02-05 01:42:20 +00:00
Alex Waygood bf58d62e74 Update test dependencies (#11361) 2024-02-05 00:53:21 +00:00
Alex Waygood c49c84f319 A new shade of Black (#11362) 2024-02-04 16:38:55 -08:00
Alex Waygood 4d8ee113fb Add more return types to the numbers module (#11353) 2024-02-01 18:12:41 +00:00
Alex Waygood c50a641fc8 regr_test.py: Run mypy with --no-incremental (#11346) 2024-01-30 08:59:20 -08:00
Alex Waygood ccc81f224d Bump various test dependencies (#11249) 2024-01-05 14:09:02 -08:00
Alex Waygood a7c5d8bc14 Ignore Y023 in generated *_pb2.pyi files (#11246) 2024-01-05 19:01:54 +01:00
Alex Waygood f0c6488394 Pin seaborn to 0.13.0 (#11213)
Closes #11212
2024-01-01 00:24:48 +00:00
Alex Waygood 16933b838e Bump mypy (and a few other test dependencies) (#11196) 2023-12-21 22:57:58 +00:00
Alex Waygood a08d2d5d66 Use PEP-646 in stubs for asyncio (#11015) 2023-12-08 22:59:42 +00:00
Alex Waygood 250fcd3067 Bump pytype test dependency to 2023.12.8 (#11125) 2023-12-08 14:11:51 -08:00
Alex Waygood ad5ec921e0 Bump various test dependencies (#11120) 2023-12-08 11:01:36 +00:00
Alex Waygood bb1f70ad08 Fix stubtest now that Python 3.12.1 is out (#11121) 2023-12-08 10:59:44 +00:00
Alex Waygood d8c174d26a Remove stubs for stdlib-list (#11111) 2023-12-06 08:41:45 -08:00
Alex Waygood 9eb099ed6b Stubtest fixes for the latest patch release of py311 (#11107) 2023-12-06 00:55:46 +00:00
Alex Waygood 77ff987b57 Add some missing attribute annotations to trace.pyi (#11091) 2023-12-03 22:14:15 +00:00
Alex Waygood 0b36e65877 Remove redundant sys.version_info condition (#11087)
We're already inside an `if sys.version_info >= (3, 12)` block here; no need to check if `sys.version_info >= (3, 10)`
2023-11-29 19:10:48 +00:00
Alex Waygood ef346aba0d Fixes to typing and typing_extensions stubs (#11086) 2023-11-29 19:00:58 +00:00
Alex Waygood 09668963a1 Make itertools.starmap covariant (#11037) 2023-11-29 11:10:26 +00:00
Alex WaygoodandAvasam e7c57b5a6d Bump setuptools to 69.0.* (#11069)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-11-28 22:23:29 +00:00
Alex Waygood 21a0104f0d maintainers += Avasam (#11080) 2023-11-28 17:03:28 -05:00
Alex Waygood 9bbfa3362a Add importlib.machinery.NamespaceLoader (#11074) 2023-11-28 20:02:24 +00:00
Alex Waygood 81633e2709 Bump mypy and pytype test dependencies (#11065) 2023-11-23 20:48:11 +00:00
Alex Waygood 01432805d9 Fix typos in docs and comments (#11064) 2023-11-23 14:55:58 +00:00
Alex Waygood 1d2fe59e88 Third-party stubs: remove unused type: ignores (#11063) 2023-11-23 13:35:45 +00:00
Alex Waygood b04e50d522 redis: remove unused type: ignores (#11062) 2023-11-23 14:02:25 +01:00
Alex Waygood 10febc4fe0 stdlib: remove unused type: ignore comments (#11061) 2023-11-23 14:00:07 +01:00
Alex Waygood a40e683784 Teach stubsabot to be smarter about the required locations of py.typed files (#11053) 2023-11-22 22:49:58 +00:00
Alex Waygood a9fc14a811 third-party stubs: Add several missing __del__ methods (#11054) 2023-11-21 19:07:30 +00:00
Alex Waygood 519a7dfcb8 Improve a few dataclass reprs in stubsabot (#11050) 2023-11-21 14:20:16 +00:00
Alex Waygood 83964a4dc5 stdlib: add many missing __del__ methods (#11042) 2023-11-18 11:32:12 -08:00
Alex Waygood e21a2c70b7 Bump various test dependencies (#11041) 2023-11-18 15:12:06 +00:00
Alex Waygood 4982061ab3 Make itertools.groupby covariant (#11032) 2023-11-17 12:33:14 +01:00
Alex Waygood 4aae235cef Add the nth_combination itertools recipe as a test case (#11031) 2023-11-15 20:14:21 +01:00
Alex Waygood ac88fdfdbf Bump various test dependencies (#11030) 2023-11-15 15:39:45 +00:00
Alex Waygood 968e2be4d6 Add several itertools recipes to the test_cases directory (#10992) 2023-11-15 16:29:48 +01:00
Alex Waygood 571cc6d77a Pin PyScreeze more tightly (#11017)
To stop the "stubtest failed" bot opening a new issue every night until we have a chance to look at the stubtest failures (stubsabot will just open a PR instead)

Closes #11016
2023-11-11 00:44:49 +00:00