Commit Graph

319 Commits

Author SHA1 Message Date
Sebastian Rittau
701cd065b8 [CI] Switch to macos-latest (#12897)
macos-12 is deprecated and will be removed:
https://github.com/actions/runner-images/issues/10721
2024-10-24 11:00:11 -07:00
Sebastian Rittau
c6affbb804 [CI] Pin Ubuntu in third party stubtest (#12846)
This fixes a problem with gdb changing between the Ubuntu versions.
2024-10-18 12:09:05 +02:00
Sebastian Rittau
6ba6589144 Support environment markers in requires fields (#12711) 2024-10-02 10:14:33 +02:00
Alex Waygood
9f033bf439 Fixup some pyright CI configuration details (#12690) 2024-09-23 13:07:57 -07:00
Avasam
f0e16b8743 Add --threads argument to pyright cli (#12688) 2024-09-23 19:19:28 +02:00
Avasam
d34ef50754 Optional pytype install on Windows (no CI) (#12669) 2024-09-17 10:58:31 +02:00
Jan Kühle
99f6238b91 Update pytype to 2024.09.13 and Python 3.12 (#12653) 2024-09-13 14:01:46 +02:00
sobolevn
6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Shantanu
dcab6e8888 Use Python 3.12 for mypy_primer (#12244)
I'd like for us to cover projects that use Python 3.12 only syntax
2024-06-30 16:43:28 -07:00
Sebastian Rittau
2110c699d6 [CI] Only create issue if daily script was run by cron (#12218) 2024-06-26 11:22:11 +02:00
Sebastian Rittau
68408b3528 [CI] Suppress spurious brew warning (#12219) 2024-06-26 02:01:47 -07: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
58f2a795ba Pin to older micro versions of Python for stdlib stubtest (#12124) 2024-06-10 11:53:09 +01: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
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
Sebastian Rittau
caeb45a9df Use apt-get to install packages (#11824) 2024-04-27 14:25:22 +02:00
Alex Waygood
57f3dcac8d Bump flake8-pyi to 24.4.1 (#11791) 2024-04-19 10:07:56 -07:00
Sebastian Rittau
f4b89f5f86 Rename check_consistent.py to check_typeshed_structure.py (#11761) 2024-04-14 13:34:10 -07:00
Jake Bailey
b61d90c6f5 Use 'version: PATH' for pyright-action (#11743)
This eliminates the need to parse out a pyright version, download, etc, if the environment already has it installed, which is the case for the workflows in this repo.
2024-04-12 20:19:35 +03:00
renovate[bot]
1d33abb917 Update actions/upload-artifact action to v4 (#11684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-07 18:40:47 +01:00
Sebastian Rittau
21b90d44fc [CI] Fix sharding conditionals (#11730) 2024-04-07 18:32:50 +01:00
Sebastian Rittau
26383eed33 Use separate artifact name per step (#11690)
Compatibility with actions/upload-artifact@v4
2024-04-07 15:04:37 +02:00
Sebastian Rittau
c0a44be33f Depend on Pillow instead of types-Pillow (#11720) 2024-04-05 13:30:27 +02: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
b0218af146 Fix pyright CI job (#11689)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2024-04-01 14:17:31 +01:00
Sebastian Rittau
18fff9f8c7 Update actions/github-script to v7 (#11687) 2024-04-01 13:51:21 +01:00
Sebastian Rittau
a8997209fb Install pyright from PyPI (#11575) 2024-03-16 14:14:31 +01: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 Waygood
24d39de94b Use Python 3.11 for third-party stubtest in CI (#11562) 2024-03-10 08:01:38 -07:00
Sebastian Rittau
d424547b94 Run tests with Python 3.12 (#11544) 2024-03-08 17:32:34 +01:00
Sebastian Rittau
407b0c4d70 Update actions/setup-python to v5 (#11542)
Fixes deprecation warnings
2024-03-08 15:53:56 +01:00
Alex Waygood
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
Nikita Sobolev
9b9de1e88c Replace no-comments with annotate in jakebailey/pyright-action (#11502)
`no-comments` is deprecated: 
- https://github.com/python/typeshed/actions/runs/8092167409/job/22112427113?pr=11501#step:10:1
- b8ffdb7aa4/action.yml (L83-L88)
2024-02-28 23:16:19 -08: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
Jelle Zijlstra
504cbd40fe deps: upgrade pytype (#11434) 2024-02-16 22:06:25 -08:00
Alex Waygood
bf58d62e74 Update test dependencies (#11361) 2024-02-05 00:53:21 +00:00
Jake Bailey
605e9a7b99 Bump pyright-action to v2 (#11286) 2024-01-17 20:01:48 +00:00
Alex Waygood
ccc81f224d Bump various test dependencies (#11249) 2024-01-05 14:09:02 -08:00
Sebastian Rittau
4e5f7a7142 Drop support for Python 3.7 (#11234) 2024-01-04 14:48:44 +01:00
Alex Waygood
16933b838e Bump mypy (and a few other test dependencies) (#11196) 2023-12-21 22:57:58 +00:00
Alex Waygood
ad5ec921e0 Bump various test dependencies (#11120) 2023-12-08 11:01:36 +00:00
Alex Waygood
e21a2c70b7 Bump various test dependencies (#11041) 2023-11-18 15:12:06 +00:00
Alex Waygood
ac88fdfdbf Bump various test dependencies (#11030) 2023-11-15 15:39:45 +00:00