maturin 1.7.2__tar.gz → 1.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of maturin might be problematic. Click here for more details.
- {maturin-1.7.2 → maturin-1.7.3}/Cargo.lock +1 -1
- {maturin-1.7.2 → maturin-1.7.3}/Cargo.toml +1 -1
- {maturin-1.7.2 → maturin-1.7.3}/Changelog.md +6 -1
- {maturin-1.7.2 → maturin-1.7.3}/PKG-INFO +1 -1
- {maturin-1.7.2 → maturin-1.7.3}/src/upload.rs +21 -8
- {maturin-1.7.2 → maturin-1.7.3}/.cirrus.yml +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/.codespellrc +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/.config/nextest.toml +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/.gitignore +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/.pre-commit-config.yaml +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/MANIFEST.in +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/README.md +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/clippy.toml +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/license-apache +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/license-mit +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/maturin/__init__.py +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/maturin/__main__.py +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/maturin.schema.json +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/netlify.toml +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/pyproject.toml +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/setup.py +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/audit.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/manylinux-policy.json +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/mod.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/musllinux-policy.json +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/musllinux.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/patchelf.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/platform_tag.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/policy.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/auditwheel/repair.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/build_context.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/build_options.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/cargo_toml.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/ci.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/compile.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/cross_compile.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/develop.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/generate_json_schema.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/lib.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/main.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/metadata.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/module_writer.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/new_project.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/project_layout.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/pyproject_toml.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/python_interpreter/config.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/python_interpreter/get_interpreter_metadata.py +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/python_interpreter/mod.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/source_distribution.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/target.rs +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/.gitignore.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/Cargo.toml.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/__init__.py.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/build.rs.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/example.udl.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/lib.rs.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/main.rs.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/pyproject.toml.j2 +0 -0
- {maturin-1.7.2 → maturin-1.7.3}/src/templates/test_all.py.j2 +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
authors = ["konstin <konstin@mailbox.org>", "messense <messense@icloud.com>"]
|
|
3
3
|
name = "maturin"
|
|
4
|
-
version = "1.7.
|
|
4
|
+
version = "1.7.3"
|
|
5
5
|
description = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages"
|
|
6
6
|
exclude = [
|
|
7
7
|
"test-crates/**/*",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.7.3]
|
|
4
|
+
|
|
5
|
+
* Fix upload regression to pypi/testpypi in [#2229](https://github.com/PyO3/maturin/pull/2229)
|
|
6
|
+
|
|
3
7
|
## [1.7.2]
|
|
4
8
|
|
|
5
9
|
* Fix cross compilation issues for armv7l, mips64 and ppc in [#2204](https://github.com/PyO3/maturin/pull/2204)
|
|
@@ -983,7 +987,8 @@ points-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 2,8M | 752K | 85K
|
|
|
983
987
|
|
|
984
988
|
* Initial Release
|
|
985
989
|
|
|
986
|
-
[Unreleased]: https://github.com/pyo3/maturin/compare/v1.7.
|
|
990
|
+
[Unreleased]: https://github.com/pyo3/maturin/compare/v1.7.3...HEAD
|
|
991
|
+
[1.7.3]: https://github.com/pyo3/maturin/compare/v1.7.2...v1.7.3
|
|
987
992
|
[1.7.2]: https://github.com/pyo3/maturin/compare/v1.7.1...v1.7.2
|
|
988
993
|
[1.7.1]: https://github.com/pyo3/maturin/compare/v1.7.0...v1.7.1
|
|
989
994
|
[1.7.0]: https://github.com/pyo3/maturin/compare/v1.6.0...v1.7.0
|
|
@@ -59,6 +59,7 @@ pub struct PublishOpt {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
impl PublishOpt {
|
|
62
|
+
// Here we omit trailing slashes from the repository URL, which we'll add back in `complete_registry`
|
|
62
63
|
const DEFAULT_REPOSITORY_URL: &'static str = "https://upload.pypi.org/legacy";
|
|
63
64
|
const TEST_REPOSITORY_URL: &'static str = "https://test.pypi.org/legacy";
|
|
64
65
|
|
|
@@ -317,20 +318,32 @@ fn complete_registry(opt: &PublishOpt) -> Result<Registry> {
|
|
|
317
318
|
let (registry_name, registry_url) = if let Some(repository_url) = opt.repository_url.as_deref()
|
|
318
319
|
{
|
|
319
320
|
// to normalize URLs by removing trailing slashes
|
|
320
|
-
|
|
321
|
-
PublishOpt::DEFAULT_REPOSITORY_URL =>
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
321
|
+
match repository_url.trim_end_matches('/') {
|
|
322
|
+
PublishOpt::DEFAULT_REPOSITORY_URL => (
|
|
323
|
+
Some("pypi"),
|
|
324
|
+
// Add trailing slash back
|
|
325
|
+
format!("{}/", PublishOpt::DEFAULT_REPOSITORY_URL),
|
|
326
|
+
),
|
|
327
|
+
PublishOpt::TEST_REPOSITORY_URL => (
|
|
328
|
+
Some("testpypi"),
|
|
329
|
+
// Add trailing slash back
|
|
330
|
+
format!("{}/", PublishOpt::TEST_REPOSITORY_URL),
|
|
331
|
+
),
|
|
332
|
+
_ => (None, repository_url.to_string()),
|
|
333
|
+
}
|
|
326
334
|
} else if let Some(url) = pypirc.get(&opt.repository, "repository") {
|
|
327
335
|
(Some(opt.repository.as_str()), url)
|
|
328
336
|
} else if opt.repository == "pypi" {
|
|
329
|
-
(
|
|
337
|
+
(
|
|
338
|
+
Some("pypi"),
|
|
339
|
+
// Add trailing slash back
|
|
340
|
+
format!("{}/", PublishOpt::DEFAULT_REPOSITORY_URL),
|
|
341
|
+
)
|
|
330
342
|
} else if opt.repository == "testpypi" {
|
|
331
343
|
(
|
|
332
344
|
Some("testpypi"),
|
|
333
|
-
|
|
345
|
+
// Add trailing slash back
|
|
346
|
+
format!("{}/", PublishOpt::TEST_REPOSITORY_URL),
|
|
334
347
|
)
|
|
335
348
|
} else {
|
|
336
349
|
bail!(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|