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

How to specify multiple PEP 508 markers using the != operator? #1211

Closed
2 tasks done
MarkKoz opened this issue Jul 6, 2019 · 2 comments
Closed
2 tasks done

How to specify multiple PEP 508 markers using the != operator? #1211

MarkKoz opened this issue Jul 6, 2019 · 2 comments

Comments

@MarkKoz
Copy link

MarkKoz commented Jul 6, 2019

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Question

For multiple platforms I know I can do something like

foo = [
    { version = "^1.0.0", platform = "a" },
    { version = "^1.0.0", platform = "b" }
]

But how can I specify != instead of == that Poetry uses? It's not feasible to manually write out all other platform besides the ones I want to ignore and the syntax above is cumbersome enough as is.

@sdispater
Copy link
Member

Specifying arbitrary environment markers, including negative ones, is supported in the 1.0.0 latest prerelease (see #1142). You can start using the prereleases is you want to have this feature

Copy link

github-actions bot commented Mar 3, 2024

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 Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants