Skip to content

Commit

Permalink
ci: Deprecate python 3.7
Browse files Browse the repository at this point in the history
EOL is June 27th, 2023, python 3.8 adds support for typing's
TypedDict and Protocol.
  • Loading branch information
tony committed May 29, 2023
1 parent d50ff56 commit 988de52
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 96 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.10", "3.11"]
python-version: ["3.8", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
poetry 1.5.0
python 3.10.7 3.9.13 3.8.13 3.7.12
python 3.10.7 3.9.13 3.8.13
10 changes: 9 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ $ pip install --user --upgrade --pre unihan-db

<!-- Maintainers, insert changes / features for the next release here -->

- _Insert changes/features/fixes for next release here_
### Breaking

- **Python 3.7 Dropped**

Python 3.7 support has been dropped (#309)

Its end-of-life is June 27th, 2023 and Python 3.8 will add support for
`typing.TypedDict` and `typing.Protocol` out of the box without needing
`typing_extensions`.

## unihan-db 0.8.0 (2023-05-13)

Expand Down
130 changes: 41 additions & 89 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Database",
"Topic :: Software Development :: Internationalization",
Expand Down Expand Up @@ -48,7 +48,7 @@ Repository = "https://github.com/cihai/unihan-db"
"Release notes" = "https://github.com/cihai/unihan-db/blob/master/CHANGES"

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
appdirs = "*"
SQLAlchemy = "<2"
unihan-etl = "~=0.19.1"
Expand All @@ -60,7 +60,7 @@ furo = "*"
gp-libs = "*"
sphinx-autobuild = "*"
sphinx-autodoc-typehints = "*"
sphinx-inline-tabs = "<2023.4.21" # For Python 3.7 support
sphinx-inline-tabs = "*"
sphinxext-opengraph = "<0.8" # https://github.com/wpilibsuite/sphinxext-opengraph/issues/100
sphinx-copybutton = "*"
sphinxext-rediraffe = "*"
Expand Down

0 comments on commit 988de52

Please sign in to comment.