Skip to content

Commit

Permalink
Drop python 3.7 support due to EOL
Browse files Browse the repository at this point in the history
python 3.7 is EOL at 2023-06-27 according from
https://devguide.python.org/versions/ so we remove
it and bump to major semver
  • Loading branch information
zhongjiajie committed Oct 12, 2023
1 parent cb694c9 commit da2ac6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.10
- name: Install Dependences
run: |
python -m pip install --upgrade ${{ env.DEPENDENCES }}
Expand All @@ -49,7 +49,7 @@ jobs:
matrix:
# YAML parse `3.10` to `3.1`, so we have to add quotes for `'3.10'`, see also:
# https://github.com/actions/setup-python/issues/160#issuecomment-724485470
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -83,10 +83,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.10
- name: Install Dependences
run: |
python -m pip install --upgrade ${{ env.DEPENDENCES }}
Expand Down
6 changes: 1 addition & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ classifiers =
Development Status :: 3 - Alpha
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -36,7 +32,7 @@ project_urls =
Changelog = https://github.com/zhongjiajie/stmdency/releases

[options]
python_requires = >=3.7
python_requires = >=3.8
include_package_data = True
zip_safe = true
platforms = any
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

[tox]
envlist = auto-lint, lint, code-test, local-ci, doc-build, py{37,38,39,310,311,312}
envlist = auto-lint, lint, code-test, local-ci, doc-build, py{38,39,310,311,312}

[testenv]
allowlist_externals =
Expand Down

0 comments on commit da2ac6a

Please sign in to comment.