Sebastian Rittau
2ce70534c3
Remove 3.9 support from CI and tests ( #15401 )
2026-02-09 12:59:13 +01:00
Semyon Moroz
f0878dea3d
[ts_utils] Update jsonc_to_json function ( #15325 )
2026-01-26 19:29:15 +01:00
Semyon Moroz
0664473614
Fix grammar typos ( #15324 )
2026-01-25 15:23:18 +00:00
Semyon Moroz
d2154f5ad8
Style and formatting docs fixes ( #15299 )
...
* Add PEP links for more context
* Normalize the virtualenv name from `.venv3` to `.venv` (the [documentation suggests](https://github.com/python/typeshed/blob/main/CONTRIBUTING.md#-or-create-a-local-development-environment ) creating a `.venv` name, not `.venv3`so `venv3` is not used anywhere else)
2026-01-18 09:49:20 +01:00
Semyon Moroz
0c45df1544
Check pyrightconfig stricter exclude list order ( #15243 )
2026-01-15 12:32:58 +01:00
Alex Waygood
eca15d9654
Put all mypy_test.py version parsing in mypy_test.py ( #14974 )
2025-11-03 15:30:38 -05:00
Brian Schubert
47dbbd6c91
Add @disjoint_base decorator to the third-party stubs ( #14716 )
2025-09-15 02:16:16 +02:00
sobolevn
4b0623f4fb
Update mypy to 1.18.1 ( #14699 )
2025-09-14 03:33:27 +02:00
Avasam
82c02d3729
Remove duplicate get_external_apt_dependencies.py and re-standardize CI package install logs ( #14533 )
2025-08-20 18:48:37 +02:00
Avasam
dde70aeecd
Add --show-traceback to stubtest_third_party ( #14511 )
2025-08-02 11:49:27 -07:00
Sebastian Rittau
3f08a4ed10
Split tool.stubtest.platforms metadata key ( #13746 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-31 12:07:20 -04:00
Sebastian Rittau
aebefb1754
Remove support for pytype ( #14463 )
2025-07-27 11:47:37 +02:00
renovate[bot]
75d8c88ec5
Update most test/lint dependencies ( #14354 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2025-07-01 10:59:15 +01:00
Emmanuel Ferdman
7e670d52e4
Display req name on error ( #14117 )
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com >
2025-05-21 15:35:36 -07:00
Avasam
64875ee375
Support requires_python in runtests.py ( #14051 )
2025-05-13 18:51:46 +02:00
Avasam
f0c88fd238
networkx: ignore_missing_stub = false ( #13968 )
2025-05-12 17:31:45 +02:00
Huy Nguyen
a8fa1ab0d9
Add mypy plugin support to stubtest configuration ( #13948 )
2025-05-11 14:45:30 +02:00
Jelle Zijlstra
5ff32f377c
3.14: add annotationlib, update typing and inspect ( #13985 )
2025-05-10 14:25:06 -07:00
Sebastian Rittau
2d50d6b316
Support Python 3.14 ( #13957 )
2025-05-10 06:27:40 -07:00
Sebastian Rittau
785c9c4688
[CI] Install apt dependencies when running "pyright: Run test cases" ( #13976 )
2025-05-09 19:31:03 +02:00
Avasam
4265ee7c72
Enable Ruff flake8-use-pathlib (PTH) ( #13795 )
...
Port existing code to pathlib
2025-05-05 18:59:43 +02:00
Avasam
8d4cafdc15
pytype_test: support either slashes in path params (#13943 )
2025-05-05 15:07:30 +02:00
Avasam
5faa04038b
Apply mypy-tests custom config to other mypy-based tests ( #13825 )
2025-04-28 12:24:26 +02:00
Alex Waygood
d92a6449c2
Remove more Python 3.8 cruft ( #13787 )
2025-04-03 11:56:38 +01:00
Brian Schubert
c7ab79ed1b
Drop Python 3.8 support in typeshed utilities ( #13774 )
2025-04-02 15:09:17 +01:00
Avasam
eafa274f1b
Enable Ruff PLW (Pylint Warning) ( #13749 )
2025-04-01 15:12:15 +02:00
Avasam
83ee2a2dc6
Enable Ruff flake8-builtins (A) ( #13729 )
2025-03-28 14:11:50 -04:00
Avasam
11929debd4
Update pip install calls in scripts to use uv. And messages to reference current executable ( #13597 )
2025-03-27 09:55:38 +01:00
Sam Bull
b4e49dd521
[asyncio] Allow any memoryview in write() and writelines() ( #13519 )
2025-03-20 17:49:10 +01:00
Sebastian Rittau
da50b5c411
Move error handling to main function ( #13630 )
...
* This makes is easier to call `run_stubtest()` manually, for
example when testing the script - no need to construct
an `ArgumentParser` instance.
* This concentrates argument error handling in the
`main()` function and prevents an unexpected process exit
when calling `run_stubtest()`.
2025-03-16 20:40:38 +01:00
Avasam
0b8dcfc00b
Fix mypy test temporary config file creation ( #13620 )
2025-03-14 11:55:01 +01:00
Sebastian Rittau
b4c656a6f7
Remove LD_LIBRARY_PATH before running gdb ( #13594 )
...
Suggestion by @peace-maker
2025-03-08 00:09:47 +01:00
Sebastian Rittau
915a348bfa
Third party stubtest: Print time per distribution ( #13547 )
2025-02-26 21:44:10 +01:00
Avasam
c99e54da3e
Cross-platform third-party stubs requirements install script ( #13482 )
2025-02-09 21:21:22 +00:00
sobolevn
1d1086018b
Add --strict-bytes and --local-partial-types to self check ( #13476 )
...
* Add `--strict-bytes` and `--local-patial-types` to self check
These two options will be on by default in `--strict` in `mypy@2.0`
* Annotate `_LOADERS` in `pytype_test`
2025-02-08 10:00:49 +00:00
Ali Hamdan
c01e731dd1
Add geopandas stubs ( #12990 )
2025-01-19 19:19:43 +01:00
Sebastian Rittau
822fae31e5
Remove Python 3.8 from CI ( #13387 )
2025-01-10 14:15:39 +01:00
Avasam
9c959a7dd3
Enable Ruff D (pydocstyle) with pep257 convention ( #13326 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-02 22:05:35 +00:00
Avasam
a540f78784
Enable Ruff EXE (flake8-executable) ( #13346 )
2025-01-02 18:34:05 +00:00
Avasam
ebc9ff8718
Enable Ruff ARG (flake8-unsued-arguments) and remove unused arguments ( #13334 )
2024-12-29 17:21:19 -08:00
Alex Waygood
90e6bd9aca
Pin keras to 3.6.* when stubtesting tensorflow ( #13137 )
2024-11-27 08:50:23 -08:00
Avasam
6db3e0cec5
check_distutils test: Make the file path of missing setuptools distutils files more obvious (#13037 )
2024-11-19 03:50:02 -08:00
Sebastian Rittau
c020ccc821
Print gdb version to ease debugging ( #12836 )
2024-10-21 04:35:55 -07:00
Sebastian Rittau
2d0f6d8277
Bundle path handling in ts_utils.paths ( #12805 )
2024-10-17 08:16:10 +02:00
Sebastian Rittau
36fb63ebc8
Support compatible version specifiers ( #12771 )
2024-10-17 08:15:30 +02:00
Alex Waygood
c9d3ca6f48
Touchups to tests/REGRESSION.md ( #12826 )
2024-10-17 00:43:39 +02:00
Sebastian Rittau
1fa4986f71
Move common utility functions to a common library ( #12773 )
2024-10-14 08:00:02 +02:00
Alex Waygood
ad96829bfa
Remove linters from requirements-tests.txt ( #12725 )
2024-10-05 14:37:27 +01:00
Sebastian Rittau
848cf9103d
Remove Pillow stubs ( #12732 )
2024-10-03 11:33:09 +02:00
Sebastian Rittau
26b3c69ee4
Add option to keep tmp dir to stubtest script ( #12151 )
2024-10-02 19:48:52 -07:00