Skip to content

Commit

Permalink
support Python 3.10 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Oct 16, 2023
1 parent d9db5c7 commit cdd0f16
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can try this example in a Python interpreter.

```console
$ python
Python 3.8.16 (...)
Python 3.10.13 (...)
...
...
>>>
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" }]
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",
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit cdd0f16

Please sign in to comment.