From 77aa8489a4f75408a89d4b34e6dc791ed03c2c90 Mon Sep 17 00:00:00 2001 From: MissterHao Date: Fri, 3 Feb 2023 08:53:25 +0800 Subject: [PATCH] change workflow python version to 3.8,3.9 --- .github/workflows/publish.yml | 3 +++ .github/workflows/release.yml | 1 + setup.cfg | 4 +--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7f29c53..ec1dc91 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,14 +11,17 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.x' + - name: Install dependencies run: | python -m pip install --upgrade pip pip install setuptools wheel twine + - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6453893..bdaeeb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: python-version: - 3.8 - 3.9 + - 3.10 steps: - uses: actions/checkout@v3 diff --git a/setup.cfg b/setup.cfg index 19a1255..19917de 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,8 +27,6 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.6 Programming Language :: Python :: Implementation Topic :: Software Development :: Libraries :: Application Frameworks Topic :: Software Development :: Libraries :: Python Modules @@ -39,7 +37,7 @@ classifiers = [options] packages=find: include_package_data = true -python_requires = >=3.6 +python_requires = >=3.8 setup_requires = setuptools >= 38.3.0 install_requires =