Skip to content

Commit

Permalink
Update python support (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
picoliu authored Feb 6, 2025
1 parent 43b30a9 commit d9cc121
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 @@ -36,7 +36,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 @@ -17,7 +17,7 @@ Leopard is an on-device speech-to-text engine. Leopard is:

## Compatibility

- Python 3.8+
- Python 3.9+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).

## 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 @@ -48,7 +48,7 @@

setuptools.setup(
name="pvleopard",
version="2.0.4",
version="2.0.5",
author="Picovoice",
author_email="hello@picovoice.ai",
description="Leopard Speech-to-Text Engine.",
Expand All @@ -65,6 +65,6 @@
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio :: Speech"
],
python_requires='>=3.8',
python_requires='>=3.9',
keywords="Speech-to-Text, Speech Recognition, Voice Recognition, ASR, Automatic Speech Recognition",
)
2 changes: 1 addition & 1 deletion demo/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Leopard is an on-device speech-to-text engine. Leopard is:

## Compatibility

- Python 3.8+
- Python 3.9+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).

## Installation
Expand Down
2 changes: 1 addition & 1 deletion demo/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pvleopard==2.0.4
pvleopard==2.0.5
pvrecorder==1.2.4
tabulate==0.8.10
9 changes: 6 additions & 3 deletions demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,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="pvleoparddemo",
version="2.0.4",
version="2.0.5",
author="Picovoice",
author_email="hello@picovoice.ai",
description="Leopard speech-to-text engine demos",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/leopard",
packages=["pvleoparddemo"],
install_requires=["pvleopard==2.0.4", "pvrecorder==1.2.4", "tabulate==0.8.10"],
install_requires=dependencies,
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand All @@ -52,6 +55,6 @@
'leopard_demo_mic=pvleoparddemo.leopard_demo_mic:main',
],
),
python_requires='>=3.8',
python_requires='>=3.9',
keywords="Speech-to-Text, ASR, Speech Recognition, Voice Recognition, Automatic Speech Recognition",
)

0 comments on commit d9cc121

Please sign in to comment.