Created
May 19, 2020 14:14
-
-
Save pradyunsg/97fda3edeb04f67533a9df9df3d50706 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function commands_to_test() { | |
| pip install oslo.utils==1.4.0 | |
| } | |
| if [ "$VIRTUAL_ENV" ]; then | |
| echo "Please run 'deactivate' and try again." | |
| exit 1 | |
| fi | |
| # Make a virtualenv and use that. | |
| python -m venv old_resolver_environment | |
| python -m venv new_resolver_environment | |
| echo "======================== Old Resolver ========================" | |
| source ./old_resolver_environment/bin/activate | |
| commands_to_test | |
| deactivate | |
| echo "======================== New Resolver ========================" | |
| source ./new_resolver_environment/bin/activate | |
| export PIP_UNSTABLE_FEATURE=resolver | |
| commands_to_test | |
| deactivate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ "$VIRTUAL_ENV" ]; then | |
| echo "Please run 'deactivate' and try again." | |
| exit 1 | |
| fi | |
| # Make a virtualenv and use that. | |
| python -m venv test_environment | |
| source ./test_environment/bin/activate | |
| # NOTE: Replace this section with appropriate commands. | |
| pip install oslo.utils==1.4.0 | |
| # Show details about the environment. | |
| pip list | |
| pip check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment