Skip to content

Commit ed3509c

Browse files
authored
Update python support (#764)
1 parent 9108fc0 commit ed3509c

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

.github/workflows/python-demos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ubuntu-latest, windows-latest, macos-latest]
29-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
29+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
3030
include:
3131
- os: ubuntu-latest
3232
platform: linux

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
matrix:
5050
os: [ubuntu-latest, windows-latest, macos-latest]
51-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
51+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
5252

5353
steps:
5454
- uses: actions/checkout@v3

binding/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Rhino is:
2929

3030
## Compatibility
3131

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

3535
## Installation

binding/python/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
setuptools.setup(
4848
name="pvrhino",
49-
version="3.0.4",
49+
version="3.0.5",
5050
author="Picovoice",
5151
author_email="[email protected]",
5252
description="Rhino Speech-to-Intent engine.",
@@ -63,6 +63,6 @@
6363
"Programming Language :: Python :: 3",
6464
"Topic :: Multimedia :: Sound/Audio :: Speech"
6565
],
66-
python_requires='>=3.8',
66+
python_requires='>=3.9',
6767
keywords="Speech-to-Intent, voice commands, voice control, speech recognition, natural language understanding"
6868
)

demo/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Rhino is:
3434

3535
## Compatibility
3636

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

4040
## Installation

demo/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pvrhino==3.0.4
1+
pvrhino==3.0.5
22
pvrecorder==1.2.4

demo/python/setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,20 @@
2626
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
2727
long_description = f.read()
2828

29+
with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r") as f:
30+
dependencies = f.read().strip().splitlines()
31+
2932
setuptools.setup(
3033
name="pvrhinodemo",
31-
version="3.0.4",
34+
version="3.0.5",
3235
author="Picovoice",
3336
author_email="[email protected]",
3437
description="Rhino Speech-to-Intent engine demos.",
3538
long_description=long_description,
3639
long_description_content_type="text/markdown",
3740
url="https://github.com/Picovoice/rhino",
3841
packages=["pvrhinodemo"],
39-
install_requires=["pvrhino==3.0.4", "pvrecorder==1.2.4"],
42+
install_requires=dependencies,
4043
include_package_data=True,
4144
classifiers=[
4245
"Development Status :: 5 - Production/Stable",
@@ -52,6 +55,6 @@
5255
'rhino_demo_mic=pvrhinodemo.rhino_demo_mic:main',
5356
],
5457
),
55-
python_requires='>=3.8',
58+
python_requires='>=3.9',
5659
keywords="Speech-to-Intent, voice commands, voice control, speech recognition, natural language understanding"
5760
)

0 commit comments

Comments
 (0)