Support "standard" square bracket syntax for package extras
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
Issue
It would be great if poetry would support the “standard” square bracket syntax to specify package extras (i.e. somepackage[someextra]
).
I’m aware of the -E
option but it’s a departure from what other tools are doing and also it’s not immediately clear how to specify multiple different extras for multiple packages.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:18
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Support "standard" square bracket syntax for package extras
Issue. It would be great if poetry would support the "standard" square bracket syntax to specify package extras (i.e. somepackage[someextra] ) ...
Read more >How do I specify "extra" / bracket dependencies in a pyproject ...
This syntax may work for you! [tool.poetry.dependencies] python = "3.7.10" apache-beam = " ...
Read more >Bash Brackets Quick Reference - DEV Community
Bash has lots of brackets and this is a cheat sheet to help you remember which ones to use. Tagged with bash, shell,...
Read more >Entry points specification - Python Packaging User Guide
The entry point file format was originally developed to allow packages built ... If extras are used, they are a comma-separated list inside...
Read more >Property accessors - JavaScript - MDN Web Docs - Mozilla
There are two ways to access properties: dot notation and bracket notation. Dot notation. In the object.propertyName syntax, the propertyName ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone stumbling on this with the same issue as me:
poetry add apache-beam[gcp]
errors withzsh: no matches found: apache-beam[gcp]
poetry add "apache-beam[gcp]"
fixed thisIf you try:
You’ll get: