mirror of
https://github.com/certbot/certbot.git
synced 2026-03-15 07:02:13 -04:00
In #7019, a solution has been integrated to fix oldest tests execution in the corner cases described in #7014. However this solution was not very satisfactory, as it consists in making a --force-reinstall for all requirements on each oldest tests (apache, certbot, acme, each dns plugin ...). As a consequence, the overall execution time of these tests increased from 5 min to 10 min. In this PR I propose a more elegant solution: instead of reinstalling all dependencies, we force reinstall only the requirements themselves describe in the relevant oldest-requirements.txt files. This way only the packages that are potentially ignored by pip because they exists locally (acme, certbot, ...) are reinstalled. The result is the same than in #7019 (we are sure that all packages are really installed by pip), but the very limited number of force reinstalled package here make the impact on execution time negligible. As a consequence, I revert back also the tox environments to execute all oldest tests together. A successful execution of oldest tests using this PR material in the context of a point release can be seen here: https://travis-ci.org/adferrand/certbot/builds/527513101 |
||
|---|---|---|
| .. | ||
| _changelog_top.txt | ||
| _release.sh | ||
| _venv_common.py | ||
| deactivate.py | ||
| deps.sh | ||
| dev_constraints.txt | ||
| docker-warning.sh | ||
| eff-pubkey.pem | ||
| half-sign.c | ||
| install_and_test.py | ||
| merge_requirements.py | ||
| offline-sigrequest.sh | ||
| oldest_constraints.txt | ||
| pip_install.py | ||
| pip_install_editable.py | ||
| readlink.py | ||
| release.sh | ||
| simple_http_server.py | ||
| sphinx-quickstart.sh | ||
| strip_hashes.py | ||
| venv.py | ||
| venv3.py | ||