Skip to content

Commit

Permalink
chore: Drop support of py36 and py37 (#126)
Browse files Browse the repository at this point in the history
Both of them are EOL, which you
can see at https://devguide.python.org/versions/
  • Loading branch information
zhongjiajie committed Dec 25, 2023
1 parent 6e5c6e9 commit 1b2ad57
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
needs: license
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.11
- name: Install Dependences
run: |
python -m pip install --upgrade ${{ env.DEPENDENCES }}
Expand All @@ -76,7 +76,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.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
# FIXME: temp change os to ubuntu-20.04 to fix python can not found error https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
os: [ubuntu-20.04, macOS-latest, windows-latest]
# Skip because dependence [py4j](https://pypi.org/project/py4j/) not work on those environments
Expand Down Expand Up @@ -122,10 +122,10 @@ jobs:
env-list: [doc-build, doc-build-multi]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.11
- name: Install Dependences
run: |
python -m pip install --upgrade ${{ env.DEPENDENCES }}
Expand All @@ -140,10 +140,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.11
- name: Install Dependences
run: |
python -m pip install --upgrade ${{ env.DEPENDENCES }}
Expand Down Expand Up @@ -195,10 +195,10 @@ jobs:
-Dcheckstyle.skip=true \
-Pdocker,release -Ddocker.tag=ci \
-pl dolphinscheduler-standalone-server -am
- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.11
- name: Install Dependences
run: |
python -m pip install --upgrade ${{ env.DEPENDENCES }}
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ git commit -am "Release v${VERSION}"

# Add Tag
git tag -a "${VERSION}" -m "Release v${VERSION}"
git push "${REMOTE}" --tags
git push "${REMOTE}" tags/"${VERSION}"

# Build and sign according to the Apache requirements
python setup.py clean && python setup.py asdist
Expand Down
1 change: 1 addition & 0 deletions UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ It started after version 2.0.5 released

* Remove attribute tenant from pydolphinscheduler.core.workflow.workflow ([#54](https://github.com/apache/dolphinscheduler-sdk-python/pull/54))
and please change tenant name in ``config.yaml`` in ``PYDS_HOME``
* Drop support of python3.6 and python3.7 ([#126](https://github.com/apache/dolphinscheduler-sdk-python/pull/126))

## 4.0.0

Expand Down
7 changes: 2 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ classifiers =
Operating System :: POSIX
Operating System :: Microsoft :: Windows
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -61,7 +58,7 @@ project_urls =
Twitter = https://twitter.com/dolphinschedule

[options]
python_requires = >=3.6
python_requires = >=3.8
include_package_data = True
zip_safe = true
platforms = any
Expand Down Expand Up @@ -172,7 +169,7 @@ envlist =
code-test
integrate-test
local-integrate-test
py{36,37,38,39,310,311,312}
py{38,39,310,311,312}

[testenv]
allowlist_externals =
Expand Down

0 comments on commit 1b2ad57

Please sign in to comment.