Drop other p3.8 refs

This commit is contained in:
Eren G??lge 2023-06-26 11:42:57 +02:00
parent 1cce0e8bcb
commit 115baf7e47
2 changed files with 6 additions and 11 deletions

View File

@ -21,7 +21,7 @@ jobs:
fi fi
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- run: | - run: |
python -m pip install -U pip setuptools wheel build python -m pip install -U pip setuptools wheel build
- run: | - run: |
@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"] python-version: ["3.9", "3.10", "3.11"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
@ -64,10 +64,6 @@ jobs:
with: with:
name: "sdist" name: "sdist"
path: "dist/" path: "dist/"
- uses: actions/download-artifact@v2
with:
name: "wheel-3.8"
path: "dist/"
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
name: "wheel-3.9" name: "wheel-3.9"
@ -91,7 +87,7 @@ jobs:
EOF EOF
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- run: | - run: |
python -m pip install twine python -m pip install twine
- run: | - run: |

View File

@ -32,8 +32,8 @@ from Cython.Build import cythonize
from setuptools import Extension, find_packages, setup from setuptools import Extension, find_packages, setup
python_version = sys.version.split()[0] python_version = sys.version.split()[0]
if Version(python_version) < Version("3.8") or Version(python_version) >= Version("3.12"): if Version(python_version) < Version("3.9") 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)) 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__)) cwd = os.path.dirname(os.path.abspath(__file__))
@ -114,12 +114,11 @@ setup(
"dev": requirements_dev, "dev": requirements_dev,
"notebooks": requirements_notebooks, "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"]}, entry_points={"console_scripts": ["tts=TTS.bin.synthesize:main", "tts-server = TTS.server.server:main"]},
classifiers=[ classifiers=[
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",