question about ipython req string in 1.25.rc0, thi...
# general
p
question about ipython req string in 1.25.rc0, this doesn’t seem to work .
Copy code
[ipython]
version: ["ipython==5.8.0 ; python_version<'3'","ipython==7.11.1 ; python_version>='3'"]
h
Was it working in the prior release?
p
working in repl section
h
Ah I see. So, the issue is that
version
expects only one string, not a list. Try this:
Copy code
[ipython]
version: ipython==5.8.0 ; python_version<'3'
extra_requirements: +["ipython==7.11.1 ; python_version>='3'"]
p
OH!
that looks weird… couldn’t guess that
h
./pants help ipython
will tell you what the type of every option is. Was there any error message?
👍 1
p
Copy code
11:45 $ ./pants help ipython
ipython:

No options available.
h
oh, that’s annoying.
./pants help-advanced ipython
p
ya .. hide and seek..
h
The idea of
help-advanced
is that it’s useful for the Pants admin, rather than the every day Pants user. Generally, we don’t expect anyone at your org to be needing to set
--ipython-version
other than you / any other admins, so we mark it as advanced for less noise for every day users
p
yup 😄
I usually read the source code..
😢 1
h
Hm, let us know if you have feedback on how to improve the
help
experience! We’ve been trying to improve things recently like changing the formatting and, soon, pointing to related option scopes that might be relevant.
p
I think we can have
help xx
as general entrance.
h
I think we can have help xx as general entrance.
What do you mean?