diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e1f5bf..ae4597f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,5 @@ jobs: - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - run: pip install -r requirements-travis.txt - - run: make install + - run: pip install '.[test,lint]' - run: make check diff --git a/pyproject.toml b/pyproject.toml index cc679e7..b3f9b89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,18 +10,18 @@ version = "1.8.0" license = {text = "GPL-2.0-or-later"} authors = [{name = "Aexpect developers", email = "avocado-devel@redhat.com"}] maintainers = [{name = "Aexpect developers", email = "avocado-devel@redhat.com"}] -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "Development Status :: 6 - Mature", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [] @@ -31,7 +31,10 @@ Repository = "https://github.com/avocado-framework/aexpect" Issues = "https://github.com/avocado-framework/aexpect/issues" [project.optional-dependencies] -test = ["pytest>=9.0.3"] +test = [ + "pytest>=8.4,<9; python_version < '3.10'", + "pytest>=9; python_version >= '3.10'", +] lint = ["black", "pycodestyle", "isort", "inspektor"] dev = ["aexpect[test,lint]", "setuptools-scm>=8", "build", "twine"] @@ -47,7 +50,7 @@ local_scheme = "node-and-date" [tool.black] line-length = 79 -target-version = ["py38", "py39", "py310", "py311", "py312", "py313"] +target-version = ["py39", "py310", "py311", "py312", "py313", "py314"] [tool.pytest.ini_options] addopts = "-ra" diff --git a/requirements-travis.txt b/requirements-travis.txt deleted file mode 100644 index 9bd3d78..0000000 --- a/requirements-travis.txt +++ /dev/null @@ -1,5 +0,0 @@ -setuptools==83.0.0 -pycodestyle==2.13.0 -inspektor==0.5.3 -pytest==9.0.3 -black==26.3.1