Commit Graph

301 Commits

Author SHA1 Message Date
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
87900248b0 Update label names used by bots (#11650) 2024-03-23 12:20:36 +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
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
405494891c Setup renovate for updating dependencies (#11565) 2024-03-13 10:27:03 +00: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
Nikita Sobolev
3f54f7e3de Bump ruff (#10988) 2023-11-07 10:48:08 +00:00
Alex Waygood
40caa050ce Simplify how we run mypy_test.py on Python 3.12 (#10923) 2023-10-23 22:13:22 +01:00
Avasam
21fcd8960f Use Ruff for from __future__ import annotations checks (#10910) 2023-10-19 11:40:41 +02:00
Avasam
35873ec3d8 Doc: Use proper name capitalization of tooling (Ruff, Black, Flake8) (#10913) 2023-10-18 23:46:53 +01:00
Rebecca Chen
1ecaab1641 Run pytype_test in Python 3.11. (#10903)
As of version 2023.10.17, pytype now supports 3.11.
2023-10-18 00:44:14 +01:00
Alex Waygood
f3506eba47 Bump various test dependency pins (#10877) 2023-10-13 13:07:52 +02: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
Alex Waygood
5e7090ce4b Skip all parts of the daily test on forks of typeshed (#10782)
We skip 2/3 jobs in the daily test when running on forks:

b23042e854/.github/workflows/daily.yml (L33)

b23042e854/.github/workflows/daily.yml (L59)

But we missed this condition for the stub-uploader part

Fixes #10781
2023-09-26 20:19:43 +01:00
Alex Waygood
e1b60060ec Do a dry run of stubsabot on PRs touching scripts/ or tests/ (#10508) 2023-09-22 20:36:21 -07:00
Alex Waygood
4ae6d38f96 Use latest Python for stubtest in CI (#10641) 2023-08-30 18:50:11 +02:00
Alex Waygood
ef758b66c0 Bump mypy to 1.5.1 (#10559) 2023-08-16 12:18:31 -07:00
Alex Waygood
39fd112f3e Further improve non-types dependency handling in pytype_test.py (#10393) 2023-07-01 00:24:38 +01:00
Alex Waygood
7fdd05003a pytype_test.py: Use importlib.metadata instead of pkg_resources (#10391) 2023-06-30 21:37:06 +01:00
Alex Waygood
c63dd5941f Improve how we run pyright in CI (#10258)
Avoid using the deprecated `--venv-path` command-line argument
2023-06-23 09:26:19 +01:00
Alex Waygood
6652add920 CI: run more jobs on py311 (#10342) 2023-06-21 06:54:49 -07:00
Alex Waygood
007a65a7fe CI: Pin Python to 3.7.16 for stubtest runs on macos (#10336) 2023-06-20 16:35:28 -07:00
Shantanu
7df870f452 Run stubtest for Python 3.12 (#10253) 2023-06-04 05:53:03 -07:00
Nikita Sobolev
6de0aa0c70 CI: Unpin micro-versions (#10239) 2023-06-02 11:23:33 +01:00