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
Alex Waygood
1221b47118
Improve how we run mypy on the py312 stubs ( #10152 )
2023-05-10 10:05:45 +02:00
Alex Waygood
d208d5a833
Pyright: create a more isolated environment in CI for testing stubs ( #10121 )
2023-05-01 19:02:45 +01:00
Alex Waygood
2c3449694b
Run mypy and pyright on our py312 stubs in CI ( #10119 )
2023-04-30 15:31:08 +01: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
Avasam
a5fc97e6da
Fix misnamed parameter in stubtest_third_party ( #9716 )
2023-03-09 07:33:45 +00:00
Alex Waygood
8a2bc88409
Improve typechecking of the test suite ( #9806 )
2023-03-08 08:35:41 +00:00
Avasam
75f47d0cb1
Typecheck typeshed's code with pyright ( #9793 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-02-22 18:53:07 +00:00
Avasam
5ac80781ec
Integrate requirements-stubtest.txt into METADATA.toml ( #9778 )
2023-02-21 11:19:50 +01:00
Avasam
a6c6bc1b8e
Fix stdlib/disutils testing ( #9734 )
2023-02-21 08:06:20 +00:00
Alex Waygood
e6e7fab111
Add some more environment variables to speedup brew installs in CI ( #9786 )
2023-02-21 00:20:28 +00:00
Shantanu
5c54e52e23
Fix default value of input, remove now unused allowlist entry for epoll ( #9742 )
2023-02-17 01:55:31 +02:00
Avasam
2930f8c6f0
Set HOMEBREW_NO_INSTALL_CLEANUP to speedup brew installs ( #9713 )
2023-02-11 11:20:20 -08:00
Alex Waygood
60789273a2
Improve pyright verification of third-party test cases in CI ( #9650 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2023-02-07 11:53:54 +00:00
Avasam
2ffd867f25
Increase mypy_primer comment length ( #9598 )
2023-01-29 11:43:38 -08:00