mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-20 13:07:51 +09:00
chore: add back support for Python 3.7 (#880)
This commit is contained in:
1 parent
da4f978a42
commit
2648eaadf5
4 files changed
+7
-2
No files matched your search
@@ -13,7 +13,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
python-version: [3.8]
|
||||
python-version: [3.7, 3.8]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
||||
@@ -20,7 +20,10 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
from functools import singledispatchmethod
|
||||
try:
|
||||
from functools import singledispatchmethod
|
||||
except ImportError:
|
||||
from singledispatchmethod import singledispatchmethod
|
||||
from typing import Optional
|
||||
|
||||
import numpy as np
|
||||
|
||||
@@ -11,6 +11,7 @@ pyannote.pipeline >=2.2,<3.0
|
||||
pytorch_lightning >=1.5.4,<1.6
|
||||
pytorch_metric_learning >=1.0.0,<2.0
|
||||
semver >=2.10.2,<3.0
|
||||
singledispatchmethod
|
||||
soundfile >=0.10.2,<0.11
|
||||
spectralcluster >= 0.2.4,<0.3
|
||||
torch >=1.9
|
||||
|
||||
@@ -56,6 +56,7 @@ if __name__ == "__main__":
|
||||
"Intended Audience :: Science/Research",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Topic :: Scientific/Engineering",
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user