diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index ffbca79e..2de7f381 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -3,20 +3,16 @@ name: version management on: workflow_dispatch: inputs: - release_level: + bump: type: choice - description: Release level (none, patch, minor, major) + description: Version bump required: true options: [none, patch, minor, major] - prerelease: + stage: type: choice - description: Whether it's a prerelease + description: Release stage required: true options: [alpha, beta, rc, release] - local: - type: string - required: false - description: "Local metadata (alpha only)" permissions: contents: write @@ -27,74 +23,129 @@ jobs: runs-on: ubuntu-latest steps: + - name: Validate version bump inputs + run: | + BUMP="${{ github.event.inputs.bump }}" + STAGE="${{ github.event.inputs.stage }}" + + if [ "$BUMP" = "none" ] && [ "$STAGE" != "release" ]; then + echo "Invalid input: prerelease stage '$STAGE' requires a version bump" + exit 1 + fi + - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Setup project + uses: ./.github/actions/project-setup + + - name: Install cargo-goose + run: cargo install cargo-goose + - name: Get current version id: current_version run: | - echo "version=$(cat pyproject.toml | grep '^version = ".*"' | cut -d'"' -f2)" >> $GITHUB_OUTPUT + VERSION=$(cargo metadata --no-deps --format-version=1 \ + | jq -r '.packages[] + | select(.name == "encoderfile-core") + | .version') - - name: Setup project - uses: ./.github/actions/project-setup + [ -n "$VERSION" ] || { echo "encoderfile-core not found"; exit 1; } + + echo "version=$VERSION" >> "$GITHUB_OUTPUT" + + - name: Compute prerelease metadata + id: prerelease_meta + run: | + echo "meta=$(git rev-parse --short=7 HEAD)" >> "$GITHUB_OUTPUT" - name: Bump version id: bump run: | - NEW_VERSION=$(uv run scripts/bump_version.py \ - "${{ github.event.inputs.release_level }}" \ - "${{ github.event.inputs.prerelease }}" \ - --local "${{ github.event.inputs.local }}" \ - --start ".") - - echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT - + BUMP="${{ github.event.inputs.bump }}" + STAGE="${{ github.event.inputs.stage }}" + META="${{ steps.prerelease_meta.outputs.meta }}" + + if [ "$BUMP" != "none" ]; then + if [ "$STAGE" = "release" ]; then + cargo goose bump version "$BUMP" + else + cargo goose bump version "$BUMP" "$STAGE" + fi + else + case "$STAGE" in + alpha|beta|rc) + cargo goose bump prerelease "$STAGE" + ;; + release) + cargo goose bump release + ;; + *) + echo "Invalid stage: $STAGE" + exit 1 + ;; + esac + fi + + - name: Get new version + id: new_version + run: | + VERSION=$(cargo metadata --no-deps --format-version=1 \ + | jq -r '.packages[] + | select(.name == "encoderfile-core") + | .version') + + [ -n "$VERSION" ] || { echo "encoderfile-core not found"; exit 1; } + + echo "version=$VERSION" >> "$GITHUB_OUTPUT" + + - name: Abort if version did not change + run: | + if [ "${{ steps.current_version.outputs.version }}" = "${{ steps.new_version.outputs.version }}" ]; then + echo "Version did not change; aborting" + exit 1 + fi + - name: Update Cargo.lock - run: cargo update encoderfile-core encoderfile --precise ${{ steps.bump.outputs.version }} - - - name: Update uv.lock - run: uv lock + run: cargo generate-lockfile - # Generate appropriate labels based on release type - name: Generate PR labels id: generate_labels run: | + BUMP="${{ github.event.inputs.bump }}" + STAGE="${{ github.event.inputs.stage }}" + LABELS="auto-generated\nversion-bump" - RELEASE_LEVEL="${{ github.event.inputs.release_level }}" - PRERELEASE="${{ github.event.inputs.prerelease }}" + [ "$BUMP" != "none" ] && LABELS="$LABELS\n$BUMP" - # Add the base release level (patch/minor/major) - if [ "$RELEASE_LEVEL" != "none" ]; then - LABELS="$LABELS\n$RELEASE_LEVEL" - fi + case "$STAGE" in + alpha|beta|rc) + LABELS="$LABELS\n$STAGE\nprerelease" + ;; + release) + LABELS="$LABELS\nrelease" + ;; + esac - # Add prerelease label if appropriate - if [ "$PRERELEASE" != "release" ]; then - LABELS="$LABELS\n$PRERELEASE\nprerelease" - else - LABELS="$LABELS\nrelease" - fi - - echo "labels<> $GITHUB_OUTPUT - echo -e "$LABELS" >> $GITHUB_OUTPUT - echo "EOF" >> $GITHUB_OUTPUT + echo "labels<> "$GITHUB_OUTPUT" + echo -e "$LABELS" >> "$GITHUB_OUTPUT" + echo "EOF" >> "$GITHUB_OUTPUT" - name: Create Pull Request id: create_pr uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "version: bump version 🚀 ${{ steps.bump.outputs.version }}" - title: "version: Version Bump 🚀 ${{ steps.bump.outputs.version }}" + commit-message: "version: bump version 🚀 ${{ steps.new_version.outputs.version }}" + title: "version: Version Bump 🚀 ${{ steps.new_version.outputs.version }}" body: | - ## 🎉 Version Bump 🎉 - - This PR bumps the version from ${{ steps.current_version.outputs.version }} to ${{ steps.bump.outputs.version }}. + Version bumped from ${{ steps.current_version.outputs.version }} + to ${{ steps.new_version.outputs.version }}. ### 🔄 Changes - - 📝 Updated version in pyproject.toml + - 📝 Updated version in Cargo.toml - 🔒 Updated Cargo.lock ✨ This PR was automatically generated by the Version Management workflow ✨ @@ -104,8 +155,6 @@ jobs: base: main delete-branch: true add-paths: | - pyproject.toml Cargo.lock - uv.lock **/Cargo.toml labels: ${{ steps.generate_labels.outputs.labels }} diff --git a/pyproject.toml b/pyproject.toml index 16f27709..0b52d387 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "0.3.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.13" -dependencies = [ "pip>=25.2", "protobuf>=6.33.0", "pydantic>=2.12.4", "toml>=0.10.2",] +dependencies = [ "pip>=25.2", "protobuf>=6.33.0"] [dependency-groups] dev = [ "pre-commit>=4.3.0", "ruff>=0.14.2",] diff --git a/scripts/bump_version.py b/scripts/bump_version.py deleted file mode 100644 index 515f3d9c..00000000 --- a/scripts/bump_version.py +++ /dev/null @@ -1,188 +0,0 @@ -#!/usr/bin/env python3 - -import argparse -from enum import StrEnum -from pathlib import Path -import toml -import re -from pydantic import BaseModel -from typing import Optional, List - -SEMVER_RE = re.compile( - r"^v?(\d+)\.(\d+)\.(\d+)" r"(?:-(alpha|beta|rc)\.(\d+))?" r"(?:\+([\w\.]+))?$" -) - - -class Pre(StrEnum): - ALPHA = "alpha" - BETA = "beta" - RC = "rc" - RELEASE = "release" - - -class Version(BaseModel): - mjr: int - mnr: int - patch: int - pre: Pre = Pre.RELEASE - n: Optional[int] = None - local: Optional[str] = None - - @classmethod - def parse(cls, v: str) -> "Version": - m = SEMVER_RE.match(v.strip()) - if not m: - raise ValueError(f"Invalid version: {v}") - return cls( - mjr=int(m.group(1)), - mnr=int(m.group(2)), - patch=int(m.group(3)), - pre=Pre(m.group(4) or "release"), - n=int(m.group(5)) if m.group(5) else None, - local=m.group(6) if m.group(6) else None, - ) - - def __str__(self): - base = f"{self.mjr}.{self.mnr}.{self.patch}" - if self.pre == Pre.RELEASE: - return base - if self.local: - return f"{base}-{self.pre}.{self.n}+{self.local}" - return f"{base}-{self.pre}.{self.n}" - - def bump_base(self, level: str): - if level == "none": - return self - - if level == "major": - self.mjr += 1 - self.mnr = 0 - self.patch = 0 - elif level == "minor": - self.mnr += 1 - self.patch = 0 - elif level == "patch": - self.patch += 1 - else: - raise ValueError(f"Unknown bump level: {level}") - - # reset prerelease - self.pre = Pre.RELEASE - self.n = None - self.local = None - return self - - def bump_prerelease(self, target: Pre, *, local: Optional[str]): - if target == Pre.RELEASE: - # strip prerelease - self.pre = Pre.RELEASE - self.n = None - self.local = None - return self - - # entering prerelease mode - if self.pre == Pre.RELEASE: - self.pre = target - self.n = 0 - self.local = local - return self - - # switching prerelease stage - if target != self.pre: - self.pre = target - self.n = 0 - self.local = local - else: - # bump n within same prerelease tier - self.n += 1 - - return self - - -# ------------------ File discovery / update --------------------------------- - - -def find_version_files(start: Path) -> List[Path]: - files = [] - for p in start.rglob("*"): - if p.name == "pyproject.toml": - files.append(p) - elif p.name == "Cargo.toml": - # only include Cargo.toml files that actually define a package - data = toml.load(p) - if "package" in data: - files.append(p) - return files - - -def read_version(pyproject: Path) -> Version: - data = toml.load(pyproject) - return Version.parse(data["project"]["version"]) - - -def write_version(path: Path, version: Version): - data = toml.load(path) - - if path.name == "pyproject.toml": - if "project" not in data: - print(f"Skipping {path}: no [project] table") - return - data["project"]["version"] = str(version) - - elif path.name == "Cargo.toml": - # skip virtual manifests / workspace roots - if "package" not in data: - print( - f"Skipping {path}: no [package] table (workspace root / virtual manifest)" - ) - return - - data["package"]["version"] = str(version) - - # ALSO bump encoderfile-core dependency if it exists - deps = data.get("dependencies", {}) - - core = deps.get("encoderfile-core") - if isinstance(core, dict): - # structured dependency - core["version"] = str(version) - elif isinstance(core, str): - # simple string form like: encoderfile-core = "0.1.2" - deps["encoderfile-core"] = str(version) - # if it's missing, nothing to do. - - with open(path, "w") as f: - toml.dump(data, f) - - -# ----------------------------- main ------------------------------------------ - - -def main(): - ap = argparse.ArgumentParser() - ap.add_argument("release_level", choices=["none", "patch", "minor", "major"]) - ap.add_argument("prerelease", choices=["alpha", "beta", "rc", "release"]) - ap.add_argument("--local", help="Local metadata (for alpha)", default=None) - ap.add_argument("--start", default=".") - args = ap.parse_args() - - root = Path(args.start) / "pyproject.toml" - version = read_version(root) - - # base bump - version.bump_base(args.release_level) - - # prerelease bump - version.bump_prerelease(Pre(args.prerelease), local=args.local) - - # sync files - for f in find_version_files(Path(args.start)): - write_version(f, version) - - print(str(version)) - - return 0 - - -if __name__ == "__main__": - main() diff --git a/uv.lock b/uv.lock index 123d83b6..31364839 100644 --- a/uv.lock +++ b/uv.lock @@ -2,15 +2,6 @@ version = 1 revision = 3 requires-python = ">=3.13" -[[package]] -name = "annotated-types" -version = "0.7.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, -] - [[package]] name = "babel" version = "2.17.0" @@ -151,8 +142,6 @@ source = { virtual = "." } dependencies = [ { name = "pip" }, { name = "protobuf" }, - { name = "pydantic" }, - { name = "toml" }, ] [package.dev-dependencies] @@ -175,8 +164,6 @@ setup = [ requires-dist = [ { name = "pip", specifier = ">=25.2" }, { name = "protobuf", specifier = ">=6.33.0" }, - { name = "pydantic", specifier = ">=2.12.4" }, - { name = "toml", specifier = ">=0.10.2" }, ] [package.metadata.requires-dev] @@ -879,74 +866,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/07/d1/0a28c21707807c6aacd5dc9c3704b2aa1effbf37adebd8caeaf68b17a636/protobuf-6.33.0-py3-none-any.whl", hash = "sha256:25c9e1963c6734448ea2d308cfa610e692b801304ba0908d7bfa564ac5132995", size = 170477, upload-time = "2025-10-15T20:39:51.311Z" }, ] -[[package]] -name = "pydantic" -version = "2.12.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "annotated-types" }, - { name = "pydantic-core" }, - { name = "typing-extensions" }, - { name = "typing-inspection" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/96/ad/a17bc283d7d81837c061c49e3eaa27a45991759a1b7eae1031921c6bd924/pydantic-2.12.4.tar.gz", hash = "sha256:0f8cb9555000a4b5b617f66bfd2566264c4984b27589d3b845685983e8ea85ac", size = 821038, upload-time = "2025-11-05T10:50:08.59Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/82/2f/e68750da9b04856e2a7ec56fc6f034a5a79775e9b9a81882252789873798/pydantic-2.12.4-py3-none-any.whl", hash = "sha256:92d3d202a745d46f9be6df459ac5a064fdaa3c1c4cd8adcfa332ccf3c05f871e", size = 463400, upload-time = "2025-11-05T10:50:06.732Z" }, -] - -[[package]] -name = "pydantic-core" -version = "2.41.5" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/71/70/23b021c950c2addd24ec408e9ab05d59b035b39d97cdc1130e1bce647bb6/pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e", size = 460952, upload-time = "2025-11-04T13:43:49.098Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/87/06/8806241ff1f70d9939f9af039c6c35f2360cf16e93c2ca76f184e76b1564/pydantic_core-2.41.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:941103c9be18ac8daf7b7adca8228f8ed6bb7a1849020f643b3a14d15b1924d9", size = 2120403, upload-time = "2025-11-04T13:40:25.248Z" }, - { url = "https://files.pythonhosted.org/packages/94/02/abfa0e0bda67faa65fef1c84971c7e45928e108fe24333c81f3bfe35d5f5/pydantic_core-2.41.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:112e305c3314f40c93998e567879e887a3160bb8689ef3d2c04b6cc62c33ac34", size = 1896206, upload-time = "2025-11-04T13:40:27.099Z" }, - { url = "https://files.pythonhosted.org/packages/15/df/a4c740c0943e93e6500f9eb23f4ca7ec9bf71b19e608ae5b579678c8d02f/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cbaad15cb0c90aa221d43c00e77bb33c93e8d36e0bf74760cd00e732d10a6a0", size = 1919307, upload-time = "2025-11-04T13:40:29.806Z" }, - { url = "https://files.pythonhosted.org/packages/9a/e3/6324802931ae1d123528988e0e86587c2072ac2e5394b4bc2bc34b61ff6e/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:03ca43e12fab6023fc79d28ca6b39b05f794ad08ec2feccc59a339b02f2b3d33", size = 2063258, upload-time = "2025-11-04T13:40:33.544Z" }, - { url = "https://files.pythonhosted.org/packages/c9/d4/2230d7151d4957dd79c3044ea26346c148c98fbf0ee6ebd41056f2d62ab5/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc799088c08fa04e43144b164feb0c13f9a0bc40503f8df3e9fde58a3c0c101e", size = 2214917, upload-time = "2025-11-04T13:40:35.479Z" }, - { url = "https://files.pythonhosted.org/packages/e6/9f/eaac5df17a3672fef0081b6c1bb0b82b33ee89aa5cec0d7b05f52fd4a1fa/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:97aeba56665b4c3235a0e52b2c2f5ae9cd071b8a8310ad27bddb3f7fb30e9aa2", size = 2332186, upload-time = "2025-11-04T13:40:37.436Z" }, - { url = "https://files.pythonhosted.org/packages/cf/4e/35a80cae583a37cf15604b44240e45c05e04e86f9cfd766623149297e971/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:406bf18d345822d6c21366031003612b9c77b3e29ffdb0f612367352aab7d586", size = 2073164, upload-time = "2025-11-04T13:40:40.289Z" }, - { url = "https://files.pythonhosted.org/packages/bf/e3/f6e262673c6140dd3305d144d032f7bd5f7497d3871c1428521f19f9efa2/pydantic_core-2.41.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b93590ae81f7010dbe380cdeab6f515902ebcbefe0b9327cc4804d74e93ae69d", size = 2179146, upload-time = "2025-11-04T13:40:42.809Z" }, - { url = "https://files.pythonhosted.org/packages/75/c7/20bd7fc05f0c6ea2056a4565c6f36f8968c0924f19b7d97bbfea55780e73/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:01a3d0ab748ee531f4ea6c3e48ad9dac84ddba4b0d82291f87248f2f9de8d740", size = 2137788, upload-time = "2025-11-04T13:40:44.752Z" }, - { url = "https://files.pythonhosted.org/packages/3a/8d/34318ef985c45196e004bc46c6eab2eda437e744c124ef0dbe1ff2c9d06b/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:6561e94ba9dacc9c61bce40e2d6bdc3bfaa0259d3ff36ace3b1e6901936d2e3e", size = 2340133, upload-time = "2025-11-04T13:40:46.66Z" }, - { url = "https://files.pythonhosted.org/packages/9c/59/013626bf8c78a5a5d9350d12e7697d3d4de951a75565496abd40ccd46bee/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:915c3d10f81bec3a74fbd4faebe8391013ba61e5a1a8d48c4455b923bdda7858", size = 2324852, upload-time = "2025-11-04T13:40:48.575Z" }, - { url = "https://files.pythonhosted.org/packages/1a/d9/c248c103856f807ef70c18a4f986693a46a8ffe1602e5d361485da502d20/pydantic_core-2.41.5-cp313-cp313-win32.whl", hash = "sha256:650ae77860b45cfa6e2cdafc42618ceafab3a2d9a3811fcfbd3bbf8ac3c40d36", size = 1994679, upload-time = "2025-11-04T13:40:50.619Z" }, - { url = "https://files.pythonhosted.org/packages/9e/8b/341991b158ddab181cff136acd2552c9f35bd30380422a639c0671e99a91/pydantic_core-2.41.5-cp313-cp313-win_amd64.whl", hash = "sha256:79ec52ec461e99e13791ec6508c722742ad745571f234ea6255bed38c6480f11", size = 2019766, upload-time = "2025-11-04T13:40:52.631Z" }, - { url = "https://files.pythonhosted.org/packages/73/7d/f2f9db34af103bea3e09735bb40b021788a5e834c81eedb541991badf8f5/pydantic_core-2.41.5-cp313-cp313-win_arm64.whl", hash = "sha256:3f84d5c1b4ab906093bdc1ff10484838aca54ef08de4afa9de0f5f14d69639cd", size = 1981005, upload-time = "2025-11-04T13:40:54.734Z" }, - { url = "https://files.pythonhosted.org/packages/ea/28/46b7c5c9635ae96ea0fbb779e271a38129df2550f763937659ee6c5dbc65/pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a", size = 2119622, upload-time = "2025-11-04T13:40:56.68Z" }, - { url = "https://files.pythonhosted.org/packages/74/1a/145646e5687e8d9a1e8d09acb278c8535ebe9e972e1f162ed338a622f193/pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14", size = 1891725, upload-time = "2025-11-04T13:40:58.807Z" }, - { url = "https://files.pythonhosted.org/packages/23/04/e89c29e267b8060b40dca97bfc64a19b2a3cf99018167ea1677d96368273/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1", size = 1915040, upload-time = "2025-11-04T13:41:00.853Z" }, - { url = "https://files.pythonhosted.org/packages/84/a3/15a82ac7bd97992a82257f777b3583d3e84bdb06ba6858f745daa2ec8a85/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66", size = 2063691, upload-time = "2025-11-04T13:41:03.504Z" }, - { url = "https://files.pythonhosted.org/packages/74/9b/0046701313c6ef08c0c1cf0e028c67c770a4e1275ca73131563c5f2a310a/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869", size = 2213897, upload-time = "2025-11-04T13:41:05.804Z" }, - { url = "https://files.pythonhosted.org/packages/8a/cd/6bac76ecd1b27e75a95ca3a9a559c643b3afcd2dd62086d4b7a32a18b169/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2", size = 2333302, upload-time = "2025-11-04T13:41:07.809Z" }, - { url = "https://files.pythonhosted.org/packages/4c/d2/ef2074dc020dd6e109611a8be4449b98cd25e1b9b8a303c2f0fca2f2bcf7/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375", size = 2064877, upload-time = "2025-11-04T13:41:09.827Z" }, - { url = "https://files.pythonhosted.org/packages/18/66/e9db17a9a763d72f03de903883c057b2592c09509ccfe468187f2a2eef29/pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553", size = 2180680, upload-time = "2025-11-04T13:41:12.379Z" }, - { url = "https://files.pythonhosted.org/packages/d3/9e/3ce66cebb929f3ced22be85d4c2399b8e85b622db77dad36b73c5387f8f8/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90", size = 2138960, upload-time = "2025-11-04T13:41:14.627Z" }, - { url = "https://files.pythonhosted.org/packages/a6/62/205a998f4327d2079326b01abee48e502ea739d174f0a89295c481a2272e/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07", size = 2339102, upload-time = "2025-11-04T13:41:16.868Z" }, - { url = "https://files.pythonhosted.org/packages/3c/0d/f05e79471e889d74d3d88f5bd20d0ed189ad94c2423d81ff8d0000aab4ff/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb", size = 2326039, upload-time = "2025-11-04T13:41:18.934Z" }, - { url = "https://files.pythonhosted.org/packages/ec/e1/e08a6208bb100da7e0c4b288eed624a703f4d129bde2da475721a80cab32/pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23", size = 1995126, upload-time = "2025-11-04T13:41:21.418Z" }, - { url = "https://files.pythonhosted.org/packages/48/5d/56ba7b24e9557f99c9237e29f5c09913c81eeb2f3217e40e922353668092/pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf", size = 2015489, upload-time = "2025-11-04T13:41:24.076Z" }, - { url = "https://files.pythonhosted.org/packages/4e/bb/f7a190991ec9e3e0ba22e4993d8755bbc4a32925c0b5b42775c03e8148f9/pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0", size = 1977288, upload-time = "2025-11-04T13:41:26.33Z" }, - { url = "https://files.pythonhosted.org/packages/92/ed/77542d0c51538e32e15afe7899d79efce4b81eee631d99850edc2f5e9349/pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a", size = 2120255, upload-time = "2025-11-04T13:41:28.569Z" }, - { url = "https://files.pythonhosted.org/packages/bb/3d/6913dde84d5be21e284439676168b28d8bbba5600d838b9dca99de0fad71/pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3", size = 1863760, upload-time = "2025-11-04T13:41:31.055Z" }, - { url = "https://files.pythonhosted.org/packages/5a/f0/e5e6b99d4191da102f2b0eb9687aaa7f5bea5d9964071a84effc3e40f997/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c", size = 1878092, upload-time = "2025-11-04T13:41:33.21Z" }, - { url = "https://files.pythonhosted.org/packages/71/48/36fb760642d568925953bcc8116455513d6e34c4beaa37544118c36aba6d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612", size = 2053385, upload-time = "2025-11-04T13:41:35.508Z" }, - { url = "https://files.pythonhosted.org/packages/20/25/92dc684dd8eb75a234bc1c764b4210cf2646479d54b47bf46061657292a8/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d", size = 2218832, upload-time = "2025-11-04T13:41:37.732Z" }, - { url = "https://files.pythonhosted.org/packages/e2/09/f53e0b05023d3e30357d82eb35835d0f6340ca344720a4599cd663dca599/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9", size = 2327585, upload-time = "2025-11-04T13:41:40Z" }, - { url = "https://files.pythonhosted.org/packages/aa/4e/2ae1aa85d6af35a39b236b1b1641de73f5a6ac4d5a7509f77b814885760c/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660", size = 2041078, upload-time = "2025-11-04T13:41:42.323Z" }, - { url = "https://files.pythonhosted.org/packages/cd/13/2e215f17f0ef326fc72afe94776edb77525142c693767fc347ed6288728d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9", size = 2173914, upload-time = "2025-11-04T13:41:45.221Z" }, - { url = "https://files.pythonhosted.org/packages/02/7a/f999a6dcbcd0e5660bc348a3991c8915ce6599f4f2c6ac22f01d7a10816c/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3", size = 2129560, upload-time = "2025-11-04T13:41:47.474Z" }, - { url = "https://files.pythonhosted.org/packages/3a/b1/6c990ac65e3b4c079a4fb9f5b05f5b013afa0f4ed6780a3dd236d2cbdc64/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf", size = 2329244, upload-time = "2025-11-04T13:41:49.992Z" }, - { url = "https://files.pythonhosted.org/packages/d9/02/3c562f3a51afd4d88fff8dffb1771b30cfdfd79befd9883ee094f5b6c0d8/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470", size = 2331955, upload-time = "2025-11-04T13:41:54.079Z" }, - { url = "https://files.pythonhosted.org/packages/5c/96/5fb7d8c3c17bc8c62fdb031c47d77a1af698f1d7a406b0f79aaa1338f9ad/pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa", size = 1988906, upload-time = "2025-11-04T13:41:56.606Z" }, - { url = "https://files.pythonhosted.org/packages/22/ed/182129d83032702912c2e2d8bbe33c036f342cc735737064668585dac28f/pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c", size = 1981607, upload-time = "2025-11-04T13:41:58.889Z" }, - { url = "https://files.pythonhosted.org/packages/9f/ed/068e41660b832bb0b1aa5b58011dea2a3fe0ba7861ff38c4d4904c1c1a99/pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008", size = 1974769, upload-time = "2025-11-04T13:42:01.186Z" }, -] - [[package]] name = "pygments" version = "2.19.2" @@ -1220,15 +1139,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/41/f2/fd673d979185f5dcbac4be7d09461cbb99751554ffb6718d0013af8604cb/tokenizers-0.21.4-cp39-abi3-win_amd64.whl", hash = "sha256:475d807a5c3eb72c59ad9b5fcdb254f6e17f53dfcbb9903233b0dfa9c943b597", size = 2507568, upload-time = "2025-07-28T15:48:55.456Z" }, ] -[[package]] -name = "toml" -version = "0.10.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f", size = 22253, upload-time = "2020-11-01T01:40:22.204Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", size = 16588, upload-time = "2020-11-01T01:40:20.672Z" }, -] - [[package]] name = "torch" version = "2.9.0" @@ -1330,18 +1240,6 @@ 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" }, ] -[[package]] -name = "typing-inspection" -version = "0.4.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" }, -] - [[package]] name = "urllib3" version = "2.5.0"