diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml index 7321c90..1d800ba 100644 --- a/.github/workflows/type-check.yml +++ b/.github/workflows/type-check.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.10" - name: Install packages run: | diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index b19733c..0834f49 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index d1db57c..9e3c547 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ You can try this example in a Python interpreter. ```console $ python -Python 3.8.16 (...) +Python 3.10.13 (...) ... ... >>> diff --git a/pyproject.toml b/pyproject.toml index 8d645a5..91fd7e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,17 +6,16 @@ build-backend = "hatchling.build" name = "apluggy" description = 'A wrapper of "pluggy" to support asyncio and context managers' readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.10" license = "MIT" keywords = [] authors = [{ name = "Tai Sakuma", email = "tai.sakuma@gmail.com" }] classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "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", ] dependencies = [ "pluggy>=1.0", @@ -52,7 +51,7 @@ cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=src/ap no-cov = "cov --no-cov {args}" [[tool.hatch.envs.test.matrix]] -python = ["38", "39", "310", "311"] +python = ["310", "311", "312"] [tool.pytest.ini_options] asyncio_mode = "auto" @@ -66,7 +65,7 @@ doctest_optionflags = ["ELLIPSIS"] [tool.black] skip-string-normalization = true -target_version = ['py38', 'py39', 'py310', 'py311'] +target_version = ['py310', 'py311', 'py312'] [tool.coverage.run] branch = true