Releases: PyO3/maturin
Releases · PyO3/maturin
v1.7.1
What's Changed
- Update clap_complete_command to v0.6.1 by @nihaals in #2144
- Fix platform tags when cross-compiling universal2 by @tuxu in #2153
- Fix Typo in Migration Guide by @rdghosal in #2162
- Fix rust 1.80 clippy errors by @jameshilliard in #2164
- Don't check .gitignore files in parent directories by @jameshilliard in #2158
- Replace
--skip-auditwheel
with--auditwheel
option by @messense in #2165 - Remove
install_requires
andsetup_requires
from setup.py by @messense in #2171 - Use modern stripping option by @konstin in #2173
- Move project metadata from setup.py to pyproject.toml by @Owen-CH-Leung in #2175
- Update manylinux/musllinux policies to the latest main by @github-actions in #2178
- use just
licenses
as the license directory in a wheel by @altendky in #2181 - Forward
cargo package --list
warnings by @konstin in #2186 - Add current package context to source dist error by @konstin in #2187
- Place source dist readmes next to Cargo.toml by @konstin in #2184
- Bump to 1.7.1 by @konstin in #2191
New Contributors
- @nihaals made their first contribution in #2144
- @tuxu made their first contribution in #2153
- @github-actions made their first contribution in #2178
Full Changelog: v1.7.0...v1.7.1
v1.7.0
What's Changed
- Expose env variable to suppress build backend warning by @fsimkovic in #2099
- Canonicalize base executable path in PEP 517 build by @messense in #2100
- Initial iOS support by @FeodorFitsner in #2102
- Remove old import hook by @mbway in #2105
- Bump MSRV to 1.74.0 by @messense in #2108
- Upgrade pyo3 to 0.22.0, uniffi to 0.28.0 by @messense in #2121
- Override wheel tag with
_PYTHON_HOST_PLATFORM
by @FeodorFitsner in #2122 - Update cargo-xwin to 0.16.5 by @messense in #2123
- Don't add duplicate files by @konstin in #2125
- Docs: Fix Typo in Verb Conjugation by @rdghosal in #2129
- pep517: only use base python when
MATURIN_PEP517_USE_BASE_PYTHON
env var is set by @messense in #2134
New Contributors
- @fsimkovic made their first contribution in #2099
- @FeodorFitsner made their first contribution in #2102
- @rdghosal made their first contribution in #2129
Full Changelog: v1.6.0...v1.7.0
v1.6.0
What's Changed
- Use virtual env for pytest in github actions by @Owen-CH-Leung in #2004
- Add pypi name validation by @alonme in #2007
- Add JSON schema generation by @JonathanPlasse in #2005
- Detect compiling from Linux gnu to Linux musl as cross compiling by @messense in #2010
- generate-ci: add musllinux support by @messense in #2011
- Use pyo3 0.21 for tests and examples by @konstin in #2016
- generate-ci: use macos-12 runner for x86_64 macOS job by @messense in #2020
- Upgrade uniffi to 0.27.0 by @messense in #2021
- Add instrumentation support for develop by @konstin in #2019
- Make
tracing-subscriber
mandatory by @messense in #2022 - Import hook upgrade by @mbway in #2024
- Add uv as develop backend command by @dmatos2012 in #2015
- Also try
uv
inPATH
indevelop --uv
by @messense in #2026 - docs: update pyo3 to match tutorial by @henryiii in #2029
- Add support for AIX by @bzEq in #2030
- Remove rust-cpython from project init/new template by @messense in #2034
- Only run uv tests on platforms that has wheel on PyPI or when uv bina… by @messense in #2037
- Install cffi and uv on demand in
test_develop
by @messense in #2043 - Add support for
wasm32-wasip1
andwasm32-wasip2
targets by @messense in #2054 - fix: windows exit code with python by @trim21 in #2055
- Remove rust-cpython support from documentation by @messense in #2057
- docs: Add bleuscore in examples by @shenxiangzhuang in #2061
- Fix new clippy warnings on Rust 1.78.0 by @messense in #2065
- Allows to use Maturin with ziglang 0.11 and 0.12 by @Tpt in #2067
- Remove pyston from CI by @konstin in #2081
- Show full path in missing readme error message by @konstin in #2074
- Update cargo mock deps by @konstin in #2075
- Ban std::fs trough clippy by @konstin in #2076
- Preserve file permission when copying by @blmarket in #2069
- Detect target based on interpreter for pep517 build-wheel by @kcking in #2088
- Add a global verbose option by @konstin in #2080
- Use base executable when possible in PEP 517 build by @messense in #2094
- Remove support for rust-cpython by @Owen-CH-Leung in #2044
New Contributors
- @JonathanPlasse made their first contribution in #2005
- @dmatos2012 made their first contribution in #2015
- @nipunn1313 made their first contribution in #2032
- @henryiii made their first contribution in #2029
- @bzEq made their first contribution in #2030
- @trim21 made their first contribution in #2055
- @shenxiangzhuang made their first contribution in #2061
- @Tpt made their first contribution in #2067
- @blmarket made their first contribution in #2069
- @kcking made their first contribution in #2088
Full Changelog: v1.5.1...v1.6.0
v1.5.1
What's Changed
- fix changelog link by @asottile-sentry in #1990
- in pep517 build default compatibility to off instead of always specifying by @altendky in #1992
- Fix typo on maturin docs by @shehab-as in #1997
- Add MacOS m1 Runner & move target aarch64 to this runner by @Owen-CH-Leung in #2001
- Fix upload returning
malformed summary
error by @messense in #2002
New Contributors
- @asottile-sentry made their first contribution in #1990
- @altendky made their first contribution in #1992
- @shehab-as made their first contribution in #1997
- @Owen-CH-Leung made their first contribution in #2001
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
- tutorial: fix abi to match comment by @skshetry in #1876
- Allow identical
VIRTUAL_ENV
andCONDA_PREFIX
env vars by @konstin in #1879 - Upgrade pyo3 to 0.20 by @messense in #1881
- Skip PyPy tests on Windows for now by @messense in #1885
- Bump generated github actions workflow to v4 of up/download-artifact actions by @chrjabs in #1886
- Skip directory when adding license files to wheel by @messense in #1890
- Reject
-i python
when cross compiling by @messense in #1891 - simplified clear-cache github action by @mbway in #1897
- Support uniffi-bindgen in cargo workspaces by @Hinton in #1909
- Upgrade globlin to 0.8.0 by @messense in #1912
- Update
**Note**
to[!NOTE]
in README by @SigureMo in #1917 - Match dependency readmes by package id by @konstin in #1915
- Update some actions version in generate ci cli by @SigureMo in #1916
- Use extension name as library name, instead of hardcoded 'native.so' by @timkpaine in #1918
- Bump MSRV to 1.70 by @messense in #1923
- Remove setuptools-rust and milksnake mentions from readme by @konstin in #1926
- Upgrade uniffi to 0.26.0 by @messense in #1927
- Use M1 runner on GitHub Actions by @messense in #1928
- Upgrade rustls to 0.22 by @messense in #1929
- Add extra note to "Using PyPI's trusted publishing" section. by @ghuls in #1939
- Update pep440_rs, pep508_rs and pyproject-toml by @konstin in #1945
- Add support for configuring
xwin
using env vars by @messense in #1961 - Put dynamic field under project instead of project.optional-dependencies by @weiji14 in #1963
- Revert "Auto detect Python 3.13" by @messense in #1964
- Add validation for crate/package name in new/init by @alonme in #1943
- Update
upload-artifact
anddownload-artifact
actions to v4 by @messense in #1967 - Add 32-bit RISC-V support by @kraj in #1969
- Isolated import hook changes by @mbway in #1958
- Fix feature = "cargo-clippy" deprecation by @rex4539 in #1970
- Adjust cbindgen Overrides for CFFI by @nhusung in #1957
- Update to Metadata 2.3 to create reliable source dist metadata by @konstin in #1965
- Only set rustflags when necessary by @taiki-e in #1978
New Contributors
- @skshetry made their first contribution in #1876
- @chrjabs made their first contribution in #1886
- @Hinton made their first contribution in #1909
- @SigureMo made their first contribution in #1917
- @timkpaine made their first contribution in #1918
- @ghuls made their first contribution in #1939
- @weiji14 made their first contribution in #1963
- @alonme made their first contribution in #1943
- @kraj made their first contribution in #1969
- @rex4539 made their first contribution in #1970
- @nhusung made their first contribution in #1957
- @taiki-e made their first contribution in #1978
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- Fix two tiny typos in README.md! by @JackKelly in #1853
- Bump MSRV to 1.67 by @messense in #1847
- Tiny tweak: Use Rust markdown block by @JackKelly in #1855
- Recommend using pipx to install maturin by @messense in #1859
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1860
- Fix macOS deployment target test case on Rust 1.74+ by @messense in #1861
- Update
cargo-options
to 0.7.1 by @messense in #1862 - Add support for cross compiling with
cross
by @messense in #1865 - Bump the crates-io group with 8 updates by @dependabot in #1866
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1867
- Bump openssl from 0.10.59 to 0.10.60 by @dependabot in #1868
- Bump actions/github-script from 6 to 7 by @dependabot in #1873
- Bump conda-incubator/setup-miniconda from 2 to 3 by @dependabot in #1872
- Bump mymindstorm/setup-emsdk from 12 to 13 by @dependabot in #1871
- Update
rustls-pemfile
to 2.0.0 by @messense in #1874
New Contributors
- @JackKelly made their first contribution in #1853
Full Changelog: v1.3.2...v1.4.0
v1.3.2
What's Changed
- Switch to Ruff formatter by @messense in #1817
- Upgrade ring to 0.17 by @messense in #1819
- Un-deprecate
MATURIN_PEP517_ARGS
env var by @messense in #1820 - Add support for uniffi library mode by @messense in #1729
- Fix missing member in Cargo.toml for sdist of nested workspace layout by @nreinicke in #1828
- Metadata: escape display name in email addresses by @robsdedude in #1832
- Fix rewriting workspace Cargo.toml in sdist by @messense in #1841
- Fix glob workspace members matching in sdist by @messense in #1846
- Add sdist tests for well-known downstream repositories by @messense in #1849
New Contributors
- @nreinicke made their first contribution in #1828
- @robsdedude made their first contribution in #1832
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's Changed
- CI: Add Python 3.12 test jobs by @messense in #1276
- Use external
uniffi-bindgen
if no root package is configured by @badboy in #1797 - Stop testing Python 3.7 on CI by @messense in #1799
- Add trusted publishing section to the user guide by @Phil-V in #1800
- Fix wheel filename for GraalPy by @msimacek in #1802
- Pytest skeleton in mixed template by @nils-werner in #1807
- Keep trailing newlines from templates by @nils-werner in #1808
- Bump rustix from 0.37.23 to 0.37.25 by @dependabot in #1809
- Auto detect Python 3.13 by @messense in #1810
- Fix missing
workspace.members
in sdist by @messense in #1811 - Don't set
MACOSX_DEPLOYMENT_TARGET
for editable builds by default by @messense in #1815
New Contributors
- @Phil-V made their first contribution in #1800
- @msimacek made their first contribution in #1802
- @nils-werner made their first contribution in #1807
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
- Upgrade cargo-zigbuild to 0.17.1 by @messense in #1740
- Bump rustls-webpki from 0.100.1 to 0.100.2 by @dependabot in #1743
- Upgrade cbindgen to 0.25.0 by @messense in #1747
- Add chardetng-py to Examples section by @john-parton in #1751
- Better cross-compilation interpreter error by @sauyon in #1754
- Refactor Cargo sdist generator to avoid rewriting local dependencies by @messense in #1741
- Ignore sdist output files when building sdist by @messense in #1756
- Use
python.exe
by default inbuild
command on Windows by @messense in #1757 - Bump sigstore/gh-action-sigstore-python from 1.2.3 to 2.0.1 by @dependabot in #1758
- Bump cargo-config2 from 0.1.8 to 0.1.9 by @dependabot in #1760
- Don't require
uniffi-bindgen
to be installed for uniffi bindings by @messense in #1762 - fixed python 3.7 compatibility by @mbway in #1764
- Pre commit by @mbway in #1763
- Added --pip-path argument to develop by @mitsuhiko in #1753
- Skip cargo fmt/deny on pre-commit.ci by @messense in #1765
- Disable user site when running
get_interpreter_metadata.py
by @messense in #1766 - Upgrade cargo-zigbuild and cargo-xwin by @messense in #1771
- Fix platform tag for graalpy by @timfel in #1773
- Always set minor version to 0 when major version >= 11 for macOS by @messense in #1778
- Make userguide the first badge by @konstin in #1779
- Don't panic when python interpreter cannot be executed on Windows by @messense in #1783
- Warn about incorrect version in
build-system.requires
by @konstin in #1793 - Release v1.3.0 by @messense in #1794
New Contributors
- @john-parton made their first contribution in #1751
- @sauyon made their first contribution in #1754
- @mbway made their first contribution in #1764
- @pre-commit-ci made their first contribution in #1770
Full Changelog: v1.2.3...v1.3.0
v1.2.3
What's Changed
- fix: preserve workspace inherited dependencies when building binary by @HerringtonDarkholme in #1739
New Contributors
- @HerringtonDarkholme made their first contribution in #1739
Full Changelog: v1.2.2...v1.2.3