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
Remove deprecated environment functionality #6468
Conversation
Thanks! I purposefully kept it in for the next release for compatibility reasons. We can land it after the next release. |
I'm not sure about the ignored tests. Could you try converting them to use the |
Oh, and the whole "Cleanup" part from the hackmd I'm planning to do after the release so people have time to transition and fix their scripts until the next-next release. |
Actually I've converted them to use hides_all_envs_within_scope
It doesn't failed with use_env_import_after_hide
It doesn't output remove_overlay_keep_discard_overwritten_env
It doesn't failed with Oh, I forget update these ignored tests, updated it. |
@WindSoilder If you don't mind, I'll push some changes to your PR. I'd like to check the tests and also investigate the |
I went through the tests again because the The virtualenv tests are failing because |
To not break virtualenv since the overlay update is not merged yet
export env
command
Description
while reading https://hackmd.io/@nucore/r1zilyw6q to see what's the future about module environment, I sopt that most of thing are done.
And export env doesn't work with
source-env
command.So this pr is trying to help to remove
export env
command, and adjust relative tests and examplesAbout three more ignored tests:
hide-env
,overlay
,export-env
commandshide-env
,overlay
,export-env
commandsoverlay
withexport-env
issue itself, so I think it's ok to remove itThey are existing issue about the communication of
overlay
,export-env
andhide-env
commands, I think we can keep it ignored for now, and fix them in separate pr.But I think it's also ok to wait these relative issue to be fixed firstly.
Tests
Make sure you've done the following:
Make sure you've run and fixed any issues with these commands:
cargo fmt --all -- --check
to check standard code formatting (cargo fmt --all
applies these changes)cargo clippy --workspace --features=extra -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect
to check that you're using the standard code stylecargo test --workspace --features=extra
to check that all the tests pass