pants version: `pants_version = "1.27.0.dev1"` Wit...
# general
c
pants version:
pants_version = "1.27.0.dev1"
With V2 engine, is there a way to config my pants.toml so that it will default
ipython
instead of
python
for Python
repl
? Also, I saw that there was a lot discussion about having a single
repl
goal V.S. one goal per implementation. However, with the version I am having right now, I still only see a single
repl
goal from
./pants gals
. Is this settled? Or still subject to change.
h
Yes, set this:
Copy code
[repl]
shell = "ipython"
I think it’s still open to discussion on whether we should have a single
repl
goal or have distinct goals like
python
,
ipython
,
ammonite
,
jshell
. For now, we went with using
--repl-shell
to control which one you use.
c
[repl]
shell = “ipython”
This would overwrite the
repl
shell for all languages, (we currently do both
python
and
go
)
h
Currently, V2 Repl is only implemented for Python, and
--repl-shell
doesn’t impact the V1 implementation of
repl
. So, it should be safe to configure this in
pants.toml
. But, this is good data for what the option should look like moving forward.
p
ipython shell is fairly important
h
Agreed. Ipython should be working, already, though!
👍 1
either use
./pants repl --shell=ipython
or set this in `pants.toml`:
Copy code
[repl]
shell = "ipython"
p
thanks @calm-artist-46894 has that in the private branch
❤️ 1
sorry pinging you during weekend.. not meant it
h
Awesome, glad to hear. Any other road blocks or issues you all have been experiencing? I’ll be putting out a new release on Monday which makes a nice performance improvement for the V2 implementation of
run
and
binary
so that we don’t re-resolve requirements when you only changed source files. That doesn’t yet apply to
repl
, but will be in the release after that.
p
@calm-artist-46894 is working on owning this pilot, and he is on another project (urgent)
👍 1
h
Cool. No rush to either of you! Crazy times all around 😞 let us know when things calm down and we’ll be happy to help!