Skip to content

Commit

Permalink
Update python support (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
picoliu authored Feb 6, 2025
1 parent 9108fc0 commit ed3509c
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']
include:
- os: ubuntu-latest
platform: linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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 @@ -29,7 +29,7 @@ Rhino is:

## Compatibility

- Python 3.8+
- Python 3.9+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (Zero, 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 @@ -46,7 +46,7 @@

setuptools.setup(
name="pvrhino",
version="3.0.4",
version="3.0.5",
author="Picovoice",
author_email="[email protected]",
description="Rhino Speech-to-Intent engine.",
Expand All @@ -63,6 +63,6 @@
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio :: Speech"
],
python_requires='>=3.8',
python_requires='>=3.9',
keywords="Speech-to-Intent, voice commands, voice control, speech recognition, natural language understanding"
)
2 changes: 1 addition & 1 deletion demo/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Rhino is:

## Compatibility

- Python 3.8+
- Python 3.9+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (Zero, 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,2 +1,2 @@
pvrhino==3.0.4
pvrhino==3.0.5
pvrecorder==1.2.4
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="pvrhinodemo",
version="3.0.4",
version="3.0.5",
author="Picovoice",
author_email="[email protected]",
description="Rhino Speech-to-Intent engine demos.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/rhino",
packages=["pvrhinodemo"],
install_requires=["pvrhino==3.0.4", "pvrecorder==1.2.4"],
install_requires=dependencies,
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand All @@ -52,6 +55,6 @@
'rhino_demo_mic=pvrhinodemo.rhino_demo_mic:main',
],
),
python_requires='>=3.8',
python_requires='>=3.9',
keywords="Speech-to-Intent, voice commands, voice control, speech recognition, natural language understanding"
)

0 comments on commit ed3509c

Please sign in to comment.