Skip to content

Commit

Permalink
[ci] add release for Python3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHsiao1 committed Oct 20, 2024
1 parent e813da8 commit 6a52827
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
exiv2_version: [0.28.3]
runs-on: ${{matrix.os}}
env:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-14]
python_version: [3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
exiv2_version: [0.28.3]
runs-on: ${{matrix.os}}
env:
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-2019]
python_version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
exiv2_version: [0.28.3]
runs-on: ${{matrix.os}}
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-14]
python_version: [3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -59,7 +59,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-2019]
python_version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-14, macos-15]
python_version: [3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -67,7 +67,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-2019]
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyexiv2/lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
raise RuntimeError('pyexiv2 can only run on 64-bit python3 interpreter.')
py_version = platform.python_version() # the version is a string, like '3.9.7'
py_version = '.'.join(py_version.split('.')[:2]) # ignore the patch version
expected_py_version = ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
expected_py_version = ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
if py_version not in expected_py_version:
raise RuntimeError('pyexiv2 only supports these Python versions: {} . But your version is {} .'.format(expected_py_version, py_version))

Expand Down

0 comments on commit 6a52827

Please sign in to comment.