Skip to content

Commit

Permalink
Drop support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Sep 22, 2024
1 parent f55c789 commit d335443
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: github.event_name == 'push'
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ good references for how projects should be type-hinted to be type-complete.

- This project deviates from the common convention of importing types from the typing module and instead
imports the typing module itself to use generics and types in it like `typing.Union` and `typing.Optional`.
- Since this project supports python 3.8+, the `typing` module takes priority over `collections.abc`.
- Since this project supports python 3.9+, the `typing` module takes priority over `collections.abc`.
- All exported symbols should have docstrings.

---
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Key features:
## Requirements

- Python 3.8+
- Python 3.9+
- aiohttp
- Pydantic

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pip install git+https://github.com/thesadru/genshin.py

### Requirements:

- Python 3.8+
- Python 3.9+
- aiohttp
- Pydantic

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ line-length = 120

[tool.ruff]
line-length = 120
target-version = "py38"
target-version = "py39"

[tool.ruff.lint]
select = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"Issue tracker": "https://github.com/thesadru/genshin.py/issues",
},
packages=find_packages(exclude=["tests.*"]),
python_requires=">=3.8",
python_requires=">=3.9",
install_requires=["aiohttp", "pydantic"],
extras_require={
"all": ["browser-cookie3", "rsa", "click", "qrcode[pil]", "aiohttp-socks"],
Expand Down

0 comments on commit d335443

Please sign in to comment.