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
Nikita Sobolev
cb5ed3c5fb
Run stubtest on all third party stubs if requirements.txt is changed ( #9132 )
2022-11-09 14:30:56 +00:00
Nikita Sobolev
86f9d93003
Update pyright to 1.1.278 ( #9077 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-03 15:32:10 +00:00
Alex Waygood
401a7b929e
Bump various test dependencies; pin Python to <3.10 in CI to workaround pytype incompatibility ( #9068 )
2022-11-02 18:44:48 +00:00
Sebastian Rittau
96daaf60bf
Remove references to master branch ( #9060 )
2022-11-01 13:02:38 +01:00
Sebastian Rittau
3aaf6b9999
'master' branch was updated to 'main' ( #9045 )
2022-11-01 12:57:57 +01:00
Nikita Sobolev
fd75bc21fc
Use 3.11 instead of 3.11-dev ( #8983 )
2022-10-26 15:52:24 +02:00
Alex Waygood
122bceeade
CI: Use macOS-11 for stdlib stubtest ( #8949 )
2022-10-20 15:45:18 +02:00
Nikita Sobolev
fe3a34503c
Cancel old mypy_primer builds ( #8873 )
2022-10-10 01:28:17 -07:00
Shantanu
ae1cca13c1
stubsabot: try and fix change detection logic ( #8851 )
2022-10-05 09:53:57 -07:00
Alex Waygood
5cb7ef1f73
stubsabot: use an ssh-key when checking out typeshed ( #8844 )
...
Fixes #8434 .
This uses a new ssh key that @JelleZijlstra just set up for our repo ([this option](https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#push-using-ssh-deploy-keys ) in Peter Evans's guide to getting checks to run on automated PRs. It seems to be a good option in terms of both security and usability. It's also the option used by `oddbird/MetaDeploy` [here](https://github.com/oddbird/MetaDeploy/blob/main/.github/workflows/upgrade-deps.yml#L20 ), and they seem pretty happy about it (they wrote a nice blog post about their automated PRs for uprading dependencies [here](https://www.oddbird.net/2022/06/01/dependabot-single-pull-request/ ).)
2022-10-04 14:13:18 -07:00
Alex Waygood
08a3359e94
Run stubsabot daily, not weekly ( #8845 )
...
I think stubsabot has been a really big success. Let's change it to a daily workflow, so that we don't get an avalanche of PRs every Friday, and so that we can see more quickly if a PR changing stubsabot has accidentally broken the script. (If that _does_ happen, it should be pretty easy to just revert the commit that accidentally broke stubsabot, and go back to a version that works pretty well.)
2022-10-04 14:12:50 -07:00
Alex Waygood
5da171ba45
mypy_test.py: Always add dependencies of stubs to the files to test (#8800 )
2022-10-04 08:05:13 -07:00
Shantanu
d7a701372d
Run stub_uploader tests in CI ( #8794 )
2022-09-30 10:07:34 -07:00