Skip to content

Commit d880cfb

Browse files
Merge pull request #239 from dvonthenen/enforce-python-versions
Enforce Python Version (3.10+) With Deps
2 parents 4af41ce + 9d6b623 commit d880cfb

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ version = {attr = "deepgram.__version__"}
2222
# poetry configuration
2323
[tool.poetry]
2424
name = "deepgram"
25-
version = "3.0.0"
25+
version = "3.X.Y" # Please update this to the version you are using
2626
description = "The official Python SDK for the Deepgram automated speech recognition platform."
2727
authors = ["Deepgram DevRel <[email protected]>"]
2828
license = "MIT"

setup.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
from setuptools import setup, find_packages
66
import os.path
7+
import sys
8+
9+
if sys.version_info < (3, 10):
10+
sys.exit("Sorry, Python < 3.10 is not supported")
711

812
with open("README.md", "r", encoding="utf-8") as fh:
913
LONG_DESCRIPTION = fh.read()
@@ -23,14 +27,13 @@
2327
license="MIT",
2428
packages=find_packages(),
2529
install_requires=[
26-
"httpx",
27-
"websockets",
28-
"dataclasses-json",
29-
"typing_extensions",
30-
"python-dotenv",
31-
"asyncio",
32-
"aiohttp",
33-
"verboselogs",
30+
"httpx>=0.25.2",
31+
"websockets>=12.0",
32+
"dataclasses-json>=0.6.3",
33+
"typing_extensions>=4.9.0",
34+
"asyncio>=3.4.3",
35+
"aiohttp>=3.9.1",
36+
"verboselogs>=1.7",
3437
],
3538
keywords=["deepgram", "deepgram speech-to-text"],
3639
classifiers=[

0 commit comments

Comments
 (0)