diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 015ad77e..49a5b300 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -21,7 +21,7 @@ jobs: fi - uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - run: | python -m pip install -U pip setuptools wheel build - run: | @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -64,10 +64,6 @@ jobs: with: name: "sdist" path: "dist/" - - uses: actions/download-artifact@v2 - with: - name: "wheel-3.8" - path: "dist/" - uses: actions/download-artifact@v2 with: name: "wheel-3.9" @@ -91,7 +87,7 @@ jobs: EOF - uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - run: | python -m pip install twine - run: | diff --git a/setup.py b/setup.py index 1d3038bd..464bbdd7 100644 --- a/setup.py +++ b/setup.py @@ -32,8 +32,8 @@ from Cython.Build import cythonize from setuptools import Extension, find_packages, setup python_version = sys.version.split()[0] -if Version(python_version) < Version("3.8") or Version(python_version) >= Version("3.12"): - raise RuntimeError("TTS requires python >= 3.8 and < 3.12 " "but your Python version is {}".format(sys.version)) +if Version(python_version) < Version("3.9") or Version(python_version) >= Version("3.12"): + raise RuntimeError("TTS requires python >= 3.9 and < 3.12 " "but your Python version is {}".format(sys.version)) cwd = os.path.dirname(os.path.abspath(__file__)) @@ -114,12 +114,11 @@ setup( "dev": requirements_dev, "notebooks": requirements_notebooks, }, - python_requires=">=3.8.0, <3.12", + python_requires=">=3.9.0, <3.12", entry_points={"console_scripts": ["tts=TTS.bin.synthesize:main", "tts-server = TTS.server.server:main"]}, classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11",