Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow pip warnings in maturin develop command #732

Merged
merged 2 commits into from
Dec 6, 2021

Conversation

messense
Copy link
Member

@messense messense commented Dec 6, 2021

❯ PYTHONWARNINGS=default cargo run develop -m test-crates/pyo3-pure/Cargo.toml
    Finished dev [unoptimized + debuginfo] target(s) in 0.19s
     Running `target/debug/maturin develop -m test-crates/pyo3-pure/Cargo.toml`
πŸ”— Found pyo3 bindings with abi3 support for Python β‰₯ 3.6
🐍 Not using a specific python interpreter (With abi3, an interpreter is only required on windows)
πŸ“‘ Using build options bindings from pyproject.toml
/Users/messense/.pyenv/versions/3.10.0/envs/test-py310/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py:9: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.cmd import Command as DistutilsCommand
/Users/messense/.pyenv/versions/3.10.0/lib/python3.10/distutils/command/install.py:13: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
  from distutils.sysconfig import get_config_vars
Ignoring attrs: markers 'extra == "test"' don't match your environment
Ignoring boltons: markers 'sys_platform == "win32" and extra == "test"' don't match your environment
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/messense/.pyenv/versions/3.10.0/envs/test-py310/bin/python -m pip install --upgrade pip' command.
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
πŸ“– Found type stub file at pyo3_pure.pyi
πŸ“¦ Built wheel for abi3 Python β‰₯ 3.6 to /Users/messense/Projects/maturin/test-crates/pyo3-pure/target/wheels/pyo3_pure-2.1.2-cp36-abi3-macosx_11_0_arm64.whl
⚠️  Warning: pip raised a warning running ["-m", "pip", "--disable-pip-version-check", "install", "--force-reinstall", "/Users/messense/Projects/maturin/test-crates/pyo3-pure/target/wheels/pyo3_pure-2.1.2-cp36-abi3-macosx_11_0_arm64.whl"]:
/Users/messense/.pyenv/versions/3.10.0/envs/test-py310/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py:9: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.cmd import Command as DistutilsCommand
/Users/messense/.pyenv/versions/3.10.0/lib/python3.10/distutils/command/install.py:13: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
  from distutils.sysconfig import get_config_vars
πŸ›   Installed pyo3-pure-2.1.2

Fixes #731

@netlify
Copy link

netlify bot commented Dec 6, 2021

βœ”οΈ Deploy Preview for maturin-guide canceled.

πŸ”¨ Explore the source changes: 8ac85f1

πŸ” Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/61add0f083cb470007f6f57d

@messense messense merged commit 7819bce into PyO3:main Dec 6, 2021
@messense messense deleted the dev-pip-warning branch December 6, 2021 09:17
@inducer
Copy link

inducer commented Dec 6, 2021

Thanks!

wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request Jan 3, 2022
* Add support for repairing cross compiled linux wheels in [#754](PyO3/maturin#754)
* Add support for `manylinux_2_28` and `manylinux_2_31` in [#755](PyO3/maturin#755)
* Remove existing so file first in `maturin develop` command to avoid triggering SIGSEV in running process in [#760](PyO3/maturin#760)

* Fix docs for `new` and `init` commands in `maturin --help` in [#734](PyO3/maturin#734)
* Add support for x86_64 Haiku in [#735](PyO3/maturin#735)
* Fix undefined auditwheel policy panic in [#740](PyO3/maturin#740)
* Fix sdist upload for packages where the pkgname contains multiple underscores in [#741](PyO3/maturin#741)
* Implement auditwheel repair with patchelf in [#742](PyO3/maturin#742)
* Add `Cargo.lock` to sdist when `--locked` or `--frozen` specified in [#749](PyO3/maturin#749)
* Infer readme file if not specified in [#751](PyO3/maturin#751)

* Add a `maturin init` command as a companion to `maturin new` in [#719](PyO3/maturin#719)
* Don't package non-path-dep crates in sdist for workspaces in [#720](PyO3/maturin#720)
* Build release packages with `password-storage` feature in [#725](PyO3/maturin#725)
* Add support for x86_64 DargonFly BSD in [#727](PyO3/maturin#727)
* Add a Python import hook in [#729](PyO3/maturin#729)
* Allow pip warnings in `maturin develop` command in [#732](PyO3/maturin#732)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pip warnings from PYTHONWARNINGS=default cause maturin develop to fail
2 participants