Skip to content

Commit

Permalink
Remove py2.7 from actions and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinse committed Jul 9, 2023
1 parent 73228c4 commit f5772e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f5772e0

Please sign in to comment.