renovate[bot]
8b31f2639e
Update most test/lint dependencies ( #15582 )
2026-04-01 17:54:51 +02:00
Semyon Moroz
5fead6a113
Update outdated upstream_repository fields ( #15334 )
2026-01-29 15:43:21 +01:00
Semyon Moroz
bf72147848
[stubsabot] Use Literal and update reason field ( #14904 )
2025-10-31 18:10:28 +01:00
Semyon Moroz
1316418088
[stubsabot] Fix typo in name "Linux" ( #14705 )
2025-09-12 18:25:08 +01:00
Brian Schubert
10dba69727
[stubsabot] Support diff analysis for GitLab hosted projects ( #14542 )
2025-08-08 16:50:58 +02:00
Alexandre Detiste
9ab7fde0a0
prefer newer "tomllib" over "tomli" backport ( #14486 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-28 17:06:21 +01:00
Sebastian Rittau
eb96b7dbc8
stubsabot: Handle errors when determining action ( #14473 )
...
Use colors for output and move processed distribution name to the front
2025-07-27 13:49:00 +02:00
Semyon Moroz
7cf443e754
[stubsabot] Move obsolete data to ts_utils.metadata ( #14422 )
2025-07-21 14:47:03 +02:00
Semyon Moroz
58b11302b5
[stubsabot] Fix comparison sign ( #14426 )
2025-07-17 08:15:04 +02:00
Semyon Moroz
82e2e9c53a
[stubsabot] Support "Removal" PRs ( #14401 )
2025-07-16 13:48:04 +02:00
Semyon Moroz
138a54b00f
[stubsabot] Make more readable logging message ( #14405 )
2025-07-12 19:15:05 +02:00
Avasam
4265ee7c72
Enable Ruff flake8-use-pathlib (PTH) ( #13795 )
...
Port existing code to pathlib
2025-05-05 18:59:43 +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
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
Semyon Moroz
4a750cef35
Support uv for installing third party dependencies ( #13706 )
2025-03-25 14:08:14 +01:00
Sebastian Rittau
882e8fd2b3
[stubsabot] Extend warning text when stubtest is disabled ( #13664 )
2025-03-18 13:35:25 +01:00
Avasam
6f98c59f93
Enable Ruff PLR (Pylint Refactor) ( #13307 )
2025-03-03 18:03:34 +01:00
Avasam
c99e54da3e
Cross-platform third-party stubs requirements install script ( #13482 )
2025-02-09 21:21:22 +00: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
73ce98b5a3
Enable Ruff N (pep8-naming) on non-stubs ( #13327 )
2025-01-02 10:22:40 +00:00
Avasam
67568b5e19
Enable some Ruff FURB rules ( #13310 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-01-02 10:10:58 +00:00
Avasam
335cc91b70
Bump tensorflow to ~=2.18.0 ( #12916 )
...
* Tensorflow proto script update
* Manual stubtest changes
* Use Path for arg type
2024-10-28 20:32:31 -07:00
Avasam
bff5547abc
Use lib/ts_utils for scripts/sync_protobuf ( #12913 )
...
- Simplified `download_file` error handling (400+ return codes already raised errors!)
- Moved `update_metadata` from `scripts/sync_protobuf/_utils.py` to `lib/ts_utils/metadata.py`
- Improved `update_metadata` to support any key (values unvalidated atm) and return the modified dictionary
- Updated `scripts/stubsabot.py` to use `update_metadata`
- Updated `scripts/sync_protobuf/*` to use `lib/ts_utils`
- Updated `scripts/sync_protobuf/tensorflow.py` and `scripts/sync_protobuf/google_protobuf.py` to use the version directly from the `METADATA.toml` file
2024-10-28 11:47:52 +01: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
Sebastian Rittau
a2d6d5315b
[stubsabot] Use common functions from ts_utils ( #12772 )
2024-10-14 15:41:28 +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
Avasam
bb981771ed
Bump protobuf to 5.28.* ( #12689 )
2024-09-23 19:14:28 +02:00
Avasam
c025e37bbb
Rewrote protobuf generation scripts in Python ( #12527 )
2024-09-19 08:11:21 +02:00
Avasam
d3ca513ddb
Bump tensorflow to 2.17.* ( #12512 )
2024-08-12 13:39:34 +02:00
sobolevn
c4f7a72e50
macos does not have sed --in-place argument ( #12330 )
2024-07-13 06:02:22 -07:00
sobolevn
7c26da22bd
Fix str2bool failure on stubsabot dry-run ( #12287 )
2024-07-06 13:42:15 -07:00
Sebastian Rittau
311612ed38
[stubsabot] Improve error message ( #12273 )
...
Cf. #12272
2024-07-04 10:01:57 +01:00
sobolevn
db7dd4cd54
Replace Github -> GitHub in scripts/stubsabot.py ( #12228 )
2024-06-27 17:15:16 +02:00
Avasam
1dbf21fa8b
Bump protobuf to 5.27.* ( #12197 )
2024-06-25 12:26:56 +02:00
Sebastian Rittau
425c69a6b9
Prefix utility modules with underscore ( #11999 )
2024-05-22 09:35:11 -04:00
Sebastian Rittau
e436dfe219
Unify test directory handling ( #11864 )
...
Previously, handling of test directories (`@tests` and `test_cases`) was
distributed over multiple files and redundant. This unifies the handling
in the `utils` module. This also fixes some instances where "package"
was used instead of "distribution". And in a few instances paths were
joined by using a `/` in a string, which is incompatible with Windows.
Also move `runtests.py` from `scripts` to `tests`. This is required so that
we can import `utils`, but it's also arguably the better fit. The only
mention of the script is actually in the `tests/README.md` file.
Helps with #11762 .
2024-05-05 16:28:37 +02:00
Sebastian Rittau
caeb45a9df
Use apt-get to install packages ( #11824 )
2024-04-27 14:25:22 +02:00
Avasam
b3bfdadb45
Bump tensorflow to 2.16.* ( #11696 )
2024-04-22 16:37:33 +02:00
Avasam
b3bfbefa7f
Create script to generate s2clientprotocol protobuf stubs ( #11772 )
...
Regenerate using mypy-protobuf 3.6
2024-04-22 15:05:21 +02:00
Avasam
1017c525f8
Simplify protoc install in protobuf generation scripts ( #11785 )
2024-04-21 19:33:31 +02:00
Alex Waygood
4872c30a98
Fix divider lines in stubtest_third_party.py ( #11799 )
2024-04-20 17:10:28 -07:00
Alex Waygood
57f3dcac8d
Bump flake8-pyi to 24.4.1 ( #11791 )
2024-04-19 10:07:56 -07:00
Avasam
ce049d505f
Bump protobuf to 5.26.* ( #11784 )
...
Also update generate_proto_stubs script
2024-04-19 09:01:50 +02:00
Alex Waygood
7c8e82fe48
Improve the output of tests/stubtest_third_party.py when it fails ( #11763 )
2024-04-14 23:23:25 +01:00
Sebastian Rittau
f4b89f5f86
Rename check_consistent.py to check_typeshed_structure.py ( #11761 )
2024-04-14 13:34:10 -07:00