Commit Graph
100 Commits
Author SHA1 Message Date
Avasam 855999ed9d networkx: Add symbols from python-type-stubs (#14084) 2025-05-22 13:01:02 +02:00
AvasamandSebastian Rittau 337fd828e8 Bump setuptools to 80.7.* (#14069)
---------

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2025-05-15 10:29:04 -04:00
Avasam 5a81bf54e6 networkx: type is_* and has_* functions (#14054) 2025-05-14 14:10:29 +02:00
Avasam 64875ee375 Support requires_python in runtests.py (#14051) 2025-05-13 18:51:46 +02:00
Avasam 45b81fb599 networkx: consistent Unknown | None = None (#14027) 2025-05-13 11:43:01 +02:00
Avasam f0c88fd238 networkx: ignore_missing_stub = false (#13968) 2025-05-12 17:31:45 +02:00
Avasam f17ee46952 Python 3.14: Remove SupportsTrunc from ConvertibleToInt (#13986) 2025-05-10 18:26:23 +01:00
Avasam 4b5e235d1c networkx: add all missing __all__ (#13956) 2025-05-08 22:25:25 -04:00
Avasam 41eb1a6731 networkx: Most nodelist params are collections (#13945) 2025-05-06 08:39:14 +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 a43e0a4c02 Extract grpcio plugins (#13896) 2025-05-05 16:48:46 +02:00
Avasam 5991c939f1 Run Black after grpcio merge (#13944) 2025-05-05 16:34:44 +02:00
Avasam 61b54b4eaa Openpyxl: type cell values (#13929) 2025-05-05 15:24:42 +02:00
Avasam 5c7fe07278 Run Black on *_pb2 files (#13930) 2025-05-05 15:22:59 +02:00
Avasam 2b2ea7185b stubtest-complete grpcio plugins (#13932) 2025-05-05 15:21:48 +02:00
Avasam 8d4cafdc15 pytype_test: support either slashes in path params (#13943) 2025-05-05 15:07:30 +02:00
Avasam f26b41bdd1 Mention rerunning sync_protobuf scripts (#13924) 2025-05-03 02:29:31 +02:00
Avasam 5faa04038b Apply mypy-tests custom config to other mypy-based tests (#13825) 2025-04-28 12:24:26 +02:00
Avasam 23f94ffbc4 Remove Any in stubs/grpcio/grpc_status/rpc_status.pyi (#13895) 2025-04-28 08:43:46 +02:00
Avasam 9dd2ea67d3 pywin32: Fix various arguments (#13846) 2025-04-25 10:38:36 +02:00
Avasam 10b4c620d4 Properly mark deprecated methods in threading (#13861) 2025-04-22 09:58:53 +02:00
Avasam 5113659d37 Add all classes in stubs/pyinstaller/PyInstaller/utils/win32/versioninfo.pyi (#13833) 2025-04-16 11:32:19 +02:00
Avasam 893eabe4ce auth0-python solve stubtest_allowlist entries (#13827) 2025-04-15 14:25:33 +02:00
Avasam 53811d3fca auth0-python: Cleanup re-exports leftovers from stubgen (#13828) 2025-04-15 13:52:05 +02:00
Avasam a045be8ed6 Import names from typing directly rather than importing module (#13761) 2025-04-12 19:10:09 +02:00
Avasam 09416d0750 Use GitIgnoreSpec in ts_utils.get_gitignore_spec (#13797) 2025-04-07 13:58:57 +02:00
Avasam 1e43190554 Exact return types instead of shutil._PathReturn (#13767) 2025-04-03 10:22:53 +02:00
Avasam 4b253d2932 Enable Ruff flake8-todos (TD) (#13748) 2025-04-03 07:43:54 +02:00
Avasam 616ca7db2c Enable Ruff groups we already pass (#13751) 2025-04-02 08:43:52 +02:00
Avasam aaf1e0313c Enable Ruff flake8-pie (PIE) (#13747) 2025-04-02 08:43:25 +02:00
Avasam 19cea106f0 Bump ruff to 0.11.2 (#13757) 2025-04-01 17:31:38 +01:00
Avasam eafa274f1b Enable Ruff PLW (Pylint Warning) (#13749) 2025-04-01 15:12:15 +02:00
Avasam df1206f3cb Enable Ruff flake8-use-pathlib (PTH) (autofix only) (#13750) 2025-04-01 13:27:33 +02:00
Avasam 4bed4432f9 Remove stub commonmark (#13736) 2025-03-29 13:29:07 +01:00
Avasam 83ee2a2dc6 Enable Ruff flake8-builtins (A) (#13729) 2025-03-28 14:11:50 -04:00
Avasam 43385c455f Mark commonmark as no_longer_updated (#13726) 2025-03-28 16:15:08 +01:00
Avasam c67f9da373 Restore JACK-Client macOS stubtest (#13721)
Restore JACK-Client macOS tests
2025-03-27 09:57:46 +01: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
Avasam 45e9a79e26 Bump pywin32 to 310.* (#13667) 2025-03-18 20:31:50 +01:00
Avasam 0b8dcfc00b Fix mypy test temporary config file creation (#13620) 2025-03-14 11:55:01 +01:00
Avasam 8bc9a65367 Allow uv run to be used without --no-project (#13599) 2025-03-12 13:33:04 +01:00
Avasam f6e99d20b5 Bump setuptools to 76.0.0 (#13614) 2025-03-12 13:25:47 +01:00
Avasam 1f2ceccfae distutils: Allow overriding Command and Distribution boolean attributes with actual bool in subclasses (#13615) 2025-03-11 11:18:03 +01:00
Avasam c68ecd75f5 Bump pywin32 to 309 (#13607) 2025-03-10 06:34:42 +01:00
Avasam 0cdb5e969f Mention uv for the initial install in CONTRIBUTING.md (#13595) 2025-03-08 10:59:07 +01:00
Avasam 58a4c08ab0 shutil.which cannot return PathLike, and fails with cmd: PathLike on Windows Python < 3.12 (#13580) 2025-03-05 08:54:48 +01:00
Avasam 63e6ea8821 Enable Ruff PLE (Pylint Error) (#13305) 2025-03-04 12:11:32 +01:00
Avasam 641ca188ef Remove setuptools/pkg_resources (#13369) 2025-03-04 12:11:10 +01:00
Avasam 6f98c59f93 Enable Ruff PLR (Pylint Refactor) (#13307) 2025-03-03 18:03:34 +01:00
Avasam 1e71351016 Allow any sliceable sequence as getopt args (#13116) 2025-03-03 15:52:57 +01:00
Avasam b834c88016 Remove uncompletable TODO in test.yml (#13570) 2025-03-03 15:50:44 +01:00
Avasam cc206f760d Drop flake8-noqa and remove workarounds to work with Ruff (#13571) 2025-03-03 15:48:59 +01:00
Avasam 6d6e858e63 Enable Ruff PLC (Pylint Convention) (#13306) 2025-03-03 15:39:40 +01:00
Avasam cadaaadfcb Fix pyinstaller.utils.hooks.collect_entry_point return type (#13111) 2025-02-28 13:23:11 +01:00
Avasam 62feb28c29 Enable Ruff SIM (#13309) 2025-02-26 23:19:36 +01:00
Avasam af32625bd4 setuptools._distutils typing improvements from merging types upstream (#13534) 2025-02-25 00:51:37 +01:00
Avasam 844e4f7ee3 Updates to boltons types (#13517) 2025-02-22 21:06:56 +01:00
Avasam 24c78b9e0d http.server.SimpleHTTPRequestHandler's directory param can be PathLike (#13477) 2025-02-09 21:42:41 +00:00
Avasam c99e54da3e Cross-platform third-party stubs requirements install script (#13482) 2025-02-09 21:21:22 +00:00
Avasam 46ac2e24a4 Update pathname param of setuptools._distutils.util.convert_path (#13483) 2025-02-09 19:20:20 +00:00
Avasam dee4ef3171 Still allow passing None to shutil.rmtree's onerror parameter on Python 3.12+ (#13478)
Resolves https://github.com/python/mypy/issues/18239
2025-02-08 17:46:09 -08:00
Avasam 89b49d207b Have win32gui.SystemParametersInfo return Any (#13438) 2025-01-27 05:33:52 +01:00
Avasam aa992b9cc6 pywin32: type Get* functions in win32api (#13430) 2025-01-23 21:21:59 +01:00
Avasam e3e5971fe7 Bump setuptools to 75.8.* (#13367) 2025-01-09 12:02:23 +01:00
Avasam 9f28171658 Update vscode recommended settings to not cleanup noqa'd unused imports (#13363) 2025-01-04 10:37:02 +00:00
Avasam 33d1b169c1 Enable Ruff TRY (tryceratops) (#13359) 2025-01-03 00:42:49 +00:00
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 0cebf26ecd Enable some Ruff TC rules (flake8-type-checking) (#13333) 2025-01-02 19:04:53 +00:00
Avasam a540f78784 Enable Ruff EXE (flake8-executable) (#13346) 2025-01-02 18:34:05 +00:00
Avasam e02e7ad5da Enable Ruff ANN2 (flake8-annotations, autofixes only) (#13331) 2025-01-02 10:36:52 +00:00
Avasam 73ce98b5a3 Enable Ruff N (pep8-naming) on non-stubs (#13327) 2025-01-02 10:22:40 +00:00
AvasamandAlex Waygood 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 ebc9ff8718 Enable Ruff ARG (flake8-unsued-arguments) and remove unused arguments (#13334) 2024-12-29 17:21:19 -08:00
Avasam a2e4137f65 Remove redundant Bugbear disabling in stubs (#13308) 2024-12-29 17:10:18 -08:00
Avasam 2cdda12df7 Move RUF022+RUF023 ignores to stubs only and remove TODO (#13322)
Move RUF022+RUF023 to stubs only and remove TODO
2024-12-28 19:30:24 +00:00
Avasam 6c4d9eb5ab Enable Ruff YTT (#13314) 2024-12-27 12:07:18 +00:00
Avasam 773b493b2b Enable more PYI autofixes (#13315) 2024-12-26 21:15:18 -08:00
Avasam 7178fa3356 Use astral-sh/setup-uv to install uv in CI (#13311) 2024-12-26 22:07:59 +00:00
Avasam dde13fb91d Enable Ruff PGH rules (#13304) 2024-12-26 21:35:34 +00:00
Avasam 21c85bae39 Bump protobuf to ~=5.29.1 (#13209) 2024-12-06 17:16:59 +00:00
Avasam a2323a41a6 Add google.protobuf.runtime_version (#13161) 2024-12-02 17:27:59 +01:00
Avasam d6af76d4be Generate docutils.core and type publish_parts's return type (#13118) 2024-11-26 20:47:22 -08:00
Avasam f31a33c5e4 Add pywin32's isapi.install (#13119) 2024-11-26 20:40:25 -08:00
Avasam 69e3eb8be6 Bump Ruff to 0.8.0, ignoring RUF022/RUF023 (#13090) 2024-11-25 18:27:01 +00:00
Avasam d23f4caac3 Bump setuptools to 75.6.* (#13089) 2024-11-25 16:56:38 +01:00
Avasam 74ea509de1 openpyxl: Cell | MergedCell annotations (#13092) 2024-11-25 12:19:12 +01:00
Avasam 055857c318 Clear up tool.ruff.lint.isort.extra-standard-library (#13070)
Clear up extra-standard-library
2024-11-22 13:58:32 -08:00
Avasam 4addb8dd0b setuptools & distutils: more accurate spawn method (#13036) 2024-11-19 03:50:38 -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
Avasam eea59f673b Update setuptools return types (#12991) 2024-11-18 13:00:54 +01:00
Avasam 300204c683 setuptools._distutils._msvccompiler.MSVCCompiler non-None ClassVars (#12995) 2024-11-11 13:45:05 -05:00
Avasam 502e168cc6 Mark docopt as obsolete in favor of docopt-ng (#12965) 2024-11-07 16:19:48 +01:00
Avasam 5243d30744 Bump setuptools to 75.3.* (#12928) 2024-11-04 16:18:52 +01: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 e92f98ccda Add win32com.gen_py (#12901) 2024-10-28 11:50:31 +01: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
Avasam c225ac7587 Bump pyinstaller to 6.11.* (#12911) 2024-10-27 22:03:17 +01:00
Avasam df499768cb setuptools & distutils: Add more recent MSVCCompiler from _msvccompiler (#12887) 2024-10-24 11:44:55 +02:00
Avasam fc1e51f76b Allow pywin32 to use pywin.mfc.DocTemplate in lieu of PyCDocTemplate (#12888) 2024-10-24 11:40:24 +02:00
Avasam 78e4e036c4 Add install_data in distutils-stubs from setuptools (#12889) 2024-10-24 11:39:08 +02:00