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

Different extras on different platforms fails #8225

Closed
NeilGirdhar opened this issue Jul 23, 2023 · 3 comments
Closed

Different extras on different platforms fails #8225

NeilGirdhar opened this issue Jul 23, 2023 · 3 comments
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged

Comments

@NeilGirdhar
Copy link
Contributor

NeilGirdhar commented Jul 23, 2023

This is what I'm doing:

[tool.poetry.dependencies]
jax = [
    {version = '>=0.4.13', extras = ['cuda'], platform = 'linux', source="jax_pep503"},
    {version = '>=0.4.13', platform = 'darwin', source="PyPI"}  # Fails all the same if the same source is given, which does contain non-cuda wheels.
]
jaxlib = [
    {version = '>=0.4.13', platform = 'linux', source="jax_pep503"},
    {version = '>=0.4.13', platform = 'darwin', source="PyPI"}  # Fails all the same if the same source is given, which does contain non-cuda wheels.
]

[[tool.poetry.source]]
name = "PyPI"
priority = "primary"

[[tool.poetry.source]]
name = "jax_pep503"
url = "https://jorenham.github.io/jax_pep503/"
priority = "explicit"

But Poetry insists on trying to install the cuda extra on Darwin. Is there any way to make this work?

@NeilGirdhar NeilGirdhar added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jul 23, 2023
@dimbleby
Copy link
Contributor

dimbleby commented Jul 23, 2023

please respect the issue template.

this looks duplicate #6956 (which itself is likely a duplicate of others). please close

@NeilGirdhar
Copy link
Contributor Author

NeilGirdhar commented Jul 23, 2023

@dimbleby Hello. Sorry for missing the template. Thank you for linking. The other issue is close enough, so I'll close.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants