Closed meatballs closed 5 years ago
Hey @meatballs -- sorry for the pain. My base python is still 3.6 and I think that's why I'm not seeing some of those errors.
You can silence the DeprecationWarning
s using
import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)
In your xonshrc
if upgrading packages doesn't work. I'll try to take a look tomorrow at what's causing the error with env_name.
The warning message from conda is probably here to stay for now. Need to take some time to fix their xonsh support...
No need to apologise for anything at all!
It's definitely a 3.7 issue. I had no problem on 3.6.
I have a fix incoming for the unsilenceable warnings -- the missing {env_name}
is actually a xonsh + py37 issue that I've reported as xonsh/xonsh#3029
Hey @meatballs -- want to try out the fix in #45 and see if it helps?
Yep - that's got rid of the conda.install deprecation warning for me!
Awesome, I'll go ahead and merge that in. Also, the missing env-name has been fixed on xonsh master if you want to pull that down
Env name all sorted - and now released!!
This one's probably done as much as it can be for now.
I've upgraded everything I can think of but I still get some deprecation warnings the first time I attempt to activate an environment:
and nothing in my prompt where {env_name} is used.
If I deactivate and activate again, the warnings no longer appear, but I still don't see the env name in the prompt.
Here's my xonfig: