Skip to content

PATH user environment variable is incorrectly transmitted to the IPython Console for macOS shortcuts #23711

@mrclary

Description

@mrclary

When launching Spyder via shortcut on macOS, the PATH environment variable passed to the IPython Console is incorrect.
This is due to

# Ensure that user environment variables are included, but don't
# override existing environ values
env_vars = get_user_environment_variables()
env_vars.update(os.environ)

introduced by #21065.

I think that the user environment variables should take precedence over the Spyder runtime environment variables. I do not know of any reason why it should not be this way.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions