diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a08a424..615bdce9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,13 +36,13 @@ jobs: run: ./scripts/lint build: - if: github.repository == 'stainless-sdks/lithic-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork timeout-minutes: 10 name: build permissions: contents: read id-token: write - runs-on: depot-ubuntu-24.04 + runs-on: ${{ github.repository == 'stainless-sdks/lithic-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 @@ -61,12 +61,14 @@ jobs: run: rye build - name: Get GitHub OIDC Token + if: github.repository == 'stainless-sdks/lithic-python' id: github-oidc uses: actions/github-script@v6 with: script: core.setOutput('github_token', await core.getIDToken()); - name: Upload tarball + if: github.repository == 'stainless-sdks/lithic-python' env: URL: https://pkg.stainless.com/s AUTH: ${{ steps.github-oidc.outputs.github_token }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 508a7081..91946882 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.103.0" + ".": "0.103.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a788ece8..09766f21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.103.1 (2025-08-26) + +Full Changelog: [v0.103.0...v0.103.1](https://github.com/lithic-com/lithic-python/compare/v0.103.0...v0.103.1) + +### Bug Fixes + +* avoid newer type syntax ([c369fbc](https://github.com/lithic-com/lithic-python/commit/c369fbcbe1e84b199e68bb9081e84f00172e6590)) + + +### Chores + +* **internal:** change ci workflow machines ([083042a](https://github.com/lithic-com/lithic-python/commit/083042ad2752b9bbd27f0084456074c24223968f)) +* update github action ([b51fa14](https://github.com/lithic-com/lithic-python/commit/b51fa14601334c7e5023cc89f8c6af262f68debf)) + ## 0.103.0 (2025-08-18) Full Changelog: [v0.102.0...v0.103.0](https://github.com/lithic-com/lithic-python/compare/v0.102.0...v0.103.0) diff --git a/pyproject.toml b/pyproject.toml index 91304a3b..2a42926a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lithic" -version = "0.103.0" +version = "0.103.1" description = "The official Python library for the lithic API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/lithic/_models.py b/src/lithic/_models.py index b8387ce9..92f7c10b 100644 --- a/src/lithic/_models.py +++ b/src/lithic/_models.py @@ -304,7 +304,7 @@ def model_dump( exclude_none=exclude_none, ) - return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped + return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped @override def model_dump_json( diff --git a/src/lithic/_version.py b/src/lithic/_version.py index e29234e5..b2e699dc 100644 --- a/src/lithic/_version.py +++ b/src/lithic/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "lithic" -__version__ = "0.103.0" # x-release-please-version +__version__ = "0.103.1" # x-release-please-version