From 94ceb29f9d05bde478b28596289022157a8e4a59 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:56:33 -0500 Subject: [PATCH 01/23] Drop Conda Almost all users install jdk4py from PyPI, and we want to stop hosting Conda packages in ActiveViam's Artifactory. Conda users don't need ours anyway: conda-forge and Anaconda already package the JDK as `openjdk`. `conda build` was also the only place running pytest on every OS/arch, so the wheel job now runs it instead. pytest no longer needs to be pinned to match the version `conda build` installed. Co-Authored-By: Claude Opus 5.5 --- .../actions/build-conda-packages/action.yaml | 22 --------- .../workflows/platform-specific-build.yaml | 10 +--- .github/workflows/publish.yaml | 18 +------- .github/workflows/test.yaml | 2 - README.md | 7 --- conda.recipe/conda_build_config.yaml | 6 --- conda.recipe/meta.yaml | 46 ------------------- pyproject.toml | 5 +- uv.lock | 2 +- 9 files changed, 6 insertions(+), 112 deletions(-) delete mode 100644 .github/actions/build-conda-packages/action.yaml delete mode 100644 conda.recipe/conda_build_config.yaml delete mode 100644 conda.recipe/meta.yaml diff --git a/.github/actions/build-conda-packages/action.yaml b/.github/actions/build-conda-packages/action.yaml deleted file mode 100644 index 07a29c7a..00000000 --- a/.github/actions/build-conda-packages/action.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build Conda packages -description: Build the Conda packages -runs: - using: composite - steps: - - uses: conda-incubator/setup-miniconda@v3 - # Adapted from https://github.com/conda-incubator/setup-miniconda/blob/v3.2.0/README.md#example-14-remove-defaults-channel. - with: - channels: conda-forge - conda-build-version: "25.9.0" - conda-remove-defaults: "true" - miniforge-version: "25.3.1-0" - - - run: conda build --output-folder dist . - # See https://github.com/conda-incubator/setup-miniconda/blame/059455a698430d8b68fa317268fa2e3da3492a98/README.md#L609-L610. - shell: bash -el {0} - - - uses: actions/upload-artifact@v4 - with: - if-no-files-found: error - name: jdk4py-${{ runner.os }}-${{ runner.arch }}-conda-packages - path: dist/*/jdk4py-*.conda diff --git a/.github/workflows/platform-specific-build.yaml b/.github/workflows/platform-specific-build.yaml index 4ea3b34f..4b71f27b 100644 --- a/.github/workflows/platform-specific-build.yaml +++ b/.github/workflows/platform-specific-build.yaml @@ -7,15 +7,6 @@ on: type: string jobs: - build-conda-packages: - name: Build Conda packages on ${{ inputs.runner }} - needs: build-java-runtime - runs-on: ${{ inputs.runner }} - steps: - - uses: actions/checkout@v5 - - uses: ./.github/actions/install-java-runtime - - uses: ./.github/actions/build-conda-packages - build-java-runtime: name: Build Java runtime on ${{ inputs.runner }} runs-on: ${{ inputs.runner }} @@ -47,4 +38,5 @@ jobs: - uses: astral-sh/setup-uv@v6 with: version-file: pyproject.toml + - run: uv run pytest - uses: ./.github/actions/build-python-wheel diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3ca6409d..23288a3f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,4 +1,4 @@ -name: Publish Conda packages and Python wheels +name: Publish Python wheels on: push: branches: @@ -10,7 +10,7 @@ jobs: publish: environment: deployment - name: Publish Conda packages and Python wheels + name: Publish Python wheels needs: build runs-on: ubuntu-24.04 permissions: @@ -25,20 +25,6 @@ jobs: path: dist/ pattern: jdk4py-* - - name: Publish Conda packages - env: - JDK4PY_CONDA_CHANNEL_TOKEN: ${{ secrets.CONDA_CHANNEL_TOKEN }} - JDK4PY_CONDA_CHANNEL_URL: ${{ vars.CONDA_CHANNEL_URL }} - JDK4PY_CONDA_CHANNEL_USERNAME: ${{ vars.CONDA_CHANNEL_USERNAME }} - run: | - cd dist/ - ls */jdk4py-*.conda | \ - while read filepath; do - echo Uploading ${filepath} - curl --fail --user "$JDK4PY_CONDA_CHANNEL_USERNAME":"$JDK4PY_CONDA_CHANNEL_TOKEN" --upload-file ${filepath} "$JDK4PY_CONDA_CHANNEL_URL/$(dirname $filepath)/" - done - shell: bash - - uses: astral-sh/setup-uv@v6 with: version-file: pyproject.toml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 98a042bc..165a119b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,5 +16,3 @@ jobs: - run: uv run ruff format --check - run: uv run ruff check - run: uv run ty check - # This is also tested on all supported OS/arch combinations by `conda build`. - - run: uv run pytest diff --git a/README.md b/README.md index c65f4bc8..f81bf308 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,6 @@ A JDK shipped in a Python package. pip install jdk4py ``` -or as a Conda package: - -```bash -conda config --add channels https://conda.atoti.io -conda install jdk4py -``` - ## Usage ```python diff --git a/conda.recipe/conda_build_config.yaml b/conda.recipe/conda_build_config.yaml deleted file mode 100644 index 67948170..00000000 --- a/conda.recipe/conda_build_config.yaml +++ /dev/null @@ -1,6 +0,0 @@ -python: - - "3.10" - - "3.11" - - "3.12" - - "3.13" - - "3.14" diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml deleted file mode 100644 index 4d3e599a..00000000 --- a/conda.recipe/meta.yaml +++ /dev/null @@ -1,46 +0,0 @@ -{% set pyproject = load_file_data("pyproject.toml") %} -{% set dev_dependencies = pyproject["dependency-groups"]["dev"] %} - -package: - name: {{ pyproject["project"]["name"] }} - version: {{ pyproject["project"]["version"] }} - -source: - path: ../ - -build: - # See https://github.com/conda/conda-build/issues/3956#issuecomment-845711269. - ignore_run_exports: - - python_abi - include_recipe: False - script: "uv pip install ." - -requirements: - build: - - python - - "uv {{ pyproject["tool"]["uv"]["required-version"] }}" - run: - # See https://github.com/activeviam/jdk4py/issues/34. - - python - -test: - source_files: - - tests/ - requires: - {% for dependency in dev_dependencies if dependency.startswith("pytest ==") %} - - "{{ dependency }}" - {% endfor %} - commands: - - pytest - -about: - dev_url: {{ pyproject["project"]["urls"]["Repository"] }} - license: GNU General Public License v2.0 - license_file: LICENSE - summary: {{ pyproject["project"]["description"] }} - -extra: - recipe-maintainers: - {% for author in pyproject["project"]["authors"] %} - - {{ author["name"] }} - {% endfor %} diff --git a/pyproject.toml b/pyproject.toml index 6e7a727c..98002e78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,7 @@ requires = ["uv-build"] [dependency-groups] dev = [ - # Keep pinned to ensure same version is used by `conda build` (see `conda.recipe/meta.yaml`). - "pytest ==9.0.3", + "pytest", "ruff", "ty", # Remove once https://github.com/astral-sh/uv/issues/14827 is closed. @@ -59,6 +58,6 @@ select = ["ALL"] error-on-warning = true [tool.uv] -# Keep pinned to ensure same version is used on CI and by `conda build` (see `conda.recipe/meta.yaml`). +# Keep pinned to ensure same version is used on CI. required-version = "==0.11.6" trusted-publishing = "always" diff --git a/uv.lock b/uv.lock index 7f6a0583..d3b54392 100644 --- a/uv.lock +++ b/uv.lock @@ -49,7 +49,7 @@ dev = [ [package.metadata.requires-dev] dev = [ - { name = "pytest", specifier = "==9.0.3" }, + { name = "pytest" }, { name = "ruff" }, { name = "ty" }, { name = "wheel" }, From aaf62af7570a1071c4f109df44987379e102fb82 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:56:43 -0500 Subject: [PATCH 02/23] Upgrade uv and regenerate the lockfile uv 0.11.6 refuses to work alongside the uv 0.13 developers now have, so pin 0.13.7 instead. `uv.lock` is regenerated from scratch, which upgrades every development dependency. ruff 0.17 enables the copyright header rule (CPY001) under `select = ["ALL"]`. This repository has never used copyright headers, so ignore it. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 3 +- uv.lock | 235 ++++++++++++++++++++++++++----------------------- 2 files changed, 129 insertions(+), 109 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 98002e78..04d06a5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ filterwarnings = ["error"] [tool.ruff.lint] ignore = [ "COM812", + "CPY001", "D100", "D101", "D102", @@ -59,5 +60,5 @@ error-on-warning = true [tool.uv] # Keep pinned to ensure same version is used on CI. -required-version = "==0.11.6" +required-version = "==0.13.7" trusted-publishing = "always" diff --git a/uv.lock b/uv.lock index d3b54392..23961f35 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 3 +revision = 5 requires-python = ">=3.10" [[package]] @@ -16,7 +16,7 @@ name = "exceptiongroup" version = "1.3.1" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.13'" }, + { name = "typing-extensions" }, ] sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" } wheels = [ @@ -25,11 +25,11 @@ wheels = [ [[package]] name = "iniconfig" -version = "2.3.0" +version = "2.3.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } +sdist = { url = "https://files.pythonhosted.org/packages/01/e1/2069291243c926a2ff1cd706c7f3eeb9b62144bf60f77c9fb9ff2fb26bd3/iniconfig-2.3.1.tar.gz", hash = "sha256:67f4b9c50da0dedf52af349e7749a80a9057a5031199791b906c3bb3ae878960", size = 21209, upload-time = "2026-10-06T22:48:38.076Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, + { url = "https://files.pythonhosted.org/packages/56/43/4ca9e49d27a1fcf6bece6f6aec0ea46bb9112489b93d4b688fb415457bdb/iniconfig-2.3.1-py3-none-any.whl", hash = "sha256:9121e2c1fdb355232495be3194c8dfe87ccc2d5dee45947b78e68f499790d7a7", size = 7552, upload-time = "2026-10-06T22:48:36.959Z" }, ] [[package]] @@ -57,34 +57,34 @@ dev = [ [[package]] name = "packaging" -version = "26.0" +version = "26.3" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/65/ee/299d360cdc32edc7d2cf530f3accf79c4fca01e96ffc950d8a52213bd8e4/packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4", size = 143416, upload-time = "2026-01-21T20:50:39.064Z" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529", size = 74366, upload-time = "2026-01-21T20:50:37.788Z" }, + { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" }, ] [[package]] name = "pluggy" -version = "1.6.0" +version = "1.7.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } +sdist = { url = "https://files.pythonhosted.org/packages/bf/db/7fc19e6f2dc92a966727031389fc2e08b558f0f25eb7403c1119ad4713cd/pluggy-1.7.0.tar.gz", hash = "sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8", size = 123304, upload-time = "2026-10-15T09:50:58.343Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, + { url = "https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a12d7f0dc2a1235aa8cc07bcc75416a7daa/pluggy-1.7.0-py3-none-any.whl", hash = "sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec", size = 27082, upload-time = "2026-10-15T09:50:56.808Z" }, ] [[package]] name = "pygments" -version = "2.20.0" +version = "2.21.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } +sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, + { url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" }, ] [[package]] name = "pytest" -version = "9.0.3" +version = "9.2.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, @@ -95,131 +95,150 @@ dependencies = [ { name = "pygments" }, { name = "tomli", marker = "python_full_version < '3.11'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c", size = 1572165, upload-time = "2026-04-07T17:16:18.027Z" } +sdist = { url = "https://files.pythonhosted.org/packages/79/42/bb4641652e58dedeac2ec51abc1f8cae4fee4ec63899a0999016229a0f2a/pytest-9.2.0.tar.gz", hash = "sha256:97c4f3b1f3c7414aa36465e09b8220f1d03627993bd51b1282e193753c80557b", size = 1797555, upload-time = "2026-10-27T21:30:20.728Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d4/24/a372aaf5c9b7208e7112038812994107bc65a84cd00e0354a88c2c77a617/pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9", size = 375249, upload-time = "2026-04-07T17:16:16.13Z" }, + { url = "https://files.pythonhosted.org/packages/51/39/1f5d8c8877a0fa327db959c19341d4be61660de1ab6b7391f9eb805bcd67/pytest-9.2.0-py3-none-any.whl", hash = "sha256:07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588", size = 411776, upload-time = "2026-10-27T21:30:19.131Z" }, ] [[package]] name = "ruff" -version = "0.15.10" +version = "0.17.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e7/d9/aa3f7d59a10ef6b14fe3431706f854dbf03c5976be614a9796d36326810c/ruff-0.15.10.tar.gz", hash = "sha256:d1f86e67ebfdef88e00faefa1552b5e510e1d35f3be7d423dc7e84e63788c94e", size = 4631728, upload-time = "2026-04-09T14:06:09.884Z" } +sdist = { url = "https://files.pythonhosted.org/packages/84/0e/3d154514b5bad104f7e1c13169c2d09aa9959fccdc06eb47610ccdfa83ed/ruff-0.17.4.tar.gz", hash = "sha256:f32d178b50e826e00f6c6c1be3f56333068acb9b67fe167143527fa9b81e890d", size = 5357750, upload-time = "2026-11-05T18:52:17.638Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/eb/00/a1c2fdc9939b2c03691edbda290afcd297f1f389196172826b03d6b6a595/ruff-0.15.10-py3-none-linux_armv6l.whl", hash = "sha256:0744e31482f8f7d0d10a11fcbf897af272fefdfcb10f5af907b18c2813ff4d5f", size = 10563362, upload-time = "2026-04-09T14:06:21.189Z" }, - { url = "https://files.pythonhosted.org/packages/5c/15/006990029aea0bebe9d33c73c3e28c80c391ebdba408d1b08496f00d422d/ruff-0.15.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b1e7c16ea0ff5a53b7c2df52d947e685973049be1cdfe2b59a9c43601897b22e", size = 10951122, upload-time = "2026-04-09T14:06:02.236Z" }, - { url = "https://files.pythonhosted.org/packages/f2/c0/4ac978fe874d0618c7da647862afe697b281c2806f13ce904ad652fa87e4/ruff-0.15.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:93cc06a19e5155b4441dd72808fdf84290d84ad8a39ca3b0f994363ade4cebb1", size = 10314005, upload-time = "2026-04-09T14:06:00.026Z" }, - { url = "https://files.pythonhosted.org/packages/da/73/c209138a5c98c0d321266372fc4e33ad43d506d7e5dd817dd89b60a8548f/ruff-0.15.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:83e1dd04312997c99ea6965df66a14fb4f03ba978564574ffc68b0d61fd3989e", size = 10643450, upload-time = "2026-04-09T14:05:42.137Z" }, - { url = "https://files.pythonhosted.org/packages/ec/76/0deec355d8ec10709653635b1f90856735302cb8e149acfdf6f82a5feb70/ruff-0.15.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8154d43684e4333360fedd11aaa40b1b08a4e37d8ffa9d95fee6fa5b37b6fab1", size = 10379597, upload-time = "2026-04-09T14:05:49.984Z" }, - { url = "https://files.pythonhosted.org/packages/dc/be/86bba8fc8798c081e28a4b3bb6d143ccad3fd5f6f024f02002b8f08a9fa3/ruff-0.15.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8ab88715f3a6deb6bde6c227f3a123410bec7b855c3ae331b4c006189e895cef", size = 11146645, upload-time = "2026-04-09T14:06:12.246Z" }, - { url = "https://files.pythonhosted.org/packages/a8/89/140025e65911b281c57be1d385ba1d932c2366ca88ae6663685aed8d4881/ruff-0.15.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a768ff5969b4f44c349d48edf4ab4f91eddb27fd9d77799598e130fb628aa158", size = 12030289, upload-time = "2026-04-09T14:06:04.776Z" }, - { url = "https://files.pythonhosted.org/packages/88/de/ddacca9545a5e01332567db01d44bd8cf725f2db3b3d61a80550b48308ea/ruff-0.15.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ee3ef42dab7078bda5ff6a1bcba8539e9857deb447132ad5566a038674540d0", size = 11496266, upload-time = "2026-04-09T14:05:55.485Z" }, - { url = "https://files.pythonhosted.org/packages/bc/bb/7ddb00a83760ff4a83c4e2fc231fd63937cc7317c10c82f583302e0f6586/ruff-0.15.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:51cb8cc943e891ba99989dd92d61e29b1d231e14811db9be6440ecf25d5c1609", size = 11256418, upload-time = "2026-04-09T14:05:57.69Z" }, - { url = "https://files.pythonhosted.org/packages/dc/8d/55de0d35aacf6cd50b6ee91ee0f291672080021896543776f4170fc5c454/ruff-0.15.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:e59c9bdc056a320fb9ea1700a8d591718b8faf78af065484e801258d3a76bc3f", size = 11288416, upload-time = "2026-04-09T14:05:44.695Z" }, - { url = "https://files.pythonhosted.org/packages/68/cf/9438b1a27426ec46a80e0a718093c7f958ef72f43eb3111862949ead3cc1/ruff-0.15.10-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:136c00ca2f47b0018b073f28cb5c1506642a830ea941a60354b0e8bc8076b151", size = 10621053, upload-time = "2026-04-09T14:05:52.782Z" }, - { url = "https://files.pythonhosted.org/packages/4c/50/e29be6e2c135e9cd4cb15fbade49d6a2717e009dff3766dd080fcb82e251/ruff-0.15.10-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8b80a2f3c9c8a950d6237f2ca12b206bccff626139be9fa005f14feb881a1ae8", size = 10378302, upload-time = "2026-04-09T14:06:14.361Z" }, - { url = "https://files.pythonhosted.org/packages/18/2f/e0b36a6f99c51bb89f3a30239bc7bf97e87a37ae80aa2d6542d6e5150364/ruff-0.15.10-py3-none-musllinux_1_2_i686.whl", hash = "sha256:e3e53c588164dc025b671c9df2462429d60357ea91af7e92e9d56c565a9f1b07", size = 10850074, upload-time = "2026-04-09T14:06:16.581Z" }, - { url = "https://files.pythonhosted.org/packages/11/08/874da392558ce087a0f9b709dc6ec0d60cbc694c1c772dab8d5f31efe8cb/ruff-0.15.10-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b0c52744cf9f143a393e284125d2576140b68264a93c6716464e129a3e9adb48", size = 11358051, upload-time = "2026-04-09T14:06:18.948Z" }, - { url = "https://files.pythonhosted.org/packages/e4/46/602938f030adfa043e67112b73821024dc79f3ab4df5474c25fa4c1d2d14/ruff-0.15.10-py3-none-win32.whl", hash = "sha256:d4272e87e801e9a27a2e8df7b21011c909d9ddd82f4f3281d269b6ba19789ca5", size = 10588964, upload-time = "2026-04-09T14:06:07.14Z" }, - { url = "https://files.pythonhosted.org/packages/25/b6/261225b875d7a13b33a6d02508c39c28450b2041bb01d0f7f1a83d569512/ruff-0.15.10-py3-none-win_amd64.whl", hash = "sha256:28cb32d53203242d403d819fd6983152489b12e4a3ae44993543d6fe62ab42ed", size = 11745044, upload-time = "2026-04-09T14:05:39.473Z" }, - { url = "https://files.pythonhosted.org/packages/58/ed/dea90a65b7d9e69888890fb14c90d7f51bf0c1e82ad800aeb0160e4bacfd/ruff-0.15.10-py3-none-win_arm64.whl", hash = "sha256:601d1610a9e1f1c2165a4f561eeaa2e2ea1e97f3287c5aa258d3dab8b57c6188", size = 11035607, upload-time = "2026-04-09T14:05:47.593Z" }, + { url = "https://files.pythonhosted.org/packages/e0/61/c83c78bbb6108f6c6270a106cf12b54175f4f42da088b9bb880f18e31289/ruff-0.17.4-py3-none-linux_armv6l.whl", hash = "sha256:2b08c4ff98dc234f4a3871a3105353b922fa875ea1073ca31001eb8c06bb4d89", size = 10252195, upload-time = "2026-11-05T18:51:36.594Z" }, + { url = "https://files.pythonhosted.org/packages/0a/12/dd158708378866e8b53e145a465dbc51a7cccb9fa197a74d67eaedde7234/ruff-0.17.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:13e781c3c5f663e7fba737eaaeb70dd943dd55171daf316afb25cd5268cfe0c7", size = 10266044, upload-time = "2026-11-05T18:51:39.502Z" }, + { url = "https://files.pythonhosted.org/packages/28/32/89a94a8eb11fd505a381ae6f04e190d038d9958695209dc1786ce5cfcda3/ruff-0.17.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7ed2f416349944f908f9574215994602242b0836844eba48eec61473033afca0", size = 9432227, upload-time = "2026-11-05T18:51:41.968Z" }, + { url = "https://files.pythonhosted.org/packages/58/de/a392dc38b215798ae72e639d228b7f6c02d826a95d1c0ad7c4c0ee49ef5b/ruff-0.17.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8ea6e0017c785f7282092b11e46338e4ebed1b9e575ebf2e55a8a1eda968241a", size = 10136900, upload-time = "2026-11-05T18:51:44.562Z" }, + { url = "https://files.pythonhosted.org/packages/b7/8f/a880f60f42005f6ffdf58f77af34c7ee327000b5607f48a2f6a69d8b242c/ruff-0.17.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7e061dcc0933c7031a616ac8d66ac540309b2aa21ab558101a8f53e9ac7a1185", size = 10051245, upload-time = "2026-11-05T18:51:46.7Z" }, + { url = "https://files.pythonhosted.org/packages/09/55/98844264108af7d5ec27ca3a9cd5a989094ca657a14599c4b69a537a0e9a/ruff-0.17.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f99e95a1515161138be3cbd1b06c06e739d8feb38ade35564556999fffc3686e", size = 10704341, upload-time = "2026-11-05T18:51:49.228Z" }, + { url = "https://files.pythonhosted.org/packages/28/a2/5edf97659c3ac7c73f978003bd314936f671037fdac6b978e9de3e4b2b65/ruff-0.17.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5f28cf0dd37cb172fa5a8d2e92e6ada3a9dbd0609f094ed24039929eef0b7524", size = 11394465, upload-time = "2026-11-05T18:51:51.534Z" }, + { url = "https://files.pythonhosted.org/packages/f2/8f/51371ae856b2bef4d15a044a574695fbc0f6ae63aafa42a2a22428070fb6/ruff-0.17.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6b21c771b296888e8a35c6f48555f4b44e4483f61675d6ed51810a5203469ce6", size = 10988262, upload-time = "2026-11-05T18:51:53.91Z" }, + { url = "https://files.pythonhosted.org/packages/af/1b/62874f14c7873f27c7887d2b1ea41de990e14ba9518801ffe8eacb5d51a6/ruff-0.17.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2cd025509b2e15721b426fc70fd946d71f43b3db3b08e946dfec2d696d911690", size = 10572829, upload-time = "2026-11-05T18:51:56.129Z" }, + { url = "https://files.pythonhosted.org/packages/98/30/860b9dae67432b16b88558a9cb2d3194825fa62838f8b9cc49f5d9022095/ruff-0.17.4-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:49b77f7b3921669466882a4881168801bdb06ec2cd83fb936049016cf5fdece1", size = 10617545, upload-time = "2026-11-05T18:51:58.172Z" }, + { url = "https://files.pythonhosted.org/packages/0f/08/781a4b41a1c83fd6e30fea610d6502a6f94e49cf94693fd37bdcbc6bfe11/ruff-0.17.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e3b84eb74f260d1c2dbd236fd9d4c011d4fdd0a52bdf8aea57a10e3a1b71fca5", size = 10111955, upload-time = "2026-11-05T18:52:00.59Z" }, + { url = "https://files.pythonhosted.org/packages/3c/e9/94b1c7b677120f30839254518924f73a8157e9bcfa200edcd5796fecdb99/ruff-0.17.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:20e43d7a08e712e33067ba887e6574546c79bd4831596ce8f16803ac7ff9ad90", size = 10058355, upload-time = "2026-11-05T18:52:03.61Z" }, + { url = "https://files.pythonhosted.org/packages/27/5f/a825910b9f309336dc33cb8c0774126662c1d2f765699b3e0a1bd538d01f/ruff-0.17.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:0d1f4848fd2ec0499be4046db9b7dfcc952666885f00233cc7033515282556a8", size = 10415932, upload-time = "2026-11-05T18:52:06.264Z" }, + { url = "https://files.pythonhosted.org/packages/8b/b8/0796468423413ea4df1a6e2442ae26cf49b8f7dda0eecf246e0d5d0dde54/ruff-0.17.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:6007e7f3a0e55b0fbdb947af69cf24c21b4928df6be8ef3e767c69b5ccccf496", size = 10826033, upload-time = "2026-11-05T18:52:08.675Z" }, + { url = "https://files.pythonhosted.org/packages/b9/ab/d8e407669ffe5014429baf780c2df47e001968a6e4c17f615e2e7b13a9ba/ruff-0.17.4-py3-none-win32.whl", hash = "sha256:3971a78cba76298b284c8321e6d40d93045ed348bec5c369d85099efc97fb7cf", size = 9931993, upload-time = "2026-11-05T18:52:11.169Z" }, + { url = "https://files.pythonhosted.org/packages/bd/15/42af8a72d8946e3c9efd2bbf6641e462b6832783b0d043d63ef5b280ba7f/ruff-0.17.4-py3-none-win_amd64.whl", hash = "sha256:67c5a894fc054cf41f75f7afa24815de5a74329d97634126c2a1015740ff4e8c", size = 10292922, upload-time = "2026-11-05T18:52:13.436Z" }, + { url = "https://files.pythonhosted.org/packages/68/9e/f1dbffcfb8ff25dadbc21f87a8b73c3848abe4abada9d4b08ccef8bec40c/ruff-0.17.4-py3-none-win_arm64.whl", hash = "sha256:181ae38a9a8fb94925bf7d0794327b48d7fd7f4b50cfd84c0e999cc09ef8d131", size = 9889396, upload-time = "2026-11-05T18:52:15.549Z" }, ] [[package]] name = "tomli" -version = "2.4.1" +version = "2.5.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b0/78/9ad63712633ed3ab5cc1a648d863d7e7da371e9425e209555a0fe711b695/tomli-2.5.0.tar.gz", hash = "sha256:264507556cd8b8c8e7c6ee037cdf443a463f03f4c958e57195e3d369711b8ff6", size = 17662, upload-time = "2026-10-07T12:23:37.892Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" }, - { url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" }, - { url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" }, - { url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" }, - { url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" }, - { url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" }, - { url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" }, - { url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" }, - { url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" }, - { url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" }, - { url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" }, - { url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" }, - { url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" }, - { url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" }, - { url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" }, - { url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" }, - { url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" }, - { url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" }, - { url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" }, - { url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" }, - { url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" }, - { url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" }, - { url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" }, - { url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" }, - { url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" }, - { url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" }, - { url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" }, - { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, - { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, - { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, - { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, - { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, - { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, - { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, - { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, - { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, - { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, - { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, - { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, - { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, - { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, - { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, - { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, - { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, - { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, - { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, + { url = "https://files.pythonhosted.org/packages/22/a6/ab99b60ee52acd949684febabc3005d0045d0f66bebd9cdebd67372d26dd/tomli-2.5.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c4dc1c1781f2f716de763d1e9a7b34c6a894e167e291c7c5d16c72f7a9538545", size = 163901, upload-time = "2026-10-07T12:22:15.601Z" }, + { url = "https://files.pythonhosted.org/packages/bc/00/ee01b7ed4579180fff07142d290257f25ba786f23f3ec6005f620933c2f5/tomli-2.5.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:eff8babca5a7999bc137acbc7482a8b7e17ffca5075ab41f5d770ab408c7bfef", size = 163756, upload-time = "2026-10-07T12:22:16.957Z" }, + { url = "https://files.pythonhosted.org/packages/72/c2/4efebf65372f6583185f79799312109dddb61102d47e5c33dcfd1a297aca/tomli-2.5.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:86665cee9c4835b7a7f1e8ec2c719b5258d4dc782887aded5a8ae7352a96843b", size = 268038, upload-time = "2026-10-07T12:22:18.135Z" }, + { url = "https://files.pythonhosted.org/packages/53/07/5850468e925d898abb36038666f9c333a94d2a223e802a8ba5b6d319d23f/tomli-2.5.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d7e369fd63331746182360977b1892bfc215476a30d61612d732425311639f56", size = 276422, upload-time = "2026-10-07T12:22:19.567Z" }, + { url = "https://files.pythonhosted.org/packages/b4/87/f293984cdcf83c054196d4fd3dad44fc68ae55b4b8c44bc76cef360c3150/tomli-2.5.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7ad1ea345759240d6463efa0ed1c704402752e49aa21476620738d74d72d8aa1", size = 272616, upload-time = "2026-10-07T12:22:20.794Z" }, + { url = "https://files.pythonhosted.org/packages/ce/ce/db582886b3c1219d3fec93ebd669332482e5aee7a91e0f7838d84f2d1759/tomli-2.5.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:96243987194634bd411066ce40c952e108f86af04db533ecd8ac3ff2a85b1885", size = 276593, upload-time = "2026-10-07T12:22:22.12Z" }, + { url = "https://files.pythonhosted.org/packages/bf/72/7619b87dea4261fc27dd7b54c4461c129c1f7d9bb7ba3aec89c797a431b8/tomli-2.5.0-cp311-cp311-win32.whl", hash = "sha256:610b27d99f28ec5f191c7064a48f3ddb179a1fe6ca73d571483ae859f57b605e", size = 101830, upload-time = "2026-10-07T12:22:23.651Z" }, + { url = "https://files.pythonhosted.org/packages/1e/74/220106da34502304b6751a2a9b8a9fbca6c3fd47e737a2e2e3da7c61c9db/tomli-2.5.0-cp311-cp311-win_amd64.whl", hash = "sha256:c804ae44fe7b4bab5da295e4f980a1ff04670bca9d23fe0a4e887e08ebd741a8", size = 112742, upload-time = "2026-10-07T12:22:24.972Z" }, + { url = "https://files.pythonhosted.org/packages/27/99/7d9c8b41837a7773613e169504147375c157a290167aa59ad74a085f521f/tomli-2.5.0-cp311-cp311-win_arm64.whl", hash = "sha256:cfac177ebd6236003846ea339981f71457cb6eb748f23381eb257e45092e3980", size = 109332, upload-time = "2026-10-07T12:22:26.117Z" }, + { url = "https://files.pythonhosted.org/packages/52/ed/7baa86f87493646a594de388c7c1c40a39dd0461f7e9c0359cbeefc91fe8/tomli-2.5.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:1f4a40d03fb9f63424f0979855bdeaf44dd7696b8d59501822c10ed30ba532df", size = 164854, upload-time = "2026-10-07T12:22:27.444Z" }, + { url = "https://files.pythonhosted.org/packages/a5/b1/44c0341f2224397855723c7a8a39f718ea6fcbcc3dacc66e5aeca0f334e3/tomli-2.5.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9ebf8d19b17bd0daeb7b7dec81a946a439b753942fd0210d6e96c532249eea6b", size = 164074, upload-time = "2026-10-07T12:22:28.679Z" }, + { url = "https://files.pythonhosted.org/packages/23/04/e2d5b7d3fba47adedb23de616c16d428ea076c79a3d8e1d95d649ffe197e/tomli-2.5.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf0b5e8e0f68ebb494356e577c06c139161efd8d3b9050f93b39b7c26cc54ff0", size = 274274, upload-time = "2026-10-07T12:22:29.804Z" }, + { url = "https://files.pythonhosted.org/packages/43/90/6090e706ff27a6f89f4a40578e3324b95c3cd8c4150868aabf33a8f414c3/tomli-2.5.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6cf74416bdc94ae458b14e37286c1073081850ac8459a00d0c5efef5d44294c6", size = 286435, upload-time = "2026-10-07T12:22:31.297Z" }, + { url = "https://files.pythonhosted.org/packages/0a/9e/a2c40768df16c408f22430afb0a73e9d7e5f79c950884954649d1146b74d/tomli-2.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:61ea1ebe1e55a34ea8199cc8dbff398d35027b82271c8ac4802fd3a1fd5b1bcc", size = 278119, upload-time = "2026-10-07T12:22:32.601Z" }, + { url = "https://files.pythonhosted.org/packages/12/25/3c0cb485b98e9cfac495629b1c93c87ccf0b72fbe9d2689fd8fe62c6d5a3/tomli-2.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ed53f7e89bb04f6d9e8e7799112360b0c4d5cbff067de0814c98c37c39b920f7", size = 286177, upload-time = "2026-10-07T12:22:33.745Z" }, + { url = "https://files.pythonhosted.org/packages/77/8b/0144c65f0e37e51c18d04ae15c21b19431c165002d0131fe9aa8b0b8b1e8/tomli-2.5.0-cp312-cp312-win32.whl", hash = "sha256:e7ad033e27a516a233bea839cdb77b80146facb3b4f40bf02cd0cac165cdd5c2", size = 102760, upload-time = "2026-10-07T12:22:34.887Z" }, + { url = "https://files.pythonhosted.org/packages/de/32/5d6d8f42fc9a05fce69354e00ff256484192f5f2fc9a2165718fa0de61ec/tomli-2.5.0-cp312-cp312-win_amd64.whl", hash = "sha256:bd05de8c1698f8413dd7d869492693a0bf2211543b787ac78cd5e7536af1a6d7", size = 112722, upload-time = "2026-10-07T12:22:36.162Z" }, + { url = "https://files.pythonhosted.org/packages/30/65/df18032218db0fb9b769fb23c8039a051f15c811993995ea04c350273a32/tomli-2.5.0-cp312-cp312-win_arm64.whl", hash = "sha256:069435bd5480429b98c5e5afb02ab21c219b6f0064680671c6dc0d46817346ea", size = 109534, upload-time = "2026-10-07T12:22:37.296Z" }, + { url = "https://files.pythonhosted.org/packages/42/e5/51736d70da209350969e15aca5c5ab6e2ce1ea87a0a892a6c13aec172a86/tomli-2.5.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:943276cf269e0071948d9ff697159c1735e623c1151d88abb09b74659ef0cbea", size = 163328, upload-time = "2026-10-07T12:22:38.373Z" }, + { url = "https://files.pythonhosted.org/packages/ec/55/086f80dab4ab497602644274e6dea7ec5dd0b4e262e443a8ad3bb7edee2d/tomli-2.5.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:463b16086865b97facd8d0b3fb4cb7c544e3f58d2a69dc3113d6db9653fdb043", size = 162246, upload-time = "2026-10-07T12:22:39.673Z" }, + { url = "https://files.pythonhosted.org/packages/aa/eb/3ecc94459f3635c92321f4e7bde571323fdb2267c50e19e3188a281eae3b/tomli-2.5.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1245a6638fc4bb0a60af38a7d45413db34a13842027c77597c712c998c62fdf0", size = 272655, upload-time = "2026-10-07T12:22:41.08Z" }, + { url = "https://files.pythonhosted.org/packages/c0/d7/494fd1f0c37a621f1ad9975c2efadb523e8101f144ed6edb2e7fe64738f2/tomli-2.5.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5d8bac3d603c97e6854424e5b2b5b741bdbde387e09f162fb0446812b4a8362b", size = 283595, upload-time = "2026-10-07T12:22:42.222Z" }, + { url = "https://files.pythonhosted.org/packages/70/51/bb8d62b1317e6640866f6949b2d5855e5300f2c99d46de1cd245570bba65/tomli-2.5.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:21e4cae4114aba25aa0d4f85cdf486d290fb35c0954d7bba536248da64d43066", size = 276253, upload-time = "2026-10-07T12:22:43.625Z" }, + { url = "https://files.pythonhosted.org/packages/66/f4/f46bd7f0763cd47de2db697dca9257c6a4adfd1a93b018cc75c8190ed5a8/tomli-2.5.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:bbaefc84548d754be821bba7c4141c4787dda182f9e77f2f87b71213529efa7b", size = 283582, upload-time = "2026-10-07T12:22:44.983Z" }, + { url = "https://files.pythonhosted.org/packages/ac/03/70f2bcb2923a6db37818d917e124270a7f4cfd38ea576f5aa753a91c0ef5/tomli-2.5.0-cp313-cp313-win32.whl", hash = "sha256:abdbf6313b8d9efe157edeb7ab6eae4de064b1300ad31abf73755154b30abe68", size = 102628, upload-time = "2026-10-07T12:22:46.508Z" }, + { url = "https://files.pythonhosted.org/packages/dc/98/d52024bb5b0ff68b4f0d276d867f634c84a67319a7e9f6b7708a37742333/tomli-2.5.0-cp313-cp313-win_amd64.whl", hash = "sha256:fd4dc129784e0c5335bd4e61dfcc4487499a013419e655cf2da1d091b7e0efdc", size = 113301, upload-time = "2026-10-07T12:22:47.647Z" }, + { url = "https://files.pythonhosted.org/packages/6f/f2/540db3a70572a8c23a28aba3e9c358ce0ffffbafc990905c1343aa265b31/tomli-2.5.0-cp313-cp313-win_arm64.whl", hash = "sha256:69491c143d2fe063046e0301e62a810bed338fa4d1ce0fd870c27dc1e09b0d84", size = 109744, upload-time = "2026-10-07T12:22:48.925Z" }, + { url = "https://files.pythonhosted.org/packages/e4/49/caf6b307766eb9567664a8707e9d6be5fcc0e8903f18781c6677a60d80c7/tomli-2.5.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d3182ee2d887e507bd67319a0a61105d1dd33facc111329559a233b772c1a105", size = 162899, upload-time = "2026-10-07T12:22:50.088Z" }, + { url = "https://files.pythonhosted.org/packages/d3/c8/68cfce773a2733a49c74f99d627fb461bd990756860099eac25617889585/tomli-2.5.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:521345fd1f19d45b8df87657aaa38b6f2ca3800059fadf428e7ebf479a383646", size = 162080, upload-time = "2026-10-07T12:22:51.558Z" }, + { url = "https://files.pythonhosted.org/packages/7e/b2/e5bb8651fdad593f670501a7d718b1a7f73f064d44dea15e04c04dfef45d/tomli-2.5.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6e95c7614e705bfe2b04b27aa124adec59752d15813df37e2156747cab3a006b", size = 273380, upload-time = "2026-10-07T12:22:52.918Z" }, + { url = "https://files.pythonhosted.org/packages/8d/d2/9e2d7f8b1dfe0e2b34c245986ebd55c4c553ea4ce6c47c443b332673253f/tomli-2.5.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7ac2027d37c3afbdf4bdd377f2676f6f1d2122a5be1f1137b49dced590b37e75", size = 283228, upload-time = "2026-10-07T12:22:54.173Z" }, + { url = "https://files.pythonhosted.org/packages/ba/df/ec7b876b7b1a2718bd74a3743c076fff565b04029ba33e8f61fac262739f/tomli-2.5.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c414be4ed9d3cac80c42e348fa5a956117d1a48227f48026e31f59cb4a7671eb", size = 277189, upload-time = "2026-10-07T12:22:55.342Z" }, + { url = "https://files.pythonhosted.org/packages/7d/7b/e192d9eed0b9cb80da799f4d77052297fb9a2c3cc9b19f571f56ea88add6/tomli-2.5.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9b03d7dc168353b4132965bde20feceabaa470e570c6f59660dfae59b1f9eeb3", size = 283632, upload-time = "2026-10-07T12:22:56.735Z" }, + { url = "https://files.pythonhosted.org/packages/84/50/ff94454e75461d75623e47401ed323d65c10aab8fe9033242c20cd2fdf32/tomli-2.5.0-cp314-cp314-win32.whl", hash = "sha256:6f041843c4d3a37245c0c056fd955b186bf8b1fb85690cbe40b81230891dc34b", size = 103535, upload-time = "2026-10-07T12:22:58.084Z" }, + { url = "https://files.pythonhosted.org/packages/54/0b/bdacf05f963bd6026ebf6eeb0beda847d1d60e03e440725c64a4e08a0afd/tomli-2.5.0-cp314-cp314-win_amd64.whl", hash = "sha256:f4b653094e18f9031102d3a1da5c729c8f222d85225b18037dac621695e46e1a", size = 114621, upload-time = "2026-10-07T12:22:59.2Z" }, + { url = "https://files.pythonhosted.org/packages/61/99/53f438fa6ae4f9d4ed0ddde3e7242b3bdc34b48c8f9948b72b9e9b127676/tomli-2.5.0-cp314-cp314-win_arm64.whl", hash = "sha256:3f89d10c1ff6a38d992c27fc8a4816af71a909e08a40ec66934240b1e74347c3", size = 111572, upload-time = "2026-10-07T12:23:00.479Z" }, + { url = "https://files.pythonhosted.org/packages/b9/20/1f88f19427d380a40e90a770e087489eaafe4aeee070ae88ed2bbec00acd/tomli-2.5.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:e9e15b4a6c7dd6b85b5fbab29488a73f1f70de516942308daa266bf0e0aeb0d4", size = 171814, upload-time = "2026-10-07T12:23:01.914Z" }, + { url = "https://files.pythonhosted.org/packages/d0/56/cbe5079c9f9a54b9b3e27fc82f08f3cb36edee75561679f53d2380c801d6/tomli-2.5.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e12bbcd32897272fb05929110362ae9ff4c1b9bb26bd9e971e71dcd3275b4c3d", size = 171324, upload-time = "2026-10-07T12:23:03.18Z" }, + { url = "https://files.pythonhosted.org/packages/2b/30/1d53fd3b0f1cb3ba542e345ec32c26aefdddc4e829e4f3429af8a4f27782/tomli-2.5.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:20aa36de8f2cf87237143bc1fa1aae8d6612c09118f4da21c6a684db5dd1f6f9", size = 297441, upload-time = "2026-10-07T12:23:04.345Z" }, + { url = "https://files.pythonhosted.org/packages/66/d9/0800acb6a111686f764c1b91ef15cc42a20a66a46013bb42220f1d2c61c1/tomli-2.5.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:22185fad8a1e622f064e78008018a0dd3323550dcb479cb7a1d296888d74024f", size = 307476, upload-time = "2026-10-07T12:23:05.671Z" }, + { url = "https://files.pythonhosted.org/packages/e8/63/30a8f3cd51b5bec37f04744bad0b0dc6160df84aad4f27b0e9283d66f221/tomli-2.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:984012f71908165449a951de2050d52f276bfe3aa5d5f570f63ddad814370374", size = 296113, upload-time = "2026-10-07T12:23:07.202Z" }, + { url = "https://files.pythonhosted.org/packages/ab/18/0b9ffc597e69c5a1e20a7823cb60d54b39a9f54e91edcb8574f022186758/tomli-2.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f79203b3965b4000e91808aaa7c040206093f2b8bf86f455982f2274c9ccf442", size = 307725, upload-time = "2026-10-07T12:23:08.508Z" }, + { url = "https://files.pythonhosted.org/packages/ab/c7/18f8baae0b5607a60e8e19b4a7fedee43a8ff6458e3896dcbbadeeac9c22/tomli-2.5.0-cp314-cp314t-win32.whl", hash = "sha256:91294a9fb94a75542f6e46e4a2ae709bd8d9b51134098cae5cf3bea5478b6d03", size = 108546, upload-time = "2026-10-07T12:23:09.956Z" }, + { url = "https://files.pythonhosted.org/packages/72/34/4cca9739254130627bde87500b3f2b512154fe2f278efa7e2a5e10ad4bcb/tomli-2.5.0-cp314-cp314t-win_amd64.whl", hash = "sha256:f15e3e0b835a6d68b10c86bf80a3149780498d6911c93c3ffd1861d19f9200f1", size = 117814, upload-time = "2026-10-07T12:23:11.486Z" }, + { url = "https://files.pythonhosted.org/packages/7d/fb/afa530d47dd80a78fce43beac6bc6e00f84558eafcffbc6f37b21e80d056/tomli-2.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:6664b7ae7af7294256c53960a6103077f4914cec8ff98479c352f622c6f6b2f0", size = 115188, upload-time = "2026-10-07T12:23:12.728Z" }, + { url = "https://files.pythonhosted.org/packages/66/98/316fdc00f8c0939e6fe50461dd343c162d3ad51d1286eb25b7db54361d50/tomli-2.5.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:a525685c2f97da40762b8695eb7aa0af4c8344ca1905c73e4e29cb04d34607dc", size = 162775, upload-time = "2026-10-07T12:23:13.941Z" }, + { url = "https://files.pythonhosted.org/packages/c5/22/7b10fa5bb01c9539f53f69b619361b19350acc73657772ea7ac70ba309a8/tomli-2.5.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:9dbb18c1cfb2f6517942fc9314437f66aa06d94436ffb1f06102ef3572f35276", size = 161406, upload-time = "2026-10-07T12:23:15.215Z" }, + { url = "https://files.pythonhosted.org/packages/9c/e7/1a069d86dfd20f1f84f71c63faed9f83c1d890bc06c27d82dc7d888fb573/tomli-2.5.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:752e8b1aa6a4367ef8bf6a1a1e005540f7ed055ba36d7193796812ca5404eb52", size = 273855, upload-time = "2026-10-07T12:23:16.471Z" }, + { url = "https://files.pythonhosted.org/packages/ae/83/d1ef43d1687d092ab9c235455c76e6e709483b346b056f086095c7c263a5/tomli-2.5.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c47300f9bf791808f77d82747691c4bb09cb14bdf3060cca99b42cdc4361d5a7", size = 284910, upload-time = "2026-10-07T12:23:18.166Z" }, + { url = "https://files.pythonhosted.org/packages/cc/05/f4d9cf7de61822ece0c3873f30d291e324911c71a378b8bfe5ced13fd9f5/tomli-2.5.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:19b0dd8749f4ea2f112c5fcfb3c5248390c899d7e2e173f1d91abee1fa0ff391", size = 277723, upload-time = "2026-10-07T12:23:19.355Z" }, + { url = "https://files.pythonhosted.org/packages/42/28/78262493141fa543151cf005760c3cb01d09fc28a11f993c05109902cb8c/tomli-2.5.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:57b1c3b01fab802e2899bc3d168dca320e14165e2fd9fd584760fb4ca5826859", size = 285115, upload-time = "2026-10-07T12:23:20.698Z" }, + { url = "https://files.pythonhosted.org/packages/1a/b9/e1dab9a30bcb677b5cc5cee810609cfd64f24306a3055767dd3fda00b1e0/tomli-2.5.0-cp315-cp315-win32.whl", hash = "sha256:667e521b37a6c5ccaa044202c235b530f90177ffe2cd4a64ecc213c7dd535feb", size = 103475, upload-time = "2026-10-07T12:23:21.941Z" }, + { url = "https://files.pythonhosted.org/packages/4c/bd/31a3790c11d6ea95fcf5e6022ac0f8d0543c9b61120b730fc481bd43d3b4/tomli-2.5.0-cp315-cp315-win_amd64.whl", hash = "sha256:d747252933c8a65ef6bd8da0fbb7ce28a90eb6119d8cd00772cd528aa07b68d5", size = 114589, upload-time = "2026-10-07T12:23:23.098Z" }, + { url = "https://files.pythonhosted.org/packages/47/a2/4f6310fa699364f0e3af7ee3af88dddd9af066d33e716a0265bbe2b3ea84/tomli-2.5.0-cp315-cp315-win_arm64.whl", hash = "sha256:75dbcde8751b0a960aa3de173aa5e894d590755c6d7758b7e774c06f1dc3cbdd", size = 111493, upload-time = "2026-10-07T12:23:24.233Z" }, + { url = "https://files.pythonhosted.org/packages/68/14/00853f0b396d8971107ae1921bb5b322fdee1650d2f16bf06c20adb532e5/tomli-2.5.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:2419c2a189551987b59d80e63ec355671283336f41c6b9b89462df679c7d0c57", size = 171380, upload-time = "2026-10-07T12:23:25.512Z" }, + { url = "https://files.pythonhosted.org/packages/89/ad/fa6949321dadee46b27363974fb197b94c911c3b0f7a5fd26d7dc18fc2a0/tomli-2.5.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:0dc598040da8d42cf20f0be588ed7004f46db12a0ac6c32e03a59dccedaaadcd", size = 170553, upload-time = "2026-10-07T12:23:26.855Z" }, + { url = "https://files.pythonhosted.org/packages/53/aa/3056c919eb3e084df3752b2cf5f865dcc04af0b27dba2f66d7b28af4633a/tomli-2.5.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:49096930c8d886c9bbdab62d2d0d17ce823ddeea522309a190b36245d5b49e01", size = 294428, upload-time = "2026-10-07T12:23:28.132Z" }, + { url = "https://files.pythonhosted.org/packages/96/b2/faeeb5d8769ea3832021d73e892c8391eae7b4b4f8b55a789127bd8b18a9/tomli-2.5.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8ade5023067f99fe72b88accd30d0ea05a158e9e32a11f124e731ea9695313f", size = 304909, upload-time = "2026-10-07T12:23:29.381Z" }, + { url = "https://files.pythonhosted.org/packages/f6/52/f094c09e73fb654b621716d019acb5d29bdfd1be01df80c281d552bda48d/tomli-2.5.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:b69564772b5c8f22ea5f498dff08cfa825045b4d4c4400529000bdf818aa3b2a", size = 293220, upload-time = "2026-10-07T12:23:30.608Z" }, + { url = "https://files.pythonhosted.org/packages/86/f5/0c30541078ca4b505ce3bd76ed931facbfec524dd018535d691d1af0a6d2/tomli-2.5.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:8ff3a2ca028c7eee0c777f9a092038d0a594a9fa04e215f929a22c329e2cb142", size = 305705, upload-time = "2026-10-07T12:23:32.181Z" }, + { url = "https://files.pythonhosted.org/packages/05/74/590e7d19d6a118fc5cc5704ff358e21d95b8573f6b9443b1519f29ca8825/tomli-2.5.0-cp315-cp315t-win32.whl", hash = "sha256:62fc1bc8eb03e3a9cadfca713d65614ed8e09d974a283295ffe3a831976b4dc5", size = 108432, upload-time = "2026-10-07T12:23:33.496Z" }, + { url = "https://files.pythonhosted.org/packages/1c/b8/63a75cfb27a17c38550e44025d3a6e7be64516fd8608a3b75703bf37d81b/tomli-2.5.0-cp315-cp315t-win_amd64.whl", hash = "sha256:f3fcbc57b1791fa6cbe5d8434179d51de12be1a4811469529f47f6e7487a2571", size = 117281, upload-time = "2026-10-07T12:23:34.648Z" }, + { url = "https://files.pythonhosted.org/packages/72/01/e8c1debb2173973372934c68fc8e46170ab60ef23ed4592dff4dec6e8993/tomli-2.5.0-cp315-cp315t-win_arm64.whl", hash = "sha256:d2ba24db8a9376921b5e87b4762b9adb0f3f1deaea68f2b8b0bb2c11efb9c3e7", size = 115069, upload-time = "2026-10-07T12:23:35.77Z" }, + { url = "https://files.pythonhosted.org/packages/60/3f/3e3f8fd0919249b0200c80fbc4f9a1e70be19f9883da71dfb7f8b9ab8aca/tomli-2.5.0-py3-none-any.whl", hash = "sha256:32a7b79ac57a2e83670ce329ccf675798bc5a2094783a63676866b70503f2e2b", size = 14765, upload-time = "2026-10-07T12:23:36.875Z" }, ] [[package]] name = "ty" -version = "0.0.29" +version = "0.0.101" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/47/d5/853561de49fae38c519e905b2d8da9c531219608f1fccc47a0fc2c896980/ty-0.0.29.tar.gz", hash = "sha256:e7936cca2f691eeda631876c92809688dbbab68687c3473f526cd83b6a9228d8", size = 5469221, upload-time = "2026-04-05T15:01:21.328Z" } +sdist = { url = "https://files.pythonhosted.org/packages/34/6c/22c0680e71f529e084ee2e308a51f04317298248ee699f4914c02129c351/ty-0.0.101.tar.gz", hash = "sha256:dbb43374b49fe30ea49e244da63aa90098dff1257a49ae4351b44881ccef724f", size = 8244347, upload-time = "2026-11-11T13:53:32.912Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/03/b7/911f9962115acfa24e3b2ec9d4992dd994c38e8769e1b1d7680bb4d28a51/ty-0.0.29-py3-none-linux_armv6l.whl", hash = "sha256:b8a40955f7660d3eaceb0d964affc81b790c0765e7052921a5f861ff8a471c30", size = 10568206, upload-time = "2026-04-05T15:01:19.165Z" }, - { url = "https://files.pythonhosted.org/packages/fe/c3/fcae2167d4c77a97269f92f11d1b43b03617f81de1283d5d05b43432110c/ty-0.0.29-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6b6849adae15b00bbe2d3c5b078967dcb62eba37d38936b8eeb4c81a82d2e3b8", size = 10442530, upload-time = "2026-04-05T15:01:28.471Z" }, - { url = "https://files.pythonhosted.org/packages/97/33/5a6bfa240cfcb9c36046ae2459fa9ea23238d20130d8656ff5ac4d6c012a/ty-0.0.29-py3-none-macosx_11_0_arm64.whl", hash = "sha256:dcdd9b17209788152f7b7ea815eda07989152325052fe690013537cc7904ce49", size = 9915735, upload-time = "2026-04-05T15:01:10.365Z" }, - { url = "https://files.pythonhosted.org/packages/b3/1e/318f45fae232118e81a6306c30f50de42c509c412128d5bd231eab699ffb/ty-0.0.29-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9d8ed4789bae78ffaf94462c0d25589a734cab0366b86f2bbcb1bb90e1a7a169", size = 10419748, upload-time = "2026-04-05T15:01:32.375Z" }, - { url = "https://files.pythonhosted.org/packages/a9/a8/5687872e2ab5a0f7dd4fd8456eac31e9381ad4dc74961f6f29965ad4dd91/ty-0.0.29-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:91ec374b8565e0ad0900011c24641ebbef2da51adbd4fb69ff3280c8a7eceb02", size = 10394738, upload-time = "2026-04-05T15:01:06.473Z" }, - { url = "https://files.pythonhosted.org/packages/de/68/015d118097eeb95e6a44c4abce4c0a28b7b9dfb3085b7f0ee48e4f099633/ty-0.0.29-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:298a8d5faa2502d3810bbbb47a030b9455495b9921594206043c785dd61548cf", size = 10910613, upload-time = "2026-04-05T15:01:17.17Z" }, - { url = "https://files.pythonhosted.org/packages/1c/01/47ce3c6c53e0670eadbe80756b167bf80ed6681d1ba57cfde2e8065a13d1/ty-0.0.29-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c8fba1a3524c6109d1e020d92301c79d41bf442fa8d335b9fa366239339cb70", size = 11475750, upload-time = "2026-04-05T15:01:30.461Z" }, - { url = "https://files.pythonhosted.org/packages/c4/cf/e361845b1081c9264ad5b7c963231bab03f2666865a9f2a115c4233f2137/ty-0.0.29-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4c48adf88a70d264128c39ee922ed14a947817fced1e93c08c1a89c9244edcde", size = 11190055, upload-time = "2026-04-05T15:01:12.369Z" }, - { url = "https://files.pythonhosted.org/packages/79/12/0fb0857e9a62cb11586e9a712103877bbf717f5fb570d16634408cfdefee/ty-0.0.29-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ce0a7a0e96bc7b42518cd3a1a6a6298ef64ff40ca4614355c1aa807059b5c6f", size = 11020539, upload-time = "2026-04-05T15:01:37.022Z" }, - { url = "https://files.pythonhosted.org/packages/20/36/5a26753802083f80cd125db6c4348ad42b3c982ec36e718e0bf4c18f75e5/ty-0.0.29-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:a6ac86a05b4a3731d45365ab97780acc7b8146fa62fccb3cbe94fe6546c67a97", size = 10396399, upload-time = "2026-04-05T15:01:26.167Z" }, - { url = "https://files.pythonhosted.org/packages/00/e6/b4e75b5752239ab3ab400f19faef4dbef81d05aab5d3419fda0c062a3765/ty-0.0.29-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:6bbbf53141af0f3150bf288d716263f1a3550054e4b3551ca866d38192ba9891", size = 10421461, upload-time = "2026-04-05T15:01:08.367Z" }, - { url = "https://files.pythonhosted.org/packages/c0/21/1084b5b609f9abed62070ec0b31c283a403832a6310c8bbc208bd45ee1e6/ty-0.0.29-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1c9e06b770c1d0ff5efc51e34312390db31d53fcf3088163f413030b42b74f84", size = 10599187, upload-time = "2026-04-05T15:01:23.52Z" }, - { url = "https://files.pythonhosted.org/packages/ab/a1/ce19a2ca717bbcc1ee11378aba52ef70b6ce5b87245162a729d9fdc2360f/ty-0.0.29-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:0307fe37e3f000ef1a4ae230bbaf511508a78d24a5e51b40902a21b09d5e6037", size = 11121198, upload-time = "2026-04-05T15:01:15.22Z" }, - { url = "https://files.pythonhosted.org/packages/6b/6b/f1430b279af704321566ce7ec2725d3d8258c2f815ebd93e474c64cd4543/ty-0.0.29-py3-none-win32.whl", hash = "sha256:7a2a898217960a825f8bc0087e1fdbaf379606175e98f9807187221d53a4a8ed", size = 9995331, upload-time = "2026-04-05T15:01:01.32Z" }, - { url = "https://files.pythonhosted.org/packages/d2/ef/3ef01c17785ff9a69378465c7d0faccd48a07b163554db0995e5d65a5a23/ty-0.0.29-py3-none-win_amd64.whl", hash = "sha256:fc1294200226b91615acbf34e0a9ad81caf98c081e9c6a912a31b0a7b603bc3f", size = 11023644, upload-time = "2026-04-05T15:01:04.432Z" }, - { url = "https://files.pythonhosted.org/packages/2c/55/87280a994d6a2d2647c65e12abbc997ed49835794366153c04c4d9304d76/ty-0.0.29-py3-none-win_arm64.whl", hash = "sha256:f9794bbd1bb3ce13f78c191d0c89ae4c63f52c12b6daa0c6fe220b90d019d12c", size = 10428165, upload-time = "2026-04-05T15:01:34.665Z" }, + { url = "https://files.pythonhosted.org/packages/22/4a/48276817a1bcae8edf31f22f5a51d463c7bcfb1f17fc7a8878e02f5ea849/ty-0.0.101-py3-none-linux_armv6l.whl", hash = "sha256:99e535e2ba9993326900cd54e09eb7fe579c6a4490779f707f60ce89eaa8558d", size = 14907490, upload-time = "2026-11-11T13:52:41.694Z" }, + { url = "https://files.pythonhosted.org/packages/e9/a4/513d5af6fa5844ec7ec0730e3beec84e49ebbc543eea83eab64bf7814df8/ty-0.0.101-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:940441c9a8bb46f669ad49de4f20d0856ab6e114db414a2ae4c9962c27d1f46b", size = 14470530, upload-time = "2026-11-11T13:52:45.151Z" }, + { url = "https://files.pythonhosted.org/packages/78/17/6e7f23c486ff6c0d4bb6f4823e878b42faa1bd4e09462c75e4479cdd94ce/ty-0.0.101-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e185325fbd4dd9cabdc504c685f04f59b24f37dec96b2d9e8a8afab5731e1ea1", size = 13482054, upload-time = "2026-11-11T13:52:48.087Z" }, + { url = "https://files.pythonhosted.org/packages/ac/f7/c41c973902ea173513c4ccf084fb156397b0de0dfe95af12a5967b3eaed0/ty-0.0.101-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88857d3cb6c9446c41dbb74ee58147e7fae5ce19de206f7dab73ffc0ce6849f9", size = 14304038, upload-time = "2026-11-11T13:52:50.753Z" }, + { url = "https://files.pythonhosted.org/packages/4b/c4/d6bdaad6d256367e92185d9e28bafc469dfc595c5dc5852a2d2e3c2625ab/ty-0.0.101-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:844a92056b2afb21668cdc286c970b6871fdaefef5d12083d61f48c5caf3b366", size = 14629387, upload-time = "2026-11-11T13:52:53.993Z" }, + { url = "https://files.pythonhosted.org/packages/cb/f1/fbb05204d7cb7e0151c8faca7b6058be8acceda0196ef825a23ae0b79752/ty-0.0.101-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a2d2655478e29f3572f3584e8444103d8ce2e52727d83a09d8014dd6c1c26693", size = 15558957, upload-time = "2026-11-11T13:52:56.869Z" }, + { url = "https://files.pythonhosted.org/packages/41/54/e8b13336641d7f18821db236ff2e0e3dc370976670f1779f722026695e5b/ty-0.0.101-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c1552789274c2b1cceb9f86a6dcf9e8ac25814f8aa6462da74e4299b8bfdfd77", size = 16030421, upload-time = "2026-11-11T13:52:59.787Z" }, + { url = "https://files.pythonhosted.org/packages/17/89/dd4902272c06b93335310e61378ba0a2eba940d16284dc9217413e0f69b2/ty-0.0.101-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4834aa2254f4a87c895a43bb7ca1f6eb9ee5317045cb63bcf2dd3999957ea122", size = 15881514, upload-time = "2026-11-11T13:53:02.763Z" }, + { url = "https://files.pythonhosted.org/packages/0d/ff/647ce788ceccacf2da38126115cf0ba505093aeadc0bc7a09da4f120cfb7/ty-0.0.101-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e6d912d5593a6abc953b135c7d73d58dbeefb898d7306337ce16bbd88b01a616", size = 16832271, upload-time = "2026-11-11T13:53:06.036Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c2/e899c07e74b4ee97920b2ae895d5d4cd36240bfed4303679efa101852845/ty-0.0.101-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:29106ca9d0f1f39fb2e24dc34305ef1ea5929776244cffcb708f339c4dfb455a", size = 15455661, upload-time = "2026-11-11T13:53:09.257Z" }, + { url = "https://files.pythonhosted.org/packages/1f/5f/4c3ce22d7689d953925f0142c7217c6bfbf79f4d76d374266707d573d929/ty-0.0.101-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:08adc9f3ecb64673f5eaa9c851cde4a97965bc87bca10ed1151dcdacdfd327f5", size = 14304954, upload-time = "2026-11-11T13:53:12.261Z" }, + { url = "https://files.pythonhosted.org/packages/c4/39/daf6a33ddae667946314bb41a62405f717b28da7922b4006012b3de9025f/ty-0.0.101-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:b519339e54e3b1f6660905f5cc13b14faadac98a4106c2625b1e28486cd2cf75", size = 14641933, upload-time = "2026-11-11T13:53:14.947Z" }, + { url = "https://files.pythonhosted.org/packages/b8/3a/0c1cfa12972916dbd4dc5f8dcbf3f4f8f888586c2f725edad0c90c990e61/ty-0.0.101-py3-none-musllinux_1_2_i686.whl", hash = "sha256:502cab1f8c8b8c822dc8e858b9c309402834975185cdc5107df1e05e1ce85ff0", size = 14946745, upload-time = "2026-11-11T13:53:17.978Z" }, + { url = "https://files.pythonhosted.org/packages/43/2c/a7377d6c7a866e75d0e9a7821e37e12b4bbb9c4c17f6f6a0a9eb69d8866d/ty-0.0.101-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:02e2aec3bdb7051882ee1514a78f0161f4d51a53b6263c7d6a818ae5dc85a79e", size = 15382120, upload-time = "2026-11-11T13:53:21.289Z" }, + { url = "https://files.pythonhosted.org/packages/dc/b0/00a2fad58703c850c01a2fedf59b62da5fcfca3a2ddc9823872f93ab0a56/ty-0.0.101-py3-none-win32.whl", hash = "sha256:e21d86b974798909221bdccf1edabf8a072688b6793198dbb19b8479825330b1", size = 13806399, upload-time = "2026-11-11T13:53:25.037Z" }, + { url = "https://files.pythonhosted.org/packages/32/af/220a2beee8c5217ffd6ad5bc0262e2f3410119c0e357448fc91c491693f5/ty-0.0.101-py3-none-win_amd64.whl", hash = "sha256:d216293c9d734f72c74fd55678cb5a8ea04fdd95e1af4acd5f4fcfc9b69dd01b", size = 14379915, upload-time = "2026-11-11T13:53:27.72Z" }, + { url = "https://files.pythonhosted.org/packages/ec/1f/9e608354c59e072b3170f734a3126eeb0f44baf5452b83ca2937217f20c2/ty-0.0.101-py3-none-win_arm64.whl", hash = "sha256:1928805fd233c7cc92ea59cc6b7a28a05a2fcab56e2926a71b0c83f5f0c4f8f8", size = 13922734, upload-time = "2026-11-11T13:53:30.584Z" }, ] [[package]] name = "typing-extensions" -version = "4.15.0" +version = "4.16.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" }, + { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" }, ] [[package]] name = "wheel" -version = "0.46.3" +version = "0.48.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "packaging" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/89/24/a2eb353a6edac9a0303977c4cb048134959dd2a51b48a269dfc9dde00c8a/wheel-0.46.3.tar.gz", hash = "sha256:e3e79874b07d776c40bd6033f8ddf76a7dad46a7b8aa1b2787a83083519a1803", size = 60605, upload-time = "2026-01-22T12:39:49.136Z" } +sdist = { url = "https://files.pythonhosted.org/packages/d0/20/50ed6bdf27dec98b568a8ae25dc599f35baa3d9709f9e83fd1edb56b9a90/wheel-0.48.0.tar.gz", hash = "sha256:94800765601e9171bf5d58d066e640662842bcedcbab982b2c90787a2c987322", size = 66471, upload-time = "2026-08-11T22:02:27.327Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/87/22/b76d483683216dde3d67cba61fb2444be8d5be289bf628c13fc0fd90e5f9/wheel-0.46.3-py3-none-any.whl", hash = "sha256:4b399d56c9d9338230118d705d9737a2a468ccca63d5e813e2a4fc7815d8bc4d", size = 30557, upload-time = "2026-01-22T12:39:48.099Z" }, + { url = "https://files.pythonhosted.org/packages/2e/29/69cfbb602cd91690c55d38ba9fe53e6a7e76a6fa647bf38f19c138d25449/wheel-0.48.0-py3-none-any.whl", hash = "sha256:3217dcc807155e45db462d7ef2431f5ddda0d7273b700d05a67b271ceb1287ab", size = 33320, upload-time = "2026-08-11T22:02:26.1Z" }, ] From 19dc198449586b4442a0aa6a0bae3dfe88261037 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:56:59 -0500 Subject: [PATCH 03/23] Merge the workflows into a single ci.yaml Most of the previous layout existed so the Conda and wheel jobs could share one Java runtime. With only the wheel left, each platform builds the runtime, tests it, and builds the wheel in a single job, so: - the runtime no longer goes through an artifact between jobs, - the matrix goes directly on that job instead of on a reusable workflow, - the three composite actions are inlined. Pull requests lint, build, and test. Pushes to `main` only build and publish. Each runner's platform tag now sits next to it in the matrix instead of being derived in a long expression with an empty fallback. A new step installs the retagged wheel on the runner, and uv refuses a wheel tagged for another platform, so a wrong pairing fails the build. The trusted publisher on PyPI is tied to the workflow file name and environment. Before merging, register `ci.yaml` with the `pypi` environment on PyPI and create that environment on GitHub. Co-Authored-By: Claude Opus 5.5 --- .../actions/build-java-runtime/action.yaml | 20 ---- .../actions/build-python-wheel/action.yaml | 20 ---- .../actions/install-java-runtime/action.yaml | 15 --- .github/workflows/ci.yaml | 103 ++++++++++++++++++ .github/workflows/cross-platform-build.yaml | 18 --- .../workflows/platform-specific-build.yaml | 42 ------- .github/workflows/publish.yaml | 33 ------ .github/workflows/test.yaml | 18 --- 8 files changed, 103 insertions(+), 166 deletions(-) delete mode 100644 .github/actions/build-java-runtime/action.yaml delete mode 100644 .github/actions/build-python-wheel/action.yaml delete mode 100644 .github/actions/install-java-runtime/action.yaml create mode 100644 .github/workflows/ci.yaml delete mode 100644 .github/workflows/cross-platform-build.yaml delete mode 100644 .github/workflows/platform-specific-build.yaml delete mode 100644 .github/workflows/publish.yaml delete mode 100644 .github/workflows/test.yaml diff --git a/.github/actions/build-java-runtime/action.yaml b/.github/actions/build-java-runtime/action.yaml deleted file mode 100644 index cbb96092..00000000 --- a/.github/actions/build-java-runtime/action.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Build Java runtime -description: Build the Java runtime. -runs: - using: composite - steps: - - uses: astral-sh/setup-uv@v6 - with: - version-file: pyproject.toml - - - id: get-java-version - run: uv run python -c 'from jdk4py import JAVA_VERSION; print(f"""version={".".join(str(number) for number in JAVA_VERSION)}""")' >> "$GITHUB_OUTPUT" - shell: bash - - - uses: actions/setup-java@v5 - with: - distribution: temurin - java-version: ${{ steps.get-java-version.outputs.version }} - - - run: uv run python build_java_runtime.py - shell: bash diff --git a/.github/actions/build-python-wheel/action.yaml b/.github/actions/build-python-wheel/action.yaml deleted file mode 100644 index e239db99..00000000 --- a/.github/actions/build-python-wheel/action.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# Remove this action and inline the first step once https://github.com/astral-sh/uv/issues/14827 is closed. -name: Build Python wheel -description: Build platform-specific Python wheel -runs: - using: composite - steps: - - run: uv build --wheel - shell: bash - - - run: uv run python -m wheel tags --platform-tag ${{ env.JDK4PY_PLATFORM_TAG }} --remove dist/*-py3-none-any.whl - env: - # Tag values taken from https://pypi.org/project/numpy/2.1.0/#files. - JDK4PY_PLATFORM_TAG: ${{ (runner.os == 'Linux' && runner.arch == 'ARM64' && 'manylinux_2_17_aarch64') || (runner.os == 'Linux' && runner.arch == 'X64' && 'manylinux_2_17_x86_64') || (runner.os == 'macOS' && runner.arch == 'ARM64' && 'macosx_11_0_arm64') || (runner.os == 'macOS' && runner.arch == 'X64' && 'macosx_10_9_x86_64') || (runner.os == 'Windows' && runner.arch == 'X64' && 'win_amd64') || '' }} - shell: bash - - - uses: actions/upload-artifact@v4 - with: - if-no-files-found: error - name: jdk4py-${{ runner.os }}-${{ runner.arch }}-python-wheel - path: dist/jdk4py-*.whl diff --git a/.github/actions/install-java-runtime/action.yaml b/.github/actions/install-java-runtime/action.yaml deleted file mode 100644 index 032201a8..00000000 --- a/.github/actions/install-java-runtime/action.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: Install Java runtime -description: Download the Java runtime artifact and extract it. -runs: - using: composite - steps: - - uses: actions/download-artifact@v5 - with: - name: java-runtime-${{ runner.os }}-${{ runner.arch }} - - # See https://github.com/actions/upload-artifact/blob/v4.6.2/README.md#permission-loss. - - run: tar -xf artifact.tar - shell: bash - - - run: rm artifact.tar - shell: bash diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..1529bfc3 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,103 @@ +# The file name and the `pypi` environment are registered as this project's trusted publisher on PyPI. +# Pull requests lint, build, and test; pushes to `main` only build and publish. +name: Build, test, and publish +on: + pull_request: + push: + branches: + - main + +defaults: + run: + shell: bash + +jobs: + lint: + if: github.event_name == 'pull_request' + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v5 + - uses: astral-sh/setup-uv@v6 + with: + version-file: pyproject.toml + - run: uv run ruff format --check + - run: uv run ruff check + - run: uv run ty check + + build: + name: Build on ${{ matrix.runner }} + strategy: + fail-fast: false + matrix: + # Platform tags taken from https://pypi.org/project/numpy/2.1.0/#files. + include: + - runner: macos-15-intel + platform-tag: macosx_10_9_x86_64 + - runner: macos-26 + platform-tag: macosx_11_0_arm64 + - runner: ubuntu-24.04 + platform-tag: manylinux_2_17_x86_64 + - runner: ubuntu-24.04-arm64 # GitHub-hosted larger runner in the ActiveViam organization. + platform-tag: manylinux_2_17_aarch64 + - runner: windows-2025 + platform-tag: win_amd64 + runs-on: ${{ matrix.runner }} + steps: + - uses: actions/checkout@v5 + - uses: astral-sh/setup-uv@v6 + with: + version-file: pyproject.toml + + - id: get-java-version + run: | + uv run python - >> "$GITHUB_OUTPUT" <<'EOF' + from jdk4py import JAVA_VERSION + + version = ".".join(str(number) for number in JAVA_VERSION) + print(f"version={version}") + EOF + - uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: ${{ steps.get-java-version.outputs.version }} + - run: uv run python build_java_runtime.py + + - if: github.event_name == 'pull_request' + run: uv run pytest + + # Replace these two steps with `uv build --wheel` and a platform tag option once https://github.com/astral-sh/uv/issues/14827 is closed. + - run: uv build --wheel + - run: uv run python -m wheel tags --platform-tag "$PLATFORM_TAG" --remove dist/*-py3-none-any.whl + env: + PLATFORM_TAG: ${{ matrix.platform-tag }} + # uv refuses to install a wheel tagged for another platform, so this fails if the matrix pairs a runner with the wrong tag. + - run: uv run --isolated --no-project --with dist/jdk4py-*.whl python -c 'import jdk4py' + + - uses: actions/upload-artifact@v4 + with: + if-no-files-found: error + name: jdk4py-${{ runner.os }}-${{ runner.arch }} + path: dist/jdk4py-*.whl + + publish: + if: github.event_name == 'push' + needs: build + environment: pypi + runs-on: ubuntu-24.04 + permissions: + # Trusted publishing. + id-token: write + steps: + - uses: actions/checkout@v5 + + - uses: actions/download-artifact@v5 + with: + merge-multiple: true + path: dist/ + pattern: jdk4py-* + + - uses: astral-sh/setup-uv@v6 + with: + version-file: pyproject.toml + + - run: uv publish diff --git a/.github/workflows/cross-platform-build.yaml b/.github/workflows/cross-platform-build.yaml deleted file mode 100644 index 3226016f..00000000 --- a/.github/workflows/cross-platform-build.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Cross-platform build -on: - workflow_call - -jobs: - build: - strategy: - fail-fast: false - matrix: - runner: - - macos-15-intel - - macos-26 - - ubuntu-24.04 - - ubuntu-24.04-arm64 # GitHub-hosted larger runner in the ActiveViam organization. - - windows-2025 - uses: ./.github/workflows/platform-specific-build.yaml - with: - runner: ${{ matrix.runner }} diff --git a/.github/workflows/platform-specific-build.yaml b/.github/workflows/platform-specific-build.yaml deleted file mode 100644 index 4b71f27b..00000000 --- a/.github/workflows/platform-specific-build.yaml +++ /dev/null @@ -1,42 +0,0 @@ -name: Platform-specific build -on: - workflow_call: - inputs: - runner: - required: true - type: string - -jobs: - build-java-runtime: - name: Build Java runtime on ${{ inputs.runner }} - runs-on: ${{ inputs.runner }} - steps: - - uses: actions/checkout@v5 - - - uses: ./.github/actions/build-java-runtime - - # See https://github.com/actions/upload-artifact/blob/v4.6.2/README.md#permission-loss. - - run: tar -cf artifact.tar src/jdk4py/java-runtime/ - shell: bash - - - uses: actions/upload-artifact@v4 - with: - if-no-files-found: error - name: java-runtime-${{ runner.os }}-${{ runner.arch }} - path: artifact.tar - - - run: rm artifact.tar - shell: bash - - build-python-wheel: - name: Build Python wheel on ${{ inputs.runner }} - needs: build-java-runtime - runs-on: ${{ inputs.runner }} - steps: - - uses: actions/checkout@v5 - - uses: ./.github/actions/install-java-runtime - - uses: astral-sh/setup-uv@v6 - with: - version-file: pyproject.toml - - run: uv run pytest - - uses: ./.github/actions/build-python-wheel diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index 23288a3f..00000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: Publish Python wheels -on: - push: - branches: - - main - -jobs: - build: - uses: ./.github/workflows/cross-platform-build.yaml - - publish: - environment: deployment - name: Publish Python wheels - needs: build - runs-on: ubuntu-24.04 - permissions: - # Required for trusted publishing. - id-token: write - steps: - - uses: actions/checkout@v5 - - - uses: actions/download-artifact@v5 - with: - merge-multiple: true - path: dist/ - pattern: jdk4py-* - - - uses: astral-sh/setup-uv@v6 - with: - version-file: pyproject.toml - - - name: Publish Python wheels - run: uv publish diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 165a119b..00000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Test -on: - pull_request: - types: [opened, synchronize] - -jobs: - build: - uses: ./.github/workflows/cross-platform-build.yaml - - test: - name: Test - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v5 - - uses: ./.github/actions/build-java-runtime - - run: uv run ruff format --check - - run: uv run ruff check - - run: uv run ty check From 210ca90829dfac170b988262247c7e7d5bde384c Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:57:15 -0500 Subject: [PATCH 04/23] Upgrade the GitHub Actions and lock them Every action moves to its latest release. All the inputs used here still exist in the new major versions. `actions.lock` is generated by `gh actions-lock` and pins each action, including the ones they use internally, to a commit. GitHub refuses to run a workflow whose actions don't match it. Update it with `gh actions-lock`; Dependabot also updates it. The versions are full tags because the lockfile records whatever ref the workflow names, and setup-uv no longer publishes a floating major tag. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/actions.lock | 37 ++++++++++++++++++++++++++++++++++ .github/workflows/ci.yaml | 18 ++++++++--------- 2 files changed, 46 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/actions.lock diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock new file mode 100644 index 00000000..85078be8 --- /dev/null +++ b/.github/workflows/actions.lock @@ -0,0 +1,37 @@ +# This file is machine-generated by `gh actions-lock`. +# Do not edit by hand; run `gh actions-lock` to update. +# Docs: https://gh.io/actions-lockfile +version: 'v0.0.3' +workflows: + '.github/workflows/ci.yaml': + - 'actions/checkout@v7.0.1' + - 'actions/download-artifact@v8.0.2' + - 'actions/setup-java@v6.2.0' + - 'actions/upload-artifact@v7.0.2' + - 'astral-sh/setup-uv@v10.3.3' +dependencies: + 'actions/checkout@v7.0.1': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'actions/download-artifact@v8.0.2': + ref: 'v8.0.2' + commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333' + owner_id: 44036562 + repo_id: 192626254 + 'actions/setup-java@v6.2.0': + ref: 'v6.2.0' + commit: 'sha1-77dd5b2ce225ea11469928ac317850245a74ae78' + owner_id: 44036562 + repo_id: 196057608 + 'actions/upload-artifact@v7.0.2': + ref: 'v7.0.2' + commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' + owner_id: 44036562 + repo_id: 192625955 + 'astral-sh/setup-uv@v10.3.3': + ref: 'v10.3.3' + commit: 'sha1-68559e99cc807c1eb7e9238fd43a15bba460eec2' + owner_id: 115962839 + repo_id: 846733598 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1529bfc3..e747c278 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,8 +16,8 @@ jobs: if: github.event_name == 'pull_request' runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v5 - - uses: astral-sh/setup-uv@v6 + - uses: actions/checkout@v7.0.1 + - uses: astral-sh/setup-uv@v10.3.3 with: version-file: pyproject.toml - run: uv run ruff format --check @@ -43,8 +43,8 @@ jobs: platform-tag: win_amd64 runs-on: ${{ matrix.runner }} steps: - - uses: actions/checkout@v5 - - uses: astral-sh/setup-uv@v6 + - uses: actions/checkout@v7.0.1 + - uses: astral-sh/setup-uv@v10.3.3 with: version-file: pyproject.toml @@ -56,7 +56,7 @@ jobs: version = ".".join(str(number) for number in JAVA_VERSION) print(f"version={version}") EOF - - uses: actions/setup-java@v5 + - uses: actions/setup-java@v6.2.0 with: distribution: temurin java-version: ${{ steps.get-java-version.outputs.version }} @@ -73,7 +73,7 @@ jobs: # uv refuses to install a wheel tagged for another platform, so this fails if the matrix pairs a runner with the wrong tag. - run: uv run --isolated --no-project --with dist/jdk4py-*.whl python -c 'import jdk4py' - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7.0.2 with: if-no-files-found: error name: jdk4py-${{ runner.os }}-${{ runner.arch }} @@ -88,15 +88,15 @@ jobs: # Trusted publishing. id-token: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7.0.1 - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v8.0.2 with: merge-multiple: true path: dist/ pattern: jdk4py-* - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v10.3.3 with: version-file: pyproject.toml From cddf08fa71fc98e52837d02f20d6519a5e6679c0 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:57:24 -0500 Subject: [PATCH 05/23] Harden the CI workflow Fix the findings of zizmor, a GitHub Actions security linter: - `actions/checkout` no longer leaves the GitHub token in `.git/config`. - Jobs get a read-only token by default. The publish job keeps `id-token: write` for trusted publishing. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e747c278..b57510da 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,12 +11,17 @@ defaults: run: shell: bash +permissions: + contents: read + jobs: lint: if: github.event_name == 'pull_request' runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7.0.1 + with: + persist-credentials: false - uses: astral-sh/setup-uv@v10.3.3 with: version-file: pyproject.toml @@ -44,6 +49,8 @@ jobs: runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v7.0.1 + with: + persist-credentials: false - uses: astral-sh/setup-uv@v10.3.3 with: version-file: pyproject.toml @@ -85,10 +92,13 @@ jobs: environment: pypi runs-on: ubuntu-24.04 permissions: + contents: read # Trusted publishing. id-token: write steps: - uses: actions/checkout@v7.0.1 + with: + persist-credentials: false - uses: actions/download-artifact@v8.0.2 with: From 0a9bcf8a7f8c1c07adf7e61a98536ae78c73e49d Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:57:30 -0500 Subject: [PATCH 06/23] Use the standard GitHub-hosted arm64 runner `ubuntu-24.04-arm` has been generally available for public repositories since August 2025, and it's free for them. The larger runner it replaces is billed even on public repositories, and only exists in the ActiveViam organization. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b57510da..06b6f9c6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,7 +42,7 @@ jobs: platform-tag: macosx_11_0_arm64 - runner: ubuntu-24.04 platform-tag: manylinux_2_17_x86_64 - - runner: ubuntu-24.04-arm64 # GitHub-hosted larger runner in the ActiveViam organization. + - runner: ubuntu-24.04-arm platform-tag: manylinux_2_17_aarch64 - runner: windows-2025 platform-tag: win_amd64 From 2d6d1c596a1268d9ae7ea6cfc069a6f06bf6ffd8 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:57:37 -0500 Subject: [PATCH 07/23] Fix the macOS x64 platform tag The tags were copied from numpy's wheels, but what matters is the oldest system the bundled JDK binaries run on. Every native binary in Temurin 25.0.5 for macOS, on both architectures, requires macOS 11.0. The old `macosx_10_9_x86_64` tag let pip install jdk4py on macOS 10.9 to 10.15, where the JDK cannot run. The Linux tags are right: no Temurin 25.0.5 binary needs a glibc newer than 2.17. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06b6f9c6..ed362359 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,10 +34,14 @@ jobs: strategy: fail-fast: false matrix: - # Platform tags taken from https://pypi.org/project/numpy/2.1.0/#files. + # Each platform tag is the oldest platform the Temurin binaries run on. + # - On Linux, they need at most glibc 2.17. + # - On macOS, they need at most macOS 11.0. + # + # Checked on Temurin 25.0.5. include: - runner: macos-15-intel - platform-tag: macosx_10_9_x86_64 + platform-tag: macosx_11_0_x86_64 - runner: macos-26 platform-tag: macosx_11_0_arm64 - runner: ubuntu-24.04 From 4bfe6884e2bf41eeda41bc520b635fe808c3b8d7 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:57:56 -0500 Subject: [PATCH 08/23] Publish PEP 740 attestations PyPI shows attestations as each release's provenance: proof that the wheels were built and uploaded by this repository's workflow. See https://docs.pypi.org/attestations. `uv publish` uploads attestations but doesn't generate them, so astral-sh/attest-action generates them first, using the trusted publishing identity the job already has. pypa/gh-action-pypi-publish would do both in one step, but it runs a Docker image pulled by a mutable tag that the actions lockfile cannot cover. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/actions.lock | 13 +++++++++++++ .github/workflows/ci.yaml | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 85078be8..ef5dac45 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -8,6 +8,7 @@ workflows: - 'actions/download-artifact@v8.0.2' - 'actions/setup-java@v6.2.0' - 'actions/upload-artifact@v7.0.2' + - 'astral-sh/attest-action@v0.0.7' - 'astral-sh/setup-uv@v10.3.3' dependencies: 'actions/checkout@v7.0.1': @@ -30,6 +31,18 @@ dependencies: commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' owner_id: 44036562 repo_id: 192625955 + 'astral-sh/attest-action@v0.0.7': + ref: 'v0.0.7' + commit: 'sha1-39b6ce43875c196a579e31635b11aa2a2036384a' + owner_id: 115962839 + repo_id: 1101470881 + uses: + - 'astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7' + 'astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7': + ref: 'v10.2.0' + commit: 'sha1-c18668ad3cf93ea998bef934396af7bb5c839dc7' + owner_id: 115962839 + repo_id: 846733598 'astral-sh/setup-uv@v10.3.3': ref: 'v10.3.3' commit: 'sha1-68559e99cc807c1eb7e9238fd43a15bba460eec2' diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ed362359..0c63d996 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -97,7 +97,7 @@ jobs: runs-on: ubuntu-24.04 permissions: contents: read - # Trusted publishing. + # Attestations and trusted publishing. id-token: write steps: - uses: actions/checkout@v7.0.1 @@ -114,4 +114,5 @@ jobs: with: version-file: pyproject.toml + - uses: astral-sh/attest-action@v0.0.7 - run: uv publish From 8d1e9e193fd2ee29c20c64ef1c904fa3532cd473 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:06 -0500 Subject: [PATCH 09/23] Lint with prek prek runs ruff, ty, and prettier for Markdown and YAML, locally as a Git hook (`uv run prek install`) and in CI. prettier comes from npm with a Node that prek installs itself, so contributors have nothing to install. prek fails any hook that modifies files, so CI fails with the diff instead of silently reformatting. That makes `ruff check --exit-non-zero-on-fix` and `ruff format --exit-non-zero-on-format` unnecessary, and `fix = true` moves to `pyproject.toml`. JSON is left out: the only JSON files are the VS Code settings, which allow trailing commas that prettier would remove. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 8 +++----- prek.toml | 35 +++++++++++++++++++++++++++++++++++ pyproject.toml | 4 ++++ uv.lock | 19 +++++++++++++++++++ 4 files changed, 61 insertions(+), 5 deletions(-) create mode 100644 prek.toml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0c63d996..e4624fbf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,5 +1,5 @@ # The file name and the `pypi` environment are registered as this project's trusted publisher on PyPI. -# Pull requests lint, build, and test; pushes to `main` only build and publish. +# Pull requests run prek, build, and test; pushes to `main` only build and publish. name: Build, test, and publish on: pull_request: @@ -15,7 +15,7 @@ permissions: contents: read jobs: - lint: + prek: if: github.event_name == 'pull_request' runs-on: ubuntu-24.04 steps: @@ -25,9 +25,7 @@ jobs: - uses: astral-sh/setup-uv@v10.3.3 with: version-file: pyproject.toml - - run: uv run ruff format --check - - run: uv run ruff check - - run: uv run ty check + - run: uv run prek run --all-files --show-diff-on-failure build: name: Build on ${{ matrix.runner }} diff --git a/prek.toml b/prek.toml new file mode 100644 index 00000000..1cd543b4 --- /dev/null +++ b/prek.toml @@ -0,0 +1,35 @@ +[[repos]] +repo = "local" + +[[repos.hooks]] +id = "ruff-check" +name = "ruff check" +language = "system" +entry = "uv run ruff check" +types = ["python"] +require_serial = true + +[[repos.hooks]] +id = "ruff-format" +name = "ruff format" +language = "system" +entry = "uv run ruff format" +types = ["python"] +require_serial = true + +[[repos.hooks]] +id = "ty" +name = "ty check" +language = "system" +entry = "uv run ty check" +pass_filenames = false +types = ["python"] + +# From npm directly, with a Node that prek installs itself: nothing for contributors to install. +[[repos.hooks]] +id = "prettier" +name = "prettier" +language = "node" +additional_dependencies = ["prettier@3.9.10"] +entry = "prettier --write --ignore-unknown" +files = '\.(md|ya?ml)$' diff --git a/pyproject.toml b/pyproject.toml index 04d06a5d..b9ffc840 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ requires = ["uv-build"] [dependency-groups] dev = [ + "prek", "pytest", "ruff", "ty", @@ -35,6 +36,9 @@ Repository = "https://github.com/activeviam/jdk4py" [tool.pytest] filterwarnings = ["error"] +[tool.ruff] +fix = true + [tool.ruff.lint] ignore = [ "COM812", diff --git a/uv.lock b/uv.lock index 23961f35..270a3426 100644 --- a/uv.lock +++ b/uv.lock @@ -39,6 +39,7 @@ source = { editable = "." } [package.dev-dependencies] dev = [ + { name = "prek" }, { name = "pytest" }, { name = "ruff" }, { name = "ty" }, @@ -49,6 +50,7 @@ dev = [ [package.metadata.requires-dev] dev = [ + { name = "prek" }, { name = "pytest" }, { name = "ruff" }, { name = "ty" }, @@ -73,6 +75,23 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a12d7f0dc2a1235aa8cc07bcc75416a7daa/pluggy-1.7.0-py3-none-any.whl", hash = "sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec", size = 27082, upload-time = "2026-10-15T09:50:56.808Z" }, ] +[[package]] +name = "prek" +version = "0.5.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e2/69/2e2f3804a4c4d53c89875a92665fa1cdc96eb49a2f483752e9aa8a2350e7/prek-0.5.10.tar.gz", hash = "sha256:bfb3c7072fc9c5c49d715c015693f4ea6ef7b051f134eac158ed7753e6f00101", size = 605608, upload-time = "2026-11-04T01:47:55.646Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/08/8e/e91b61d35cb58943c06c8c28468d63ea80e47411e67ae92f656632d622aa/prek-0.5.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:f527aff6b0f66fe1b25d69c8b52cd3855eecd0bde6a7b092d068cf3459d61492", size = 5885267, upload-time = "2026-11-04T01:47:39.538Z" }, + { url = "https://files.pythonhosted.org/packages/6e/2a/244c52b31bbc8aa010e8f6535d0a9801094384b8d6f92c8dd592b4107c42/prek-0.5.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:647cee631058495c6a16560624ca48fed8020d835cc944c6b6941a515827f0fe", size = 5498190, upload-time = "2026-11-04T01:47:41.696Z" }, + { url = "https://files.pythonhosted.org/packages/87/40/ab72c8a0a5932df38e1d7bd739150450c2abbaa42f0e64a1c9b6ac92814d/prek-0.5.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:35e50990aa83d52f3a54c2a5be9cfe60649b07a02c5ec252e834d830f6903ee8", size = 5649497, upload-time = "2026-11-04T01:47:43.274Z" }, + { url = "https://files.pythonhosted.org/packages/a3/1d/df20b11dda0b1e5ae0c095830b04b9dedfcdc5a81994f0021c55cb3fa06b/prek-0.5.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0b47b06f8f118b0dc4cb8663492fd64fb90408dfe20d596dea3767003d716b2f", size = 6078523, upload-time = "2026-11-04T01:47:45.338Z" }, + { url = "https://files.pythonhosted.org/packages/70/48/5b74be17f90f9ecc9c988d250fad5ae0d855dbf567ec20e25cbfcef258ca/prek-0.5.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b4a5667c09ae692be1ed930b9cef23258c3a648ea89aa1a737a16317ea78f718", size = 5916406, upload-time = "2026-11-04T01:47:47.351Z" }, + { url = "https://files.pythonhosted.org/packages/11/14/58374587e973223a370bdf3cd6298936e8d43594c25458613c92ac0d86ac/prek-0.5.10-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:6aaaff95bd6fe1bd0ceef3d76e17c798eafc740be19ab36c28fa15329d35ed16", size = 5587363, upload-time = "2026-11-04T01:47:48.869Z" }, + { url = "https://files.pythonhosted.org/packages/a6/85/6d52a8a117cc6c2596e28e254789810a6458b47e2dd7e8fb6217af7ea205/prek-0.5.10-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:d6dc6bde07884cf7b065bfe901416343e9ed187ab41d26fcb29e219ac1759415", size = 6107344, upload-time = "2026-11-04T01:47:50.519Z" }, + { url = "https://files.pythonhosted.org/packages/47/be/591e35f0a3bc57d8cad3a23ec4dcbe69ceb65146ff93c00a7560cf6fd751/prek-0.5.10-py3-none-win_amd64.whl", hash = "sha256:175ef58e5aab13e6d6a1a41409ed011dfae62bc60180b227bb7192803e980010", size = 5470434, upload-time = "2026-11-04T01:47:52.268Z" }, + { url = "https://files.pythonhosted.org/packages/7f/af/06a905c3b341adb7838498b39157ef2079ecd11079c40d4265e6d14c70d6/prek-0.5.10-py3-none-win_arm64.whl", hash = "sha256:e689633358ec7c0e3dd3d0d9bce55613a9f78fc31ce3b4a16cdce70bb1d1d47a", size = 5410984, upload-time = "2026-11-04T01:47:53.978Z" }, +] + [[package]] name = "pygments" version = "2.21.0" From 3532bb392ee564ab562efb554893dae3d574446e Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:16 -0500 Subject: [PATCH 10/23] Use an SPDX license expression License classifiers are deprecated by PEP 639 in favor of `license` and `license-files`. The expression includes the Classpath Exception because `LICENSE` is OpenJDK's: GPLv2 with that exception. A plain `GPL-2.0-only` would leave out the exception that makes embedding the JDK possible. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b9ffc840..bf8a5ae2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,6 @@ dev = [ authors = [{ email = "dev@atoti.io", name = "ActiveViam" }] classifiers = [ "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", @@ -25,6 +24,8 @@ classifiers = [ dependencies = [] description = "A JDK shipped in a Python package" keywords = ["jdk", "java", "jvm", "jre"] +license = "GPL-2.0-only WITH Classpath-exception-2.0" +license-files = ["LICENSE"] name = "jdk4py" readme = "README.md" requires-python = ">=3.10" From 131e9f4aa435b0a9c48765c7c7a08add42570985 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:16 -0500 Subject: [PATCH 11/23] Update the package metadata - The contact email changed. - The package ships `py.typed`, so it's `Typing :: Typed`. - The package ships a Java runtime, so it's also `Programming Language :: Java`. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bf8a5ae2..cfaad65c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,13 +13,15 @@ dev = [ ] [project] -authors = [{ email = "dev@atoti.io", name = "ActiveViam" }] +authors = [{ email = "atoti-dev@activeviam.com", name = "ActiveViam" }] classifiers = [ "Development Status :: 5 - Production/Stable", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", + "Programming Language :: Java", "Programming Language :: Python :: 3", + "Typing :: Typed", ] dependencies = [] description = "A JDK shipped in a Python package" From 090c6c1d92850ca7b72794f92a514286361d32e7 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:30 -0500 Subject: [PATCH 12/23] Move the build-only lists out of the package `ADDED_MODULES` and `INCLUDED_LOCALES` are only used to build the runtime and by the tests, yet every wheel shipped them. Nothing in the ActiveViam organization imports them. The runtime itself reports what it contains, more accurately than these lists, since jlink also pulls in dependencies and related locales: - `java --list-modules` lists its modules. - `java -XshowSettings:locale -version` lists its available locales. Co-Authored-By: Claude Opus 5.5 --- build_java_runtime.py | 53 ++++++++++++++++++++++++++++++--- src/jdk4py/_added_modules.py | 17 ----------- src/jdk4py/_included_locales.py | 29 ------------------ tests/test_jdk4py.py | 6 ++-- 4 files changed, 52 insertions(+), 53 deletions(-) delete mode 100644 src/jdk4py/_added_modules.py delete mode 100644 src/jdk4py/_included_locales.py diff --git a/build_java_runtime.py b/build_java_runtime.py index 106bc204..61a023c3 100644 --- a/build_java_runtime.py +++ b/build_java_runtime.py @@ -1,9 +1,54 @@ +from collections.abc import Collection from shutil import rmtree from subprocess import check_call +from typing import Literal, TypeAlias, get_args from jdk4py import JAVA_HOME -from jdk4py._added_modules import ADDED_MODULES -from jdk4py._included_locales import INCLUDED_LOCALES + +_ADDED_MODULES = frozenset( + { + "java.se", + "jdk.crypto.ec", + "jdk.httpserver", + "jdk.jcmd", + "jdk.jdwp.agent", + "jdk.jfr", + "jdk.localedata", + "jdk.management.agent", + "jdk.management.jfr", + "jdk.net", + "jdk.security.auth", + "jdk.unsupported", + "jdk.zipfs", + }, +) + +_RegionSpecificLocale: TypeAlias = Literal[ + "bn-IN", + "da-DK", + "de-DE", + "en-GB", + "en-US", + "es-ES", + "es-MX", + "fr-FR", + "it-IT", + "ja-JP", + "pt-BR", + "ru-RU", + "zh-CN", +] +_REGION_SPECIFIC_LOCALES: Collection[str] = get_args(_RegionSpecificLocale) + +_INCLUDED_LOCALES = frozenset( + { + locale + for tag in _REGION_SPECIFIC_LOCALES + # Expand each region-specific locale to also include its language-only locale so that `jlink --include-locales` retains the language-only locale bundles (e.g. `FormatData_fr.class`). + # See https://github.com/openjdk/jdk/blob/jdk-25%2B35/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/IncludeLocalesPlugin.java. + for locale in (tag, tag.split("-", maxsplit=1)[0]) + }, +) def build_java_runtime() -> None: @@ -15,8 +60,8 @@ def build_java_runtime() -> None: "--no-man-pages", "--strip-debug", "--add-modules", - ",".join(ADDED_MODULES), - f"--include-locales={','.join(INCLUDED_LOCALES)}", + ",".join(_ADDED_MODULES), + f"--include-locales={','.join(_INCLUDED_LOCALES)}", "--output", JAVA_HOME, ], diff --git a/src/jdk4py/_added_modules.py b/src/jdk4py/_added_modules.py deleted file mode 100644 index c236a670..00000000 --- a/src/jdk4py/_added_modules.py +++ /dev/null @@ -1,17 +0,0 @@ -ADDED_MODULES = frozenset( - { - "java.se", - "jdk.crypto.ec", - "jdk.httpserver", - "jdk.jcmd", - "jdk.jdwp.agent", - "jdk.jfr", - "jdk.localedata", - "jdk.management.agent", - "jdk.management.jfr", - "jdk.net", - "jdk.security.auth", - "jdk.unsupported", - "jdk.zipfs", - }, -) diff --git a/src/jdk4py/_included_locales.py b/src/jdk4py/_included_locales.py deleted file mode 100644 index f1aa0aae..00000000 --- a/src/jdk4py/_included_locales.py +++ /dev/null @@ -1,29 +0,0 @@ -from collections.abc import Collection -from typing import Literal, TypeAlias, get_args - -_RegionSpecificLocale: TypeAlias = Literal[ - "bn-IN", - "da-DK", - "de-DE", - "en-GB", - "en-US", - "es-ES", - "es-MX", - "fr-FR", - "it-IT", - "ja-JP", - "pt-BR", - "ru-RU", - "zh-CN", -] -_REGION_SPECIFIC_LOCALES: Collection[str] = get_args(_RegionSpecificLocale) - -INCLUDED_LOCALES = frozenset( - { - locale - for tag in _REGION_SPECIFIC_LOCALES - # Expand each region-specific locale to also include its language-only locale so that `jlink --include-locales` retains the language-only locale bundles (e.g. `FormatData_fr.class`). - # See https://github.com/openjdk/jdk/blob/jdk-25%2B35/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/IncludeLocalesPlugin.java. - for locale in (tag, tag.split("-", maxsplit=1)[0]) - }, -) diff --git a/tests/test_jdk4py.py b/tests/test_jdk4py.py index 4bd5e2a3..b8927081 100644 --- a/tests/test_jdk4py.py +++ b/tests/test_jdk4py.py @@ -4,8 +4,8 @@ from subprocess import run from typing import get_args +from build_java_runtime import _INCLUDED_LOCALES, _RegionSpecificLocale from jdk4py import JAVA, JAVA_VERSION -from jdk4py._included_locales import INCLUDED_LOCALES, _RegionSpecificLocale _TEST_RESOURCES_DIRECTORY = Path(__file__).parent / "resources" @@ -45,7 +45,7 @@ def test_included_locales() -> None: locale.replace("_", "-") for locale in completed_process.stdout.strip().splitlines() } - assert locales >= INCLUDED_LOCALES + assert locales >= _INCLUDED_LOCALES @dataclass(frozen=True) @@ -91,7 +91,7 @@ def test_locale_data_inclusion() -> None: so ``DecimalFormatSymbols.getInstance(Locale.forLanguageTag("fr-FR"))`` silently returns ROOT symbols. - ``INCLUDED_LOCALES`` must therefore list each region-specific locale alongside its language-only parent. + ``_INCLUDED_LOCALES`` must therefore list each region-specific locale alongside its language-only parent. """ expected = { locale: _get_number_formatting_separators(locale) From bcad6c9ec8922e32f896d7c8c601f70f731232fd Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:39 -0500 Subject: [PATCH 13/23] Annotate module-level constants with Final Type checkers then reject any reassignment. The four-way unpacking in `__init__.py` stays unannotated because Python has no syntax to annotate unpacked names. Co-Authored-By: Claude Opus 5.5 --- build_java_runtime.py | 8 ++++---- src/jdk4py/__init__.py | 11 ++++++----- tests/test_jdk4py.py | 12 ++++++------ 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/build_java_runtime.py b/build_java_runtime.py index 61a023c3..ffd21a7e 100644 --- a/build_java_runtime.py +++ b/build_java_runtime.py @@ -1,11 +1,11 @@ from collections.abc import Collection from shutil import rmtree from subprocess import check_call -from typing import Literal, TypeAlias, get_args +from typing import Final, Literal, TypeAlias, get_args from jdk4py import JAVA_HOME -_ADDED_MODULES = frozenset( +_ADDED_MODULES: Final = frozenset( { "java.se", "jdk.crypto.ec", @@ -38,9 +38,9 @@ "ru-RU", "zh-CN", ] -_REGION_SPECIFIC_LOCALES: Collection[str] = get_args(_RegionSpecificLocale) +_REGION_SPECIFIC_LOCALES: Final[Collection[str]] = get_args(_RegionSpecificLocale) -_INCLUDED_LOCALES = frozenset( +_INCLUDED_LOCALES: Final = frozenset( { locale for tag in _REGION_SPECIFIC_LOCALES diff --git a/src/jdk4py/__init__.py b/src/jdk4py/__init__.py index 2584d0e5..2e96638a 100644 --- a/src/jdk4py/__init__.py +++ b/src/jdk4py/__init__.py @@ -2,14 +2,15 @@ from importlib.metadata import version as _version from pathlib import Path as _Path +from typing import Final as _Final -_PACKAGE_DIRECTORY = _Path(__file__).parent +_PACKAGE_DIRECTORY: _Final = _Path(__file__).parent -JAVA_HOME = _PACKAGE_DIRECTORY / "java-runtime" -JAVA = JAVA_HOME / "bin" / "java" +JAVA_HOME: _Final = _PACKAGE_DIRECTORY / "java-runtime" +JAVA: _Final = JAVA_HOME / "bin" / "java" -_VERSION = _version("jdk4py") +_VERSION: _Final = _version("jdk4py") _JAVA_MAJOR, _JAVA_MINOR, _JAVA_PATCH, _LIB_VERSION = [ int(number) for number in _VERSION.split(".") ] -JAVA_VERSION = _JAVA_MAJOR, _JAVA_MINOR, _JAVA_PATCH +JAVA_VERSION: _Final = _JAVA_MAJOR, _JAVA_MINOR, _JAVA_PATCH diff --git a/tests/test_jdk4py.py b/tests/test_jdk4py.py index b8927081..14ba9bb4 100644 --- a/tests/test_jdk4py.py +++ b/tests/test_jdk4py.py @@ -2,12 +2,12 @@ from dataclasses import dataclass from pathlib import Path from subprocess import run -from typing import get_args +from typing import Final, get_args from build_java_runtime import _INCLUDED_LOCALES, _RegionSpecificLocale from jdk4py import JAVA, JAVA_VERSION -_TEST_RESOURCES_DIRECTORY = Path(__file__).parent / "resources" +_TEST_RESOURCES_DIRECTORY: Final = Path(__file__).parent / "resources" def test_java_version() -> None: @@ -54,10 +54,10 @@ class _NumberFormattingSeparators: grouping_separator: str -_COMMA = "," -_DOT = "." -_NARROW_NO_BREAK_SPACE = chr(0x202F) -_NO_BREAK_SPACE = chr(0x00A0) +_COMMA: Final = "," +_DOT: Final = "." +_NARROW_NO_BREAK_SPACE: Final = chr(0x202F) +_NO_BREAK_SPACE: Final = chr(0x00A0) def _get_number_formatting_separators( From 01f7505dc0306b6071abee314328bd706fe180f0 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:46 -0500 Subject: [PATCH 14/23] Show the actual output when test_java_version fails `java -version` writes to stderr, but the failure message printed stdout, which is always empty. For example, with `JAVA_TOOL_OPTIONS` set, the JVM prints a `Picked up JAVA_TOOL_OPTIONS` line first and the test failed with an empty "Unexpected output:" message. The pattern and the message now read the same variable so they cannot drift apart again. Also drop a redundant `isinstance` assertion and slice before converting instead of building a list. Co-Authored-By: Claude Opus 5.5 --- tests/test_jdk4py.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_jdk4py.py b/tests/test_jdk4py.py index 14ba9bb4..0f091130 100644 --- a/tests/test_jdk4py.py +++ b/tests/test_jdk4py.py @@ -17,11 +17,11 @@ def test_java_version() -> None: check=True, text=True, ) - match = re.match(r'^openjdk version "(?P[^"]+)"', completed_process.stderr) - assert match, f"Unexpected output:\n{completed_process.stdout}" + output = completed_process.stderr + match = re.match(r'^openjdk version "(?P[^"]+)"', output) + assert match, f"Unexpected output:\n{output}" version = match.group("version") - assert isinstance(version, str) - assert tuple([int(number) for number in version.split(".")][:3]) == JAVA_VERSION + assert tuple(int(number) for number in version.split(".")[:3]) == JAVA_VERSION def test_jar_execution() -> None: From 633f4f4ecd47b9beaab5d661b95b465affd4b8eb Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:56 -0500 Subject: [PATCH 15/23] Fix the README usage example JVM options must come before `-jar`: anything after the JAR is passed to the program, not the JVM. `HelloWorld.jar` also prints `Hello, World`, without an exclamation mark, and the REPL shows strings with single quotes. Co-Authored-By: Claude Opus 5.5 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f81bf308..12c0dea6 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,12 @@ PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java') >>> from subprocess import run >>> some_java_options = ["-Xmx16G", "-Xms2G"] >>> run( -... [JAVA, "-jar", "HelloWorld.jar", *some_java_options], +... [JAVA, *some_java_options, "-jar", "HelloWorld.jar"], ... capture_output=True, ... check=True, ... text=True, ... ).stdout.strip() -"Hello, World!" +'Hello, World' ``` ## Versioning From 1058f5406e186dec7d347c752ef23879ac66a046 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:56 -0500 Subject: [PATCH 16/23] Enable pytest strict mode pytest 9's `strict` turns on all of its strictness options at once, such as failing on unknown configuration keys and unregistered markers. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index cfaad65c..36f81e19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ Repository = "https://github.com/activeviam/jdk4py" [tool.pytest] filterwarnings = ["error"] +strict = true [tool.ruff] fix = true From 3ff53d6d1552af52b2a7bb3bfb5223d36011f95a Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:56 -0500 Subject: [PATCH 17/23] Use subprocess.run in the build script `run(..., check=True)` is the recommended API and is what the tests already use. Co-Authored-By: Claude Opus 5.5 --- build_java_runtime.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_java_runtime.py b/build_java_runtime.py index ffd21a7e..db450653 100644 --- a/build_java_runtime.py +++ b/build_java_runtime.py @@ -1,6 +1,6 @@ from collections.abc import Collection from shutil import rmtree -from subprocess import check_call +from subprocess import run from typing import Final, Literal, TypeAlias, get_args from jdk4py import JAVA_HOME @@ -54,7 +54,7 @@ def build_java_runtime() -> None: rmtree(JAVA_HOME, ignore_errors=True) - check_call( # noqa: S603 + run( # noqa: S603 [ # noqa: S607 "jlink", "--no-man-pages", @@ -65,6 +65,7 @@ def build_java_runtime() -> None: "--output", JAVA_HOME, ], + check=True, ) From c399a7aa62e75131e13b6196050f187bcd7d7dc7 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:58:56 -0500 Subject: [PATCH 18/23] Stop ignoring build/ Nothing writes a `build/` directory anymore: uv_build builds wheels directly into `dist/`. Co-Authored-By: Claude Opus 5.5 --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index 92ee55e3..2d149a7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .venv/ __pycache__/ -build/ dist/ java-runtime/ From ab07f2538c82efe54600e3aa2fdc64879bb0d889 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 13:47:23 -0500 Subject: [PATCH 19/23] Rename the tests after what they check These tests check the runtime that jlink builds, not the Python package, so `test_jdk4py.py` becomes `test_runtime.py`. Each test now runs its JAR through a helper and keeps that I/O apart from the parsing and assertions. A missing locale is now reported by name instead of as a failed comparison of two whole sets. Co-Authored-By: Claude Opus 5.5 --- tests/{test_jdk4py.py => test_runtime.py} | 40 +++++++++-------------- 1 file changed, 16 insertions(+), 24 deletions(-) rename tests/{test_jdk4py.py => test_runtime.py} (78%) diff --git a/tests/test_jdk4py.py b/tests/test_runtime.py similarity index 78% rename from tests/test_jdk4py.py rename to tests/test_runtime.py index 0f091130..de0070b5 100644 --- a/tests/test_jdk4py.py +++ b/tests/test_runtime.py @@ -24,28 +24,27 @@ def test_java_version() -> None: assert tuple(int(number) for number in version.split(".")[:3]) == JAVA_VERSION -def test_jar_execution() -> None: - completed_process = run( # noqa: S603 - [JAVA, "-jar", _TEST_RESOURCES_DIRECTORY / "HelloWorld.jar"], +def _run_jar(name: str, /) -> str: + return run( # noqa: S603 + [JAVA, "-jar", _TEST_RESOURCES_DIRECTORY / name], capture_output=True, check=True, text=True, - ) - assert completed_process.stdout.strip() == "Hello, World" + ).stdout + + +def test_jar_execution() -> None: + output = _run_jar("HelloWorld.jar") + assert output.strip() == "Hello, World" def test_included_locales() -> None: - completed_process = run( # noqa: S603 - [JAVA, "-jar", _TEST_RESOURCES_DIRECTORY / "PrintAvailableLocales.jar"], - capture_output=True, - check=True, - text=True, - ) - locales = { - locale.replace("_", "-") - for locale in completed_process.stdout.strip().splitlines() + output = _run_jar("PrintAvailableLocales.jar") + available_locales = { + locale.replace("_", "-") for locale in output.strip().splitlines() } - assert locales >= _INCLUDED_LOCALES + missing_locales = _INCLUDED_LOCALES - available_locales + assert not missing_locales @dataclass(frozen=True) @@ -93,27 +92,20 @@ def test_locale_data_inclusion() -> None: ``_INCLUDED_LOCALES`` must therefore list each region-specific locale alongside its language-only parent. """ + output = _run_jar("PrintLocaleNumberFormats.jar") expected = { locale: _get_number_formatting_separators(locale) for locale in get_args(_RegionSpecificLocale) } - - completed_process = run( # noqa: S603 - [JAVA, "-jar", _TEST_RESOURCES_DIRECTORY / "PrintLocaleNumberFormats.jar"], - capture_output=True, - check=True, - text=True, - ) actual = { locale: _NumberFormattingSeparators( decimal_separator=chr(int(decimal_cp)), grouping_separator=chr(int(grouping_cp)), ) - for line in completed_process.stdout.strip().splitlines() + for line in output.strip().splitlines() for locale, decimal_cp, grouping_cp in [line.split("\t")] if locale in expected } - assert actual == expected, ( "CLDR data not loaded for some locales (likely a missing language-only bundle)" ) From 297e264d143669c2d0a07eb934858a8115db9075 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 13:47:39 -0500 Subject: [PATCH 20/23] Add a jdk4py command `jdk4py [args...]` runs a tool of the bundled JDK, such as `java`, `keytool`, or `jcmd`. With uvx, `uvx jdk4py java -version` runs Java without installing a JDK or jdk4py first. A single `jdk4py` command, rather than putting `java`, `keytool`, and the other tools on `PATH` as #83 suggested, never shadows a JDK the user already has. On Linux and macOS, the command replaces its own process with the tool, so the tool receives signals and returns its exit code directly. Windows cannot replace a process, so there the command waits for the tool and exits with its exit code. CI now runs the README command against each built wheel, which also keeps the check that uv refuses a wheel tagged for another platform. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 6 +++-- README.md | 17 +++++++++++++ pyproject.toml | 3 +++ src/jdk4py/__main__.py | 33 ++++++++++++++++++++++++++ tests/test_cli.py | 50 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 107 insertions(+), 2 deletions(-) create mode 100644 src/jdk4py/__main__.py create mode 100644 tests/test_cli.py diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e4624fbf..c2237948 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -79,8 +79,10 @@ jobs: - run: uv run python -m wheel tags --platform-tag "$PLATFORM_TAG" --remove dist/*-py3-none-any.whl env: PLATFORM_TAG: ${{ matrix.platform-tag }} - # uv refuses to install a wheel tagged for another platform, so this fails if the matrix pairs a runner with the wrong tag. - - run: uv run --isolated --no-project --with dist/jdk4py-*.whl python -c 'import jdk4py' + + # Run the README command with the built wheel. + # uv refuses to install a wheel tagged for another platform, so this also fails if the matrix pairs a runner with the wrong tag. + - run: uvx --from dist/jdk4py-*.whl jdk4py java -version - uses: actions/upload-artifact@v7.0.2 with: diff --git a/README.md b/README.md index 12c0dea6..94ee8b0b 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,25 @@ A JDK shipped in a Python package. pip install jdk4py ``` +or + +```bash +uv add jdk4py +``` + ## Usage +### Command line + +The `jdk4py` command runs a tool of the bundled JDK, such as `java`, `keytool`, or `jcmd`. +With [uvx](https://docs.astral.sh/uv/guides/tools/), it runs without installing jdk4py first: + +```bash +uvx jdk4py java -version +``` + +### Python API + ```python >>> from jdk4py import JAVA, JAVA_HOME, JAVA_VERSION >>> JAVA_HOME diff --git a/pyproject.toml b/pyproject.toml index 36f81e19..4d17120f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,9 @@ readme = "README.md" requires-python = ">=3.10" version = "25.0.2.1" +[project.scripts] +jdk4py = "jdk4py.__main__:main" + [project.urls] Repository = "https://github.com/activeviam/jdk4py" diff --git a/src/jdk4py/__main__.py b/src/jdk4py/__main__.py new file mode 100644 index 00000000..21e80e79 --- /dev/null +++ b/src/jdk4py/__main__.py @@ -0,0 +1,33 @@ +"""Run a tool of the bundled JDK.""" + +import os +import sys +from argparse import REMAINDER, ArgumentParser +from subprocess import run + +from jdk4py import JAVA_HOME + + +def main() -> None: + tools = { + path.stem: path + for path in (JAVA_HOME / "bin").iterdir() + if path.suffix in {"", ".exe"} + } + parser = ArgumentParser(prog="jdk4py", description=__doc__) + parser.add_argument("tool", choices=sorted(tools)) + parser.add_argument("args", nargs=REMAINDER, help="arguments passed to the tool") + arguments = parser.parse_args() + tool = tools[arguments.tool] + argv = [tool, *arguments.args] + + if sys.platform == "win32": + # Windows cannot replace a process: `os.execv` starts a new one and exits right away, so the caller would lose the tool's exit code. + sys.exit(run(argv, check=False).returncode) # noqa: S603 + + # Replace this process with the tool so that the tool receives signals and returns its exit code directly. + os.execv(tool, argv) # noqa: S606 + + +if __name__ == "__main__": + main() diff --git a/tests/test_cli.py b/tests/test_cli.py new file mode 100644 index 00000000..1ae9d44b --- /dev/null +++ b/tests/test_cli.py @@ -0,0 +1,50 @@ +import re +import sys +from pathlib import Path +from shutil import which +from subprocess import CompletedProcess, run + +import pytest + +from jdk4py import JAVA_HOME + + +@pytest.fixture(scope="module") +def command() -> str: + path = which( + "jdk4py", + # Not from `$PATH`, which could find another installation. + path=Path(sys.executable).parent, + ) + assert path, "The `jdk4py` command is not installed." + return path + + +def _run(command: str, /, *args: str) -> CompletedProcess[str]: + return run( # noqa: S603 + [command, *args], + capture_output=True, + check=False, + text=True, + ) + + +def test_bundled_tool_execution(command: str) -> None: + completed_process = _run(command, "java", "-XshowSettings:properties", "-version") + output = completed_process.stderr + assert completed_process.returncode == 0, output + match = re.search(r"^ *java\.home = (?P.+)$", output, re.MULTILINE) + assert match, f"Unexpected output:\n{output}" + assert Path(match.group("path")).resolve() == JAVA_HOME.resolve() + + +def test_exit_code_forwarding(command: str) -> None: + completed_process = _run(command, "java", "-unknown-option") + assert completed_process.returncode == 1, completed_process.stderr + + +def test_unknown_tool_rejection(command: str) -> None: + completed_process = _run(command, "not-a-jdk-tool") + argparse_usage_error_exit_code = 2 + assert completed_process.returncode == argparse_usage_error_exit_code + assert "invalid choice: 'not-a-jdk-tool'" in completed_process.stderr From 3bc9c510cf569f2891228cd29077ebad942769b1 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 13:47:47 -0500 Subject: [PATCH 21/23] Use shields.io badges Show the PyPI version, the supported Python versions, and the license under the title. - The Python badge reads `requires-python`, since the `pyversions` badge only shows `3` without per-version classifiers. - The license badge is static, since the `pypi/l` badge leaves out the Classpath exception. Co-Authored-By: Claude Opus 5.5 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 94ee8b0b..618f93e6 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # jdk4py -A JDK shipped in a Python package. +[![PyPI](https://img.shields.io/pypi/v/jdk4py?style=flat-square)](https://pypi.org/project/jdk4py) +[![Python](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Factiveviam%2Fjdk4py%2Fmain%2Fpyproject.toml&style=flat-square)](https://github.com/activeviam/jdk4py/blob/main/pyproject.toml) +[![License](https://img.shields.io/badge/license-GPL--2.0%20with%20Classpath%20exception-blue?style=flat-square)](https://github.com/activeviam/jdk4py/blob/main/LICENSE) -[![PyPI version](https://badge.fury.io/py/jdk4py.svg)](https://badge.fury.io/py/jdk4py) +A JDK shipped in a Python package. ## Install From bb739eccebc3867f5ecb1fcf7ff6c2c90ee8f12d Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:59:04 -0500 Subject: [PATCH 22/23] Upgrade to JDK 25.0.5 Temurin 25.0.5 is three quarterly security updates past 25.0.2. The library API version resets to 0. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 618f93e6..c0a364a8 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime') >>> JAVA PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java') >>> JAVA_VERSION -(25, 0, 2) +(25, 0, 5) >>> from subprocess import run >>> some_java_options = ["-Xmx16G", "-Xms2G"] >>> run( diff --git a/pyproject.toml b/pyproject.toml index 4d17120f..53d122aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ license-files = ["LICENSE"] name = "jdk4py" readme = "README.md" requires-python = ">=3.10" -version = "25.0.2.1" +version = "25.0.5.0" [project.scripts] jdk4py = "jdk4py.__main__:main" diff --git a/uv.lock b/uv.lock index 270a3426..43bb6382 100644 --- a/uv.lock +++ b/uv.lock @@ -34,7 +34,7 @@ wheels = [ [[package]] name = "jdk4py" -version = "25.0.2.1" +version = "25.0.5.0" source = { editable = "." } [package.dev-dependencies] From de912f3c1025587dfdcf61648b60314fef9b41ac Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com> Date: Fri, 13 Nov 2026 11:55:34 -0500 Subject: [PATCH 23/23] Trim the CI workflow header Nothing refers to the workflow's name, so GitHub can show the file path instead. The trusted publisher comment now sits next to the environment it describes. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c2237948..a84561f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,3 @@ -# The file name and the `pypi` environment are registered as this project's trusted publisher on PyPI. -# Pull requests run prek, build, and test; pushes to `main` only build and publish. -name: Build, test, and publish on: pull_request: push: @@ -93,6 +90,7 @@ jobs: publish: if: github.event_name == 'push' needs: build + # The file name and this environment are registered as this project's trusted publisher on PyPI. environment: pypi runs-on: ubuntu-24.04 permissions: