Skip to content

Commit

Permalink
Update python support (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
picoliu authored Feb 6, 2025
1 parent 7adacd8 commit 86456b1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion binding/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ hypothesis (e.g. homophones)

## Compatibility

- Python 3.8+
- Python 3.9+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)

## Installation
Expand Down
4 changes: 2 additions & 2 deletions binding/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

setuptools.setup(
name="pvoctopus",
version="2.0.0",
version="2.0.1",
author="Picovoice",
author_email="[email protected]",
description="Octopus Speech-to-Index engine.",
Expand All @@ -55,6 +55,6 @@
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio :: Speech"
],
python_requires='>=3.8',
python_requires='>=3.9',
keywords="Speech-to-Index, Voice Search, Keyword Spotting, Speech Recognition, Voice Recognition"
)
2 changes: 1 addition & 1 deletion demo/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Octopus is Picovoice's Speech-to-Index engine. It directly indexes speech withou

## Compatibility

- Python 3.8+
- Python 3.9+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64).

## AccessKey
Expand Down
2 changes: 1 addition & 1 deletion demo/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pvoctopus==2.0.0
pvoctopus==2.0.1
tabulate
9 changes: 6 additions & 3 deletions demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,20 @@
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
long_description = f.read()

with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r") as f:
dependencies = f.read().strip().splitlines()

setuptools.setup(
name="pvoctopusdemo",
version="2.0.0",
version="2.0.1",
author="Picovoice",
author_email="[email protected]",
description="Octopus Speech-to-Index engine demo.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/octopus",
packages=["pvoctopusdemo"],
install_requires=["pvoctopus==2.0.0", "tabulate"],
install_requires=dependencies,
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand All @@ -46,6 +49,6 @@
'octopus_demo=pvoctopusdemo.octopus_demo:main',
],
),
python_requires='>=3.8',
python_requires='>=3.9',
keywords="Speech-to-Index, Voice Search, Keyword Spotting, Speech Recognition, Voice Recognition",
)

0 comments on commit 86456b1

Please sign in to comment.