-
Notifications
You must be signed in to change notification settings - Fork 537
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
Update virtualenv to 20.0.3 #13481
Update virtualenv to 20.0.3 #13481
Conversation
I tried to investigate but couldn't figure out what the issue here is for now. We're running into
issues. I tried to explicitly make use of diff --git a/.travis.yml b/.travis.yml
index 6f88d3cdf5..d3348ba737 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -62,7 +62,7 @@ install:
- nvm deactivate
- nvm install 8
- nvm use 8
- - pip install --no-deps -r requirements/travis_base.txt
+ - python -m pip install --no-deps -r requirements/travis_base.txt
before_script:
- mysql --version
diff --git a/tox.ini b/tox.ini
index 6a2b2d8e59..8b1e9ffc83 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,39 +12,39 @@ whitelist_externals =
make
npm
bash
- pytest
+ python
[testenv:es]
commands =
make install_python_test_dependencies
- pytest -m "es_tests and not needs_locales_compilation and not static_assets" -v src/olympia/ {posargs}
+ python -m pytest -m "es_tests and not needs_locales_compilation and not static_assets" -v src/olympia/ {posargs}
[testenv:addons-versions-files-ratings]
commands =
make install_python_test_dependencies
- pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/addons/ src/olympia/versions/ src/olympia/files/ src/olympia/ratings/ {posargs}
+ python -m pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/addons/ src/olympia/versions/ src/olympia/files/ src/olympia/ratings/ {posargs}
[testenv:devhub]
commands =
make install_python_test_dependencies install_node_dependencies
- pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/devhub/ {posargs}
+ python -m pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/devhub/ {posargs}
[testenv:reviewers-and-zadmin]
commands =
make install_python_test_dependencies
- pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/reviewers/ src/olympia/zadmin/ {posargs}
+ python -m pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/reviewers/ src/olympia/zadmin/ {posargs}
[testenv:amo-lib-locales-and-signing]
commands =
make install_python_test_dependencies install_node_dependencies
- pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/amo/ src/olympia/lib/ src/olympia/signing {posargs}
+ python -m pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/amo/ src/olympia/lib/ src/olympia/signing {posargs}
bash {toxinidir}/locale/compile-mo.sh {toxinidir}/locale/
- pytest -n 2 -m 'needs_locales_compilation' -v src/olympia/ {posargs}
+ python -m pytest -n 2 -m 'needs_locales_compilation' -v src/olympia/ {posargs}
[testenv:main]
commands =
make install_python_test_dependencies install_node_dependencies
- pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/ \
+ python -m pytest -n 2 -m 'not es_tests and not needs_locales_compilation and not static_assets' -v src/olympia/ \
--ignore src/olympia/addons/ \
--ignore src/olympia/devhub/ \
--ignore src/olympia/files/ \
@@ -61,7 +61,7 @@ commands =
[testenv:assets]
commands =
make update_deps
- pytest -m "static_assets" -v src/olympia/ {posargs}
+ python -m pytest -m "static_assets" -v src/olympia/ {posargs}
[testenv:codestyle]
recreate = True
@@ -71,5 +71,5 @@ commands =
[testenv:docs]
commands =
- pip install --no-deps -r requirements/docs.txt
+ python -m pip install --no-deps -r requirements/docs.txt
make docs tox-dev/tox#1516 mentions this but related issues should have been fixed with virtualenv 20.0.3 so this seems to be something else. I wonder if we're doing something weird but I couldn't see anything out of place for now. |
Closing in favor of #13579 |
This PR updates virtualenv from 16.7.9 to 20.0.3.
Changelog
20.0.3
20.0.2
20.0.1
20.0.0b2
20.0.0b1
Links