This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/dolphinscheduler-sdk-python.git
The following commit(s) were added to refs/heads/main by this push:
new ccc6677 Remove py 3.8 (#161)
ccc6677 is described below
commit ccc6677501bf4ad95dcffa6cd800b61671d4a7bf
Author: Jay Chung <[email protected]>
AuthorDate: Sun Jan 12 17:15:10 2025 +0800
Remove py 3.8 (#161)
according to https://devguide.python.org/versions/
---
.github/workflows/ci.yaml | 8 ++------
.ruff.toml | 2 +-
CONTRIBUTING.md | 4 ++--
docs/source/start.rst | 6 +++---
setup.cfg | 6 +++---
5 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index f6960a6..2a3424c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -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.8', '3.9', '3.10', '3.11', '3.12']
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
# 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]
exclude:
@@ -87,17 +87,13 @@ jobs:
python-version: 3.11
- os: windows-latest
python-version: 3.12
- # Python 3.8 and 3.9 is on macos-13 but not macos-latest
(macos-14-arm64)
+ # Python 3.9 is on macos-13 but not macos-latest (macos-14-arm64)
#
https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
- os: macos-latest
python-version: 3.9
- - os: macos-latest
- python-version: 3.8
include:
- python-version: 3.9
os: macos-13
- - python-version: 3.8
- os: macos-13
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
diff --git a/.ruff.toml b/.ruff.toml
index ea10c8b..67fb9c3 100644
--- a/.ruff.toml
+++ b/.ruff.toml
@@ -1,6 +1,6 @@
src = ["src"]
-target-version = "py38"
+target-version = "py39"
# max-line-length = 110
line-length = 110
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7a5dec4..e00b1a3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -80,7 +80,7 @@ run tests. And it is scattered commands to reproduce each
step of the integratio
### With GitHub Action
GitHub Action test in various environment for pydolphinscheduler, including
different python version in
-`3.6|3.7|3.8|3.9|3.10|3.11|3.12` and operating system `linux|macOS|windows`.
It will trigger and run automatically when you
+`3.9|3.10|3.11|3.12|3.13` and operating system `linux|macOS|windows`. It will
trigger and run automatically when you
submit pull requests to repository `apache/dolphinscheduler-sdk-python`.
### Automated Testing With tox
@@ -214,7 +214,7 @@ make clean && make multiversion
## Unit Test
pydolphinscheduler using [pytest][pytest] to test our codebase. GitHub Action
will run our test when you create
-pull request or commit to dev branch, with python version
`3.6|3.7|3.8|3.9|3.10|3.11|3.12` and operating system `linux|macOS|windows`.
+pull request or commit to dev branch, with python version
`3.9|3.10|3.11|3.12|3.13` and operating system `linux|macOS|windows`.
### Unit Test Using tox
diff --git a/docs/source/start.rst b/docs/source/start.rst
index 7c2a9e6..0b013c4 100644
--- a/docs/source/start.rst
+++ b/docs/source/start.rst
@@ -31,19 +31,19 @@ you're using. The python wiki provides up to date
`instructions for all platforms here`_. When you enter the website
and choose your operating system, you would be offered the choice and
select python version. *PyDolphinScheduler* recommends using a version above
-Python 3.6 and we highly recommend installing *Stable Releases* instead
+Python 3.9 and we highly recommend installing *Stable Releases* instead
of *Pre-releases*.
After you have download and installed Python, you should open your terminal,
type and run :code:`python --version` to check whether the installation
is correct or not. If everything is good, you could see the version in console
-without error(here is an example after Python 3.8.7 is installed)
+without error(here is an example after Python 3.9 is installed)
.. code-block:: bash
python --version
-Will see detail of Python version, such as *Python 3.8.7*
+Will see detail of Python version, such as *Python 3.9*
Installing PyDolphinScheduler
-----------------------------
diff --git a/setup.cfg b/setup.cfg
index 50a153f..992e2cb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -42,11 +42,11 @@ classifiers =
Operating System :: POSIX
Operating System :: Microsoft :: Windows
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
+ Programming Language :: Python :: 3.13
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: User Interfaces
@@ -58,7 +58,7 @@ project_urls =
Twitter = https://twitter.com/dolphinschedule
[options]
-python_requires = >=3.8
+python_requires = >=3.9
include_package_data = True
zip_safe = true
platforms = any
@@ -169,7 +169,7 @@ envlist =
code-test
integrate-test
local-integrate-test
- py{38,39,310,311,312}
+ py{39,310,311,312,313}
[testenv]
allowlist_externals =