From f43f77b7d711e7852c47a38f3d03f98cfb7a15be Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 03:14:00 +0000 Subject: [PATCH 1/2] chore(internal): codegen related update (#20) --- pyproject.toml | 1 - src/czlai/_compat.py | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2a2b2bd..416e5b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ dependencies = [ "anyio>=3.5.0, <5", "distro>=1.7.0, <2", "sniffio", - "cached-property; python_version < '3.8'", ] requires-python = ">= 3.8" classifiers = [ diff --git a/src/czlai/_compat.py b/src/czlai/_compat.py index df173f8..92d9ee6 100644 --- a/src/czlai/_compat.py +++ b/src/czlai/_compat.py @@ -214,9 +214,6 @@ def __set_name__(self, owner: type[Any], name: str) -> None: ... # __set__ is not defined at runtime, but @cached_property is designed to be settable def __set__(self, instance: object, value: _T) -> None: ... else: - try: - from functools import cached_property as cached_property - except ImportError: - from cached_property import cached_property as cached_property + from functools import cached_property as cached_property typed_cached_property = cached_property From 4691943f720dea4eb44dbef0df91e18236713d65 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 03:14:16 +0000 Subject: [PATCH 2/2] release: 0.1.0-alpha.5 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/czlai/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b56c3d0..e8285b7 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.4" + ".": "0.1.0-alpha.5" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 81ead91..82563ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.5 (2024-11-26) + +Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/CZL-AI/czlai-python/compare/v0.1.0-alpha.4...v0.1.0-alpha.5) + +### Chores + +* **internal:** codegen related update ([#20](https://github.com/CZL-AI/czlai-python/issues/20)) ([f43f77b](https://github.com/CZL-AI/czlai-python/commit/f43f77b7d711e7852c47a38f3d03f98cfb7a15be)) + ## 0.1.0-alpha.4 (2024-11-22) Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/CZL-AI/czlai-python/compare/v0.1.0-alpha.3...v0.1.0-alpha.4) diff --git a/pyproject.toml b/pyproject.toml index 416e5b3..026f9b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "czlai" -version = "0.1.0-alpha.4" +version = "0.1.0-alpha.5" description = "The official Python library for the czlai API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/czlai/_version.py b/src/czlai/_version.py index b81b35f..bb95a90 100644 --- a/src/czlai/_version.py +++ b/src/czlai/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "czlai" -__version__ = "0.1.0-alpha.4" # x-release-please-version +__version__ = "0.1.0-alpha.5" # x-release-please-version