-
Is there any way to specify dependencies for certain variations of a package like eg. 'influxdb-client[ciso]' instead of influxdb-client? If I just try it by typing the name of the package like influxdb-client[ciso] when aked by poetry init it cant find this package?
or
|
Beta Was this translation helpful? Give feedback.
Answered by
DeadNews
Sep 8, 2022
Replies: 1 comment 2 replies
-
❯ poetry add 'influxdb-client[ciso]'
Using version ^1.32.0 for influxdb-client
Updating dependencies
Resolving dependencies... (10.0s)
Writing lock file
Package operations: 4 installs, 1 update, 0 removals
• Updating six (1.16.0 /home/name/.cache/pypoetry/artifacts/89/b2/f8/fd92b6d5daa0f8889429b2fc67ec21eedc5cae5d531ee2853828ced6c7/six-1.16.0-py2.py3-none-any.whl -> 1.16.0)
• Installing ciso8601 (2.2.0)
• Installing python-dateutil (2.8.2)
• Installing reactivex (4.0.4)
• Installing influxdb-client (1.32.0) [tool.poetry.dependencies]
python = "^3.9"
influxdb-client = {extras = ["ciso"], version = "^1.32.0"} Btw, in your second example, there is no closing quote. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
shyney7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Btw, in your second example, there is no closing quote.