Merge pull request #785 from deezer/tf2.x

Release constrains on tf version
This commit is contained in:
Moussallam
2022-09-07 13:37:32 +02:00
committed by GitHub
5 changed files with 858 additions and 762 deletions

View File

@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
- name: Install Poetry
run: |
pip install poetry

View File

@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}

View File

@@ -1,5 +1,9 @@
# Changelog History
## 2.3.2
Release contrain on specific Tensorflow, numpy and Librosa versions
Dropping explicit support of python 3.6 but adding 3.10
## 2.3.0
Updating dependencies to enable TensorFlow 2.5 support (and Python 3.9 overall)

1591
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "spleeter"
version = "2.3.1"
version = "2.3.2"
description = "The Deezer source separation library with pretrained models based on tensorflow."
authors = ["Deezer Research <spleeter@deezer.com>"]
license = "MIT License"
@@ -21,9 +21,10 @@ classifiers = [
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Artistic Software",
@@ -44,26 +45,26 @@ packages = [ { include = "spleeter" } ]
include = ["LICENSE", "spleeter/resources/*.json"]
[tool.poetry.dependencies]
python = ">=3.6.2,<3.10"
python = ">=3.7.1,<3.11"
ffmpeg-python = "0.2.0"
norbert = "0.2.1"
httpx = {extras = ["http2"], version = "^0.19.0"}
typer = "^0.3.2"
librosa = "0.8.0"
librosa = "^0.8.0"
musdb = {version = "0.3.1", optional = true}
museval = {version = "0.3.0", optional = true}
tensorflow = "2.5.0"
pandas = "^1.1.2"
numpy = "<1.20.0,>=1.16.0"
tensorflow = "^2.5.0"
pandas = "^1.2"
numpy = "^1.19.2"
importlib-resources = {version = "^4.1.1", python = "<3.7"}
importlib-metadata = {version = "^3.0.0", python = "<3.8"}
llvmlite = "^0.36.0"
protobuf = "<=3.19.4"
llvmlite = "^0.38.0"
protobuf = "^3.19.4"
[tool.poetry.dev-dependencies]
pytest = "^6.2.1"
isort = "^5.7.0"
black = "^21.7b"
black = "^21.7"
mypy = "^0.790"
pytest-forked = "^1.3.0"
musdb = "0.3.1"