From 7cd83ccad8d2f383485d00470db33d313c631891 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Mon, 24 Jul 2023 09:07:39 -0400 Subject: [PATCH] Remove Python 3.9 support from nailgun (#967) (#973) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove Python 3.9 support from nailgun * Update merge_to_master.yml * Update setup.py * Change build and publish section in merge_to_master.yml * Update setup.py (cherry picked from commit 4694e9567daebb08410ddee5419364e2ddb47756) Co-authored-by: Ladislav VaĊĦina --- .github/workflows/merge_to_master.yml | 6 +++--- .github/workflows/pull_requests.yml | 2 +- setup.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/merge_to_master.yml b/.github/workflows/merge_to_master.yml index b319c355..48d7e188 100644 --- a/.github/workflows/merge_to_master.yml +++ b/.github/workflows/merge_to_master.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, '3.10'] + python-version: ['3.10', '3.11'] steps: - name: Checkout Nailgun uses: actions/checkout@v2 @@ -70,10 +70,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - name: Setup python 3.8 + - name: Setup python 3.10 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: '3.10' - name: Install pypa/build run: python -m pip install build --user - name: Build a binary wheel and a source tarball diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index d3357d6a..a605deb9 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, '3.10'] + python-version: ['3.10', '3.11'] steps: - name: Checkout Nailgun uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index 0011d44c..ecca12e3 100755 --- a/setup.py +++ b/setup.py @@ -42,10 +42,10 @@ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], packages=find_packages(exclude=['docs', 'tests']), install_requires=REQUIREMENTS, - python_requires='>=3.8', + python_requires='>=3.10', )