From f5772e0e86695d97b5b714b85ed19b4476a9d005 Mon Sep 17 00:00:00 2001 From: Svein Seldal Date: Sun, 9 Jul 2023 11:10:31 +0200 Subject: [PATCH] Remove py2.7 from actions and publish --- .github/workflows/python-package.yml | 2 +- .github/workflows/python-publish.yml | 8 ++++---- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index da79108..29d3490 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.7", "3.x"] + python-version: ["3.x"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 92e3f3f..f63a8d8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.7", "3.x"] + python-version: ["3.x"] steps: - uses: actions/checkout@v3 @@ -34,9 +34,9 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel python -m pip install build - - name: Build 2.7 package - if: ${{ matrix.python-version == '2.7' }} - run: python -m build --wheel + # - name: Build 2.7 package + # if: ${{ matrix.python-version == '2.7' }} + # run: python -m build --wheel - name: Build package if: ${{ matrix.python-version != '2.7' }} run: python -m build diff --git a/setup.py b/setup.py index fb1c6dc..8386a7b 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ # For a discussion on single-sourcing the version across setup.py and the # project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='3.3', # Required + version='3.3.post1', # Required # This is a one-line description or tagline of what your project does. This # corresponds to the "Summary" metadata field: