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

prerelease option breaks install in pyyaml #1359

Closed
tmorrell opened this issue Mar 7, 2022 · 2 comments
Closed

prerelease option breaks install in pyyaml #1359

tmorrell opened this issue Mar 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@tmorrell
Copy link
Contributor

tmorrell commented Mar 7, 2022

Package version (if known): v8

Describe the bug

I'm unable to lock packages and Install InvenioRDM because of the allow_prereleases = true option. Pyyaml has known issue with cython 3 yaml/pyyaml#601, which results in a AttributeError: cython_sources during package locking.

Steps to Reproduce

  1. invenio-cli init
  2. invenio-cli install
  3. Locking fails with AttributeError: cython_sources

Expected behavior

Packages lock and InvenioRDM install

Additional context

I'm running python 3.9 on a M1 mac installed via homebrew.

@tmorrell tmorrell added the bug Something isn't working label Mar 7, 2022
@fenekku
Copy link
Contributor

fenekku commented Mar 14, 2022

Just mentioning to narrow possibilities: on linux (ubuntu) with python 3.8 things are ok. So 3.9 / m1 mac are more probable cause.

@tmorrell
Copy link
Contributor Author

My best guess is this issue is related to the M1 and homebrew python. I've switched to the 3.9 universal2 python.org installer and package locking is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants