Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ready to release v2.8.3 #122

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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']
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
exiv2_version: [0.27.7]
runs-on: ${{matrix.os}}
env:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-12]
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
exiv2_version: [0.27.7]
runs-on: ${{matrix.os}}
env:
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-2019]
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
exiv2_version: [0.27.7]
runs-on: ${{matrix.os}}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-12, macos-13, windows-2019]
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -36,7 +36,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python_version: [3.7, 3.8, 3.9, '3.10', '3.11']
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 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: [macos-12, macos-13, windows-2019]
python_version: [3.7, 3.8, 3.9, '3.10', '3.11']
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -24,7 +24,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==2.8.2
python -m pip install pyexiv2==2.8.3
python -m pip install pytest psutil
- name: Test
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python_version: [3.7, 3.8, 3.9, '3.10', '3.11']
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -50,7 +50,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==2.8.2
python -m pip install pyexiv2==2.8.3
python -m pip install pytest psutil
- name: Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyexiv2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .core import *


__version__ = '2.8.2'
__version__ = '2.8.3'
__exiv2_version__ = exiv2api.version()


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.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
expected_py_version = ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name='pyexiv2',
version='2.8.2', # need to set the variable in 'pyexiv2/__init__.py'
version='2.8.3', # need to set the variable in 'pyexiv2/__init__.py'
author='LeoHsiao',
author_email='leohsiao@foxmail.com',
description='Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.',
Expand Down
Loading