Skip to content

Commit

Permalink
version = "3.11.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Nov 11, 2024
1 parent e5610ce commit 5cf616a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip
- name: Install build dependencies
if: runner.os == 'Linux'
run: |
Expand All @@ -43,11 +44,11 @@ jobs:
if: runner.os == 'macOS'
run: |
brew install portaudio
python -m pip install .[dev,audio]
python -m pip install --editable .[dev,audio]
- name: Install Python dependencies (Windows)
if: runner.os == 'Windows'
run: |
python -m pip install .[dev,whisper-local,whisper-api]
- name: Test with unittest
run: |
pytest --doctest-modules -v # speech_recognition/recognizers/ tests/
pytest --doctest-modules -v speech_recognition/recognizers/ tests/
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ requires = [ "setuptools>=61.2" ]

[project]
name = "speechrecognition"
version = "3.11.0" # TODO(cclauss): Make version dynamic
description = "Library for performing speech recognition, with support for several engines and APIs, online and offline."
readme.content-type = "text/x-rst"
readme.file = "README.rst"
Expand Down Expand Up @@ -43,7 +44,7 @@ classifiers = [
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = [ "version" ]
# dynamic = [ "version" ] # TODO(cclauss): Make version dynamic
dependencies = [
"audioop-lts; python_version>='3.13'",
"standard-aifc; python_version>='3.13'",
Expand Down Expand Up @@ -72,5 +73,5 @@ include-package-data = true
[tool.setuptools.packages.find]
exclude = [ "tests.*" ] # test
namespaces = false
[tool.setuptools.dynamic]
version = { attr = "speech_recognition.__init__.__version__" }
# [tool.setuptools.dynamic] # TODO(cclauss): Make version dynamic
# version = { attr = "speech_recognition.__init__.__version__" }

0 comments on commit 5cf616a

Please sign in to comment.