From 2dd6cb87489fe12c5e45128f44d985c3f49aba1d Mon Sep 17 00:00:00 2001 From: Robert Craigie Date: Fri, 21 Mar 2025 14:41:50 +0000 Subject: [PATCH 1/2] refactor(package): rename audio extra to voice_helpers --- pyproject.toml | 2 +- src/openai/_extras/numpy_proxy.py | 2 +- src/openai/_extras/sounddevice_proxy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 57871a46fe..e40060400a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ openai = "openai.cli:main" [project.optional-dependencies] realtime = ["websockets >= 13, < 15"] datalib = ["numpy >= 1", "pandas >= 1.2.3", "pandas-stubs >= 1.1.0.11"] -audio = ["sounddevice>=0.5.1", "numpy>=2.0.2"] +voice_helpers = ["sounddevice>=0.5.1", "numpy>=2.0.2"] [tool.rye] managed = true diff --git a/src/openai/_extras/numpy_proxy.py b/src/openai/_extras/numpy_proxy.py index 8412965e44..2b0669576e 100644 --- a/src/openai/_extras/numpy_proxy.py +++ b/src/openai/_extras/numpy_proxy.py @@ -10,7 +10,7 @@ import numpy as numpy -NUMPY_INSTRUCTIONS = format_instructions(library="numpy", extra="audio") +NUMPY_INSTRUCTIONS = format_instructions(library="numpy", extra="voice_helpers") class NumpyProxy(LazyProxy[Any]): diff --git a/src/openai/_extras/sounddevice_proxy.py b/src/openai/_extras/sounddevice_proxy.py index 0894782bd5..482d4c6874 100644 --- a/src/openai/_extras/sounddevice_proxy.py +++ b/src/openai/_extras/sounddevice_proxy.py @@ -10,7 +10,7 @@ import sounddevice as sounddevice # type: ignore -SOUNDDEVICE_INSTRUCTIONS = format_instructions(library="sounddevice", extra="audio") +SOUNDDEVICE_INSTRUCTIONS = format_instructions(library="sounddevice", extra="voice_helpers") class SounddeviceProxy(LazyProxy[Any]): From 4decd660efb65832a776c00e9a5c2cb6d591ae6a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 21 Mar 2025 14:42:25 +0000 Subject: [PATCH 2/2] release: 1.68.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/openai/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2ec6ee54df..e280020f03 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.68.1" + ".": "1.68.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d26a769784..ee22cfe7fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.68.2 (2025-03-21) + +Full Changelog: [v1.68.1...v1.68.2](https://github.com/openai/openai-python/compare/v1.68.1...v1.68.2) + +### Refactors + +* **package:** rename audio extra to voice_helpers ([2dd6cb8](https://github.com/openai/openai-python/commit/2dd6cb87489fe12c5e45128f44d985c3f49aba1d)) + ## 1.68.1 (2025-03-21) Full Changelog: [v1.68.0...v1.68.1](https://github.com/openai/openai-python/compare/v1.68.0...v1.68.1) diff --git a/pyproject.toml b/pyproject.toml index e40060400a..b1917922cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openai" -version = "1.68.1" +version = "1.68.2" description = "The official Python library for the openai API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/openai/_version.py b/src/openai/_version.py index 1f00359eb1..a29ce4e818 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.68.1" # x-release-please-version +__version__ = "1.68.2" # x-release-please-version