From ddf8088b3cba2f635e47e2825f71794eced54aac Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Fri, 29 Mar 2024 18:08:18 +0800 Subject: [PATCH] feat: upgrade CI Node.js version to 20 --- .github/workflows/build.yml | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce87dec..ab4a9a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] os: [ubuntu-latest] steps: @@ -81,7 +81,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Setup run: npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi @@ -89,7 +89,7 @@ jobs: - name: Set up python uses: actions/setup-python@v2 with: - python-version: '3.10' + python-version: '3.12' - name: Install setuptools run: python -m pip install --upgrade setuptools wheel twine diff --git a/setup.py b/setup.py index ac86a90..df13d56 100644 --- a/setup.py +++ b/setup.py @@ -38,10 +38,10 @@ python_requires=">=3.8", license="Apache 2.0", classifiers=[ - "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", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ],