From af0b8115b33a50ed15e97a9220d247d7cfefc072 Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Sat, 14 Sep 2019 17:30:43 +0200 Subject: [PATCH] Release v0.4.0 --- CHANGELOG.md | 18 +++++++++++++++++- Cargo.lock | 6 +++--- Cargo.toml | 2 +- ci/travis/deploy.sh | 2 +- derive/Cargo.toml | 2 +- setup.cfg | 2 +- 6 files changed, 24 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e359c1..998b096 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -[Unreleased]: https://github.com/fastobo/fastobo-py/compare/v0.3.3...HEAD +[Unreleased]: https://github.com/fastobo/fastobo-py/compare/v0.4.0...HEAD + + +## [v0.4.0] - 2019-09-14 + +[v0.4.0]: https://github.com/fastobo/fastobo/compare/v0.3.3...v0.4.0 + +### Added +- `__init__` implementation for `fastobo.term.DefClause` +- `__init__` implementation for `fastobo.syn.Synonym` +- Precompiled wheels for PyPy3 on OSX and Linux. + +### Fixed +- `XrefList.__repr__` implementation entering infinite recursion. +- Derive macros generating weird error messages for some `TypeError`s. +- Enabled `extension-module` feature of `pyo3` to allow static linking to Python interpreter. +- Inconsistent error-chaining in Python causing issues with `try/except` blocks. ## [v0.3.3] - 2019-09-10 diff --git a/Cargo.lock b/Cargo.lock index 147eeff..4a4fb9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -196,12 +196,12 @@ dependencies = [ [[package]] name = "fastobo-py" -version = "0.3.3" +version = "0.4.0" dependencies = [ "built 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "fastobo 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "fastobo-graphs 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "fastobo-py-derive-internal 0.3.3", + "fastobo-py-derive-internal 0.4.0", "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)", "opaque_typedef 0.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "opaque_typedef_macros 0.0.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -213,7 +213,7 @@ dependencies = [ [[package]] name = "fastobo-py-derive-internal" -version = "0.3.3" +version = "0.4.0" dependencies = [ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 751ba6b..7e11686 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["derive"] [package] name = "fastobo-py" -version = "0.3.3" +version = "0.4.0" authors = ["Martin Larralde "] publish = false build = "src/build.rs" diff --git a/ci/travis/deploy.sh b/ci/travis/deploy.sh index df8794c..6e8922a 100755 --- a/ci/travis/deploy.sh +++ b/ci/travis/deploy.sh @@ -16,4 +16,4 @@ chandler push --github="$TRAVIS_REPO_SLUG" --changelog="CHANGELOG.md" # --- Deploy to PyPI --------------------------------------------------------- log Deploying to PyPI -twine upload --skip-existing dist/*.whl dist/*.tar.gz +python3 -m twine upload --skip-existing dist/*.whl dist/*.tar.gz diff --git a/derive/Cargo.toml b/derive/Cargo.toml index b9c9866..301f447 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fastobo-py-derive-internal" -version = "0.3.3" +version = "0.4.0" authors = ["Martin Larralde "] edition = "2018" publish = false diff --git a/setup.cfg b/setup.cfg index 4e77c8c..5fbe9fb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = fastobo -version = 0.3.3 +version = 0.4.0 author = Martin Larralde author-email = martin.larralde@ens-paris-saclay.fr home-page = https://github.com/fastobo/fastobo-py