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
Alex Waygood
c216b74e39
Centralize METADATA.toml parsing in the test suite ( #9534 )
2023-01-28 15:13:46 +00:00
Avasam
63c7fb0914
Use environment marker to restrict flake8 install ( #9510 )
2023-01-12 09:57:18 +00:00
Alex Waygood
0b903441e8
Allow stubs to depend on numpy ( #9499 )
2023-01-12 09:01:23 +00:00
Avasam
70025c3723
Support third-party stub external dependencies in pytype ( #9449 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-04 19:32:23 +00:00
Alex Waygood
28abff4efe
Revert "Use --additional-flags='check-untyped-defs' when running mypy_primer" ( #9451 )
...
Revert "Use `--additional-flags='check-untyped-defs'` when running mypy_primer (#9433 )"
This reverts commit f794cdd582 .
2023-01-03 22:58:32 +00:00
Avasam
3e24c65c3b
Rework how pyright is run in CI to allow for non-types dependencies( #9434 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-03 22:43:56 +00:00
Avasam
7c15e6998f
Autoformat YAML files ( #9450 )
2023-01-03 08:55:06 +01:00
Avasam
4a7e14e5ad
Deduplicate stubtest command in actions ( #9444 )
2023-01-02 22:19:47 +00:00
Alex Waygood
f794cdd582
Use --additional-flags='check-untyped-defs' when running mypy_primer ( #9433 )
2022-12-31 11:01:54 -08:00
Alex Waygood
ba54f148ef
Colorize third-party stubtest and stubsabot outputs in CI ( #9432 )
2022-12-31 14:22:22 +00:00
Alex Waygood
5fb21861f9
Colorize flake8 output in CI ( #9422 )
2022-12-28 12:49:51 +01:00
Avasam
3c58efd9a2
mypy_primer: Resolve node.js 12 actions deprecation warning ( #9421 )
2022-12-28 02:23:44 +00:00
Alex Waygood
8671fc5c0f
regr_test.py: Allow non-types dependencies (#9382 )
2022-12-23 13:55:54 -08:00
Alex Waygood
352f496d69
Unpin stubtest from Python 3.10.8 and 3.11.0 ( #9368 )
2022-12-20 20:31:13 +00:00
Alex Waygood
7a9818e565
Colorize output of stdlib stubtest in CI ( #9379 )
2022-12-17 13:08:17 -08:00
Alex Waygood
b356abcbda
Stdlib stubtest: Temporarily pin Python to 3.10.8 and 3.11.0 in CI ( #9361 )
...
Stubtest: pin Python to 3.10.8 and 3.11.0 in CI
2022-12-14 10:48:22 -08:00
Alex Waygood
40bfc266f7
3rd-party stubtest: run on Python 3.10 ( #9342 )
2022-12-07 20:25:57 +00:00
Alex Waygood
fc69819a89
Don't run mypy_primer on stubsabot PRs ( #9332 )
...
We can be fairly confident that PRs updating only a `METADATA.toml` file will never produce an interesting `mypy_primer` diff.
2022-12-05 23:47:59 -08:00
Avasam
5c3f10e1df
Deduplicate pinned pyright version ( #9299 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-30 08:52:55 +00:00
Alex Waygood
95c74ba7e1
Minor improvements to tests/regr_test.py ( #9274 )
2022-11-25 15:03:20 +00:00
Alex Waygood
e2ad6fbe62
Add color back to CI output ( #9276 )
2022-11-25 15:01:31 +00:00
Avasam
7050c1d907
Add support for Homebrew and Chocolatey ( #9187 )
2022-11-24 07:17:17 +00:00
Avasam
72d1597de2
stubtest_third_party.py: Allow running non-listed platforms locally ( #9173 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-15 01:39:57 +00:00
Avasam
cfed3e1113
Cache pip downloads in CI ( #9192 )
2022-11-15 00:57:20 +00:00
Nikita Sobolev
66edd05cf3
Cancel old daily CI jobs on PRs ( #9196 )
2022-11-14 15:47:53 +00:00
Nikita Sobolev
9f80dbd3db
Do not run stubtest_third_party on requirements change ( #9160 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-11 18:16:00 +00:00
Nikita Sobolev
dbac458bd5
Fix CI failure when no third-party stubs were updated ( #9159 )
2022-11-11 07:09:35 -08:00
Nikita Sobolev
9cd9f6f6e0
Add the ability to run third-party stubtest on Windows or MacOS when needed ( #8923 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-11 13:40:50 +00:00
Nikita Sobolev
7b3fff714a
Do not run create-issue-on-failure on PRs ( #9140 )
2022-11-09 15:02:50 +00:00