All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning (for the cli, not for the crate).
- The setup.py installer for bootstrapping maturin now checks for cargo instead of failing with a complex error message.
- Upload errors now show the filesize
- maturin's metadata now lists a requirement of python3.5 or later to install.
0.7.6 - 2019-09-28
- Only
--features
,--no-default-features
and--all-features
in--cargo-extra-args
are passed tocargo metadata
when determining the bindings, fixing problems in the previous release with arguments supported bycargo build
but bycargo metadata
.
0.7.5 - 2019-09-24
- Fix clippy error to fix publishing from ci
0.7.4 - 2019-09-22
- Fix tests
0.7.3 - 2019-09-22
- Fix building when the bindings crate is behind a feature flag
0.7.3 - 2019-09-22
- The manylinux docker container doesn't contain musl anymore. If you're targeting musl, there's no need to use manylinux.
0.7.2 - 2019-09-05
- Allow cross compilation with cffi and a python interpreter with the host target
- Renamed a folder to maturin so PEP 517 backend works again.
0.7.1 - 2019-08-31
maturin build --interpreter
/maturin publish --interpreter
builds only a source distribution.
0.7.0 - 2019-08-30
With this release, the name of this project changes from pyo3-pack to maturin.
- Mixed rust/python layout
- Added PEP 517 support
- Added a
maturin sdist
command as workaround for pypa/pip#6041 - Support settings all applicable fields from the python core metadata specification in Cargo.toml
- Support for FreeBSD by kxepal #173
- Downgraded to structopt 0.2.16 to avoid the yanked 0.2.17
- Basic pypy support by ijl #105
- Python 2 support
- The custom progress bar was removed and cargo's output is shown instead
- Support for conda environments on windows by paddyhoran #52
- maturin will generate a header for cffi crates using cbinding, which means you don't need a
build.rs
anymore. The option to provide your own header file using abuild.rs
still exists. - The konstin2/maturin docker image makes it easy to build fully manylinux compliant wheels. See the readme for usage details.
- Support for manylinux2010 by ijl #70
- The
--manxlinux=[1|1-unchecked|2010|2010-unchecked|off]
option allows to build for manylinux1 and manylinux2010, both with audithweel (1
or2010
) and without (1-unchecked
or2010-unchecked
), but also for the native linux tag withoff
.
- The
--skip-auditwheel
flag has been deprecated in favor of--manxlinux=[1|1-unchecked|2010|2010-unchecked|off]
. - Switched to rustls. This means the upload feature can be used from the docker container and builds of maturin itself are manylinux compliant when compiled with the musl target.
0.4.2 - 2018-12-15
Fixup release because the appveyor failed to release artifacts for windows for 0.4.1.
0.4.1 - 2018-12-15
- You can now specify trove classifiers in your Cargo.toml with
package.metadata.maturin.classifier
. Implemented by ijl in #48. Example:
[package.metadata.maturin]
classifier = ["Programming Language :: Python"]
0.4.0 - 2018-11-20
- publish defaults to release and strip, unless
--debug
or--no-strip
are given.
- New ci script based on hyperfine which also builds debian packages.
0.3.10 - 2018-11-16
- Fix rust-cpython detection and compilation
- Update reqwest to 0.9.4 which has seanmonstar/reqwest#374 fixed
- Pin reqwest to 0.9.2 to work around seanmonstar/reqwest#374
- Added cargo lock to project #9
With deflate and the strip options, the wheels get about 25x smaller:
wheel | baseline | deflate | strip + deflate |
---|---|---|---|
get_fourtytwo-2.0.1-cp36-cp36m-manylinux1_x86_64.whl | 2,8M | 771K | 102K |
hello_world-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 3,9M | 1,1M | 180K |
points-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 2,8M | 752K | 85K |
--strip
by ijl #7
- Renamed
--bindings-crate
to--bindings
- Use deflate compression for zips by ijl #6
--target
is now actually used for the wheel compatibility tag
0.3.5 - 2018-09-20
- Upgraded to reqwest 0.9
- "Broken Pipe" with musl builds (through the reqwest upgrade)
0.3.4 - 2018-09-18
- A
--target
option which behaves like cargo option of the same name
- Musl and auditwheel compliance: Using the new
musl
feature combined with the musl target, you can build completely static binaries. Thepassword-storage
, which enables keyring integration, is now disabled by default. The Pypi packages are now statically linked with musl so that they are audtiwheel compliant. - Replaced
--debug
with--release
. All builds are now debug by default
0.3.3 - 2018-09-17
- Builds for i686 linux and mac
- Builds for maturin as wheel
- Usage with stable
- Wrong tags in WHEEL file on non-linux platforms
- Uploading on windows
0.3.1 - 2017-09-14
- Windows compilation
0.3.0 - 2017-09-14
- Packaging binaries
- Published on pypi. You can now
pip install maturin
- A Dockerfile based on manylinux1
- Travis ci setup builds all types of wheels for linux and mac
--no-default-features --features auditwheel
creates a manylinux compliant binary for maturin
- Replaced elfkit with goblin
0.2.0 - 2018-09-03
- Cffi support
- A
develop
subcommand - A tox example
- Show a progress bar for cargo's compile progress
- Initial Release