diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3794816acd..4a5d7b25e2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.57.0" + ".": "1.57.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c5baf5ab80..b436c25abf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.57.1 (2024-12-09) + +Full Changelog: [v1.57.0...v1.57.1](https://github.com/openai/openai-python/compare/v1.57.0...v1.57.1) + +### Chores + +* **internal:** bump pydantic dependency ([#1929](https://github.com/openai/openai-python/issues/1929)) ([5227c95](https://github.com/openai/openai-python/commit/5227c95eff9c7b1395e6d8f14b94652a91ed2ee2)) + ## 1.57.0 (2024-12-05) Full Changelog: [v1.56.2...v1.57.0](https://github.com/openai/openai-python/compare/v1.56.2...v1.57.0) diff --git a/pyproject.toml b/pyproject.toml index c488c40622..9a92574c73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openai" -version = "1.57.0" +version = "1.57.1" description = "The official Python library for the openai API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/requirements-dev.lock b/requirements-dev.lock index c8e74372aa..d7ecc4fcda 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -7,7 +7,6 @@ # all-features: true # with-sources: false # generate-hashes: false -# universal: false -e file:. annotated-types==0.6.0 @@ -117,9 +116,9 @@ portalocker==2.10.1 # via msal-extensions pycparser==2.22 # via cffi -pydantic==2.9.2 +pydantic==2.10.3 # via openai -pydantic-core==2.23.4 +pydantic-core==2.27.1 # via pydantic pygments==2.18.0 # via rich diff --git a/requirements.lock b/requirements.lock index aef8bc0a9a..826f0bc927 100644 --- a/requirements.lock +++ b/requirements.lock @@ -7,7 +7,6 @@ # all-features: true # with-sources: false # generate-hashes: false -# universal: false -e file:. annotated-types==0.6.0 @@ -41,9 +40,9 @@ pandas==2.2.3 # via openai pandas-stubs==2.2.2.240807 # via openai -pydantic==2.9.2 +pydantic==2.10.3 # via openai -pydantic-core==2.23.4 +pydantic-core==2.27.1 # via pydantic python-dateutil==2.9.0.post0 # via pandas diff --git a/src/openai/_types.py b/src/openai/_types.py index c8f4d5a922..a5cf207aa3 100644 --- a/src/openai/_types.py +++ b/src/openai/_types.py @@ -194,10 +194,8 @@ def get(self, __key: str) -> str | None: ... StrBytesIntFloat = Union[str, bytes, int, float] # Note: copied from Pydantic -# https://github.com/pydantic/pydantic/blob/32ea570bf96e84234d2992e1ddf40ab8a565925a/pydantic/main.py#L49 -IncEx: TypeAlias = Union[ - Set[int], Set[str], Mapping[int, Union["IncEx", Literal[True]]], Mapping[str, Union["IncEx", Literal[True]]] -] +# https://github.com/pydantic/pydantic/blob/6f31f8f68ef011f84357330186f603ff295312fd/pydantic/main.py#L79 +IncEx: TypeAlias = Union[Set[int], Set[str], Mapping[int, Union["IncEx", bool]], Mapping[str, Union["IncEx", bool]]] PostParser = Callable[[Any], Any] diff --git a/src/openai/_version.py b/src/openai/_version.py index 58e2de3bd5..a59207d618 100644 --- a/src/openai/_version.py +++ b/src/openai/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "openai" -__version__ = "1.57.0" # x-release-please-version +__version__ = "1.57.1" # x-release-please-version