From 9efe9d2401c1cc384caa4b578c9a138a35ab56ff Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Thu, 2 Oct 2025 14:12:36 +0100 Subject: [PATCH 1/4] fix: fixing the release-please config/pyproject --- .github/release-please-config.json | 5 +++++ pyproject.toml | 35 +++++++++++++++--------------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/release-please-config.json b/.github/release-please-config.json index 72e5b2ed..869ecc55 100644 --- a/.github/release-please-config.json +++ b/.github/release-please-config.json @@ -16,6 +16,11 @@ "path": "pyproject.toml", "jsonpath": "$.tool.poetry.version" }, + { + "type": "toml", + "path": "pyproject.toml", + "jsonpath": "$.project.version" + }, { "type": "generic", "path": "src/deepgram/core/client_wrapper.py" diff --git a/pyproject.toml b/pyproject.toml index 88122539..c71afacd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,10 @@ [project] name = "deepgram-sdk" +dynamic = ["version"] [tool.poetry] name = "deepgram-sdk" -version = "5.0.0-rc.5" +version = "0.0.0" description = "" readme = "README.md" authors = [] @@ -25,11 +26,9 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed", - "License :: OSI Approved :: MIT License" -] -packages = [ - { include = "deepgram", from = "src"} + "License :: OSI Approved :: MIT License", ] +packages = [{ include = "deepgram", from = "src" }] [project.urls] Repository = 'https://github.com/deepgram/deepgram-python-sdk' @@ -51,7 +50,7 @@ types-python-dateutil = "^2.9.0.20240316" ruff = "==0.11.5" [tool.pytest.ini_options] -testpaths = [ "tests" ] +testpaths = ["tests"] asyncio_mode = "auto" [tool.mypy] @@ -62,20 +61,20 @@ line-length = 120 [tool.ruff.lint] select = [ - "E", # pycodestyle errors - "F", # pyflakes - "I", # isort + "E", # pycodestyle errors + "F", # pyflakes + "I", # isort ] ignore = [ - "E402", # Module level import not at top of file - "E501", # Line too long - "E711", # Comparison to `None` should be `cond is not None` - "E712", # Avoid equality comparisons to `True`; use `if ...:` checks - "E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks - "E722", # Do not use bare `except` - "E731", # Do not assign a `lambda` expression, use a `def` - "F821", # Undefined name - "F841" # Local variable ... is assigned to but never used + "E402", # Module level import not at top of file + "E501", # Line too long + "E711", # Comparison to `None` should be `cond is not None` + "E712", # Avoid equality comparisons to `True`; use `if ...:` checks + "E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks + "E722", # Do not use bare `except` + "E731", # Do not assign a `lambda` expression, use a `def` + "F821", # Undefined name + "F841", # Local variable ... is assigned to but never used ] [tool.ruff.lint.isort] From dfcef98461b3983c58b3b9ba2cb1eb2679252fea Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Thu, 2 Oct 2025 14:12:55 +0100 Subject: [PATCH 2/4] fix: fixing the release-please config/pyproject --- .github/release-please-config.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/release-please-config.json b/.github/release-please-config.json index 869ecc55..72e5b2ed 100644 --- a/.github/release-please-config.json +++ b/.github/release-please-config.json @@ -16,11 +16,6 @@ "path": "pyproject.toml", "jsonpath": "$.tool.poetry.version" }, - { - "type": "toml", - "path": "pyproject.toml", - "jsonpath": "$.project.version" - }, { "type": "generic", "path": "src/deepgram/core/client_wrapper.py" From aa985eb68123aea8903b39a3da5badad448fcbdf Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Thu, 2 Oct 2025 14:14:12 +0100 Subject: [PATCH 3/4] fix: fixing the release-please config/pyproject --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c71afacd..8b51cddb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [project] name = "deepgram-sdk" -dynamic = ["version"] [tool.poetry] name = "deepgram-sdk" From 176165290e56964dda7f1250d35f9563d8e36862 Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Thu, 2 Oct 2025 14:20:45 +0100 Subject: [PATCH 4/4] fix: fixing the release-please config/pyproject --- .fernignore | 1 + pyproject.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/.fernignore b/.fernignore index 2fae792e..38e1ac36 100644 --- a/.fernignore +++ b/.fernignore @@ -8,6 +8,7 @@ websockets-reference.md .github/ scripts/run_examples.sh docs/ +pyproject.toml # Examples examples/ diff --git a/pyproject.toml b/pyproject.toml index 8b51cddb..c71afacd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,6 @@ [project] name = "deepgram-sdk" +dynamic = ["version"] [tool.poetry] name = "deepgram-sdk"