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

The %use magic doesn't allow to specify version range. #110

Closed
alshan opened this issue Nov 13, 2020 · 2 comments
Closed

The %use magic doesn't allow to specify version range. #110

alshan opened this issue Nov 13, 2020 · 2 comments
Labels
bug Installation and functionality issues

Comments

@alshan
Copy link
Contributor

alshan commented Nov 13, 2020

For example, this input:

%use lets-plot(api=[1.0,))

results in a failure:

Failed to process '%use lets-plot(api=[1.0,))' command. Unnamed argument is allowed only if library has a single property

See Version Range Specification.

@alshan alshan changed the title The %use magic doesn't allow to specify a version range. The %use magic doesn't allow to specify version range. Nov 13, 2020
@ileasile
Copy link
Contributor

It seems that this comma is interpreted as arguments separator. Maybe we should enforce user to use quotes in such cases?

@ileasile
Copy link
Contributor

ileasile commented Nov 16, 2020

Please use the following syntax

%use lets-plot(api="[1.0,)")

with the new dev version of kernel. Previous syntax (without quotes) is still available for simple cases.

@ileasile ileasile added the bug Installation and functionality issues label Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Installation and functionality issues
Projects
None yet
Development

No branches or pull requests

2 participants