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

Failing to install latest version with python 3.9.16 and pypi #10

Closed
jabesq opened this issue Jul 6, 2023 · 4 comments
Closed

Failing to install latest version with python 3.9.16 and pypi #10

jabesq opened this issue Jul 6, 2023 · 4 comments

Comments

@jabesq
Copy link

jabesq commented Jul 6, 2023

pip install rpds-py
Looking in indexes: https://pypi.org/simple
Collecting rpds-py
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: failed to parse manifest at `/private/var/folders/2x/lmlfhwrx449fvlxzyq5z8djr0000gn/T/pip-install-emrxykip/rpds-py_d9e40e1ca0f146599493c7411b8b98cf/Cargo.toml`

      Caused by:
        feature `edition2021` is required

        this Cargo does not support nightly features, but if you
        switch to nightly channel you can add
        `cargo-features = ["edition2021"]` to enable this feature
      💥 maturin failed
        Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
        Caused by: `cargo metadata` exited with an error:
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/private/var/folders/2x/lmlfhwrx449fvlxzyq5z8djr0000gn/T/pip-modern-metadata-k42g9uso', '--interpreter', '/Users/hugodupras/.pyenv/versions/3.9.16/bin/python3.9']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /private/var/folders/2x/lmlfhwrx449fvlxzyq5z8djr0000gn/T/pip-modern-metadata-k42g9uso --interpreter /Users/hugodupras/.pyenv/versions/3.9.16/bin/python3.9`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

No problem with python3.10 where it find the correct wheel on pypi

I'm on MacOS 13.4.1 x86

Julian added a commit that referenced this issue Jul 6, 2023
@Julian
Copy link
Member

Julian commented Jul 6, 2023

I think this will be fixed by the commit I just pushed (in v0.8.8). Will leave it open for a few minutes and close when we see if the wheels that are pushed now include macOS 3.9 ones.

Thanks for the issue.

@Julian
Copy link
Member

Julian commented Jul 6, 2023

OK indeed now there are cp39 wheels pushed for v0.8.8 so I think this should be fixed. Lemme know if not.

@jabesq
Copy link
Author

jabesq commented Jul 6, 2023

Yes, it is now fixed, thanks

@cesarFrias
Copy link

I had the same error with python 3.8.3.
The problem was solved when I upgraded to python3.10

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

No branches or pull requests

3 participants