Skip to content

Commit 53bb64b

Browse files
authored
Merge pull request #1625 from messense/release-1.0
Release 1.0.0
2 parents c2c9e70 + 2bc6c26 commit 53bb64b

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["konstin <[email protected]>", "messense <[email protected]>"]
33
name = "maturin"
4-
version = "0.15.3"
4+
version = "1.0.0"
55
description = "Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages"
66
exclude = ["test-crates/**/*", "sysconfig/*", "test-data/*", "ci/*", "tests/*", "guide/*", ".github/*"]
77
homepage = "https://github.com/pyo3/maturin"

Changelog.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.0.0] - 2023-05-23
11+
1012
* Add support for multiple `--config-settings` in PEP517 backend in [#1624](https://github.com/PyO3/maturin/pull/1624)
13+
* Remove deprecated `--universal2` cli option in [#1620](https://github.com/PyO3/maturin/pull/1620),
14+
use `--target universal2-apple-darwin` instead.
1115

1216
## [0.15.3] - 2023-05-20
1317

@@ -869,7 +873,8 @@ points-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 2,8M | 752K | 85K
869873

870874
* Initial Release
871875

872-
[Unreleased]: https://github.com/pyo3/maturin/compare/v0.15.3...HEAD
876+
[Unreleased]: https://github.com/pyo3/maturin/compare/v1.0.0...HEAD
877+
[1.0.0]: https://github.com/pyo3/maturin/compare/v0.15.3...v1.0.0
873878
[0.15.3]: https://github.com/pyo3/maturin/compare/v0.15.2...v0.15.3
874879
[0.15.2]: https://github.com/pyo3/maturin/compare/v0.15.1...v0.15.2
875880
[0.15.1]: https://github.com/pyo3/maturin/compare/v0.15.0...v0.15.1

src/pyproject_toml.rs

+4-6
Original file line numberDiff line numberDiff line change
@@ -311,17 +311,15 @@ impl PyProjectToml {
311311
.iter()
312312
.find(|x| x.name == maturin)
313313
{
314-
// Note: Update this once 1.0 is out
315-
assert_eq!(env!("CARGO_PKG_VERSION_MAJOR"), "0");
316-
let current_minor: usize = env!("CARGO_PKG_VERSION_MINOR").parse().unwrap();
314+
let current_major: usize = env!("CARGO_PKG_VERSION_MAJOR").parse().unwrap();
317315
if requires_maturin.version_or_url.is_none() {
318316
eprintln!(
319317
"⚠️ Warning: Please use {maturin} in pyproject.toml with a version constraint, \
320-
e.g. `requires = [\"{maturin}>=0.{current},<0.{next}\"]`. \
318+
e.g. `requires = [\"{maturin}>={current}.0,<{next}.0\"]`. \
321319
This will become an error.",
322320
maturin = maturin,
323-
current = current_minor,
324-
next = current_minor + 1,
321+
current = current_major,
322+
next = current_major + 1,
325323
);
326324
return false;
327325
}

src/templates/pyproject.toml.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["maturin>={{ version_major }}.{{ version_minor }},<{{ version_major }}.{{ version_minor + 1 }}"]
2+
requires = ["maturin>={{ version_major }}.{{ version_minor }},<{{ version_major + 1 }}.0"]
33
build-backend = "maturin"
44

55
[project]

0 commit comments

Comments
 (0)