Skip to content

Commit

Permalink
- Fixed metadata of package.
Browse files Browse the repository at this point in the history
- Added building of wheel for Python 3.11.
- Updated version of ``libheif-rs`` to 0.15.1.
- Updated version of ``pyo3`` to 0.17.2.
  • Loading branch information
Cykooz committed Oct 26, 2022
1 parent 6d82f7c commit 8e4a11b
Show file tree
Hide file tree
Showing 8 changed files with 203 additions and 170 deletions.
13 changes: 12 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,19 @@
CHANGELOG
*********

0.13 (2022-10-26)
=================

Changes
-------

- Fixed metadata of package.
- Added building of wheel for Python 3.11.
- Updated version of ``libheif-rs`` to 0.15.1.
- Updated version of ``pyo3`` to 0.17.2.

0.12 (2022-05-20)
===================
=================

Breaking Changes
----------------
Expand Down
132 changes: 78 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "rust_lib"
version = "0.7.0"
authors = ["Kirill Kuzminykh <[email protected]>"]
homepage = "https://github.com/Cykooz/cykooz.heif"
edition = "2021"


Expand All @@ -15,8 +16,8 @@ name = "cykooz.heif.rust_lib"


[dependencies]
libheif-rs = "0.15"
pyo3 = { version = "0.16.5", features = ["extension-module"] }
libheif-rs = "0.15.1"
pyo3 = { version = "0.17.2", features = ["extension-module"] }


[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cykooz.heif

``RawHeifImage`` is a simple wrapper around low level HEIF-decoder.

`CHANGELOG <https://github.com/Cykooz/cykooz.heif/blob/main/CHANGES.rst>`_
`CHANGELOG <https://github.com/Cykooz/cykooz.heif/blob/master/CHANGES.rst>`_

Usage Examples
==============
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ RUN mkdir /workdir "${CARGO_TARGET_DIR}"

RUN set -ex \
&& source $HOME/.cargo/env \
&& declare -a pythons=("cp37-cp37m" "cp38-cp38" "cp39-cp39" "cp310-cp310") \
&& declare -a pythons=("cp37-cp37m" "cp38-cp38" "cp39-cp39" "cp310-cp310" "cp311-cp311") \
&& for PY in "${pythons[@]}"; do \
cd "/opt/python/${PY}/bin/" \
&& ./pip install --upgrade pip auditwheel twine setuptools maturin \
Expand Down
3 changes: 1 addition & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rm -rf docker tests bootstrap.py build_wheels.sh


source "$HOME/.cargo/env"
PYTHONS=("7" "8" "9" "10")
PYTHONS=("7" "8" "9" "10" "11")
mkdir "${RESULT}/repaired"
for PY_MINOR in "${PYTHONS[@]}"; do
PY="3${PY_MINOR}"
Expand All @@ -42,7 +42,6 @@ for PY_MINOR in "${PYTHONS[@]}"; do
mkdir "${RESULT}/wheelhouse${PY}"
PYTHON_SYS_EXECUTABLE="${PY_BIN_DIR}/python" "${PY_BIN_DIR}/maturin" build \
--release --strip \
--no-sdist \
--compatibility manylinux_2_24 \
--skip-auditwheel \
-i "python3.${PY_MINOR}" \
Expand Down
Loading

0 comments on commit 8e4a11b

Please sign in to comment.