certbot/tools
Brad Warren cc344bfd1e
Break lockstep between our packages (#5655)
Fixes #5490.

There's a lot of possibilities discussed in #5490, but I'll try and explain what I actually did here as succinctly as I can. Unfortunately, there's a fair bit to explain. My goal was to break lockstep and give us tests to ensure the minimum specified versions are correct without taking the time now to refactor our whole test setup.

To handle specifying each package's minimum acme/certbot version, I added a requirements file to each package. This won't actually be included in the shipped package (because it's not in the MANIFEST).

After creating these files and modifying tools/pip_install.sh to use them, I created a separate tox env for most packages (I kept the DNS plugins together for convenience). The reason this is necessary is because we currently use a single environment for each plugin, but if we used this approach for these tests we'd hit issues due to different installed plugins requiring different versions of acme/certbot. There's a lot more discussion about this in #5490 if you're interested in this piece. I unfortunately wasted a lot of time trying to remove the boilerplate this approach causes in tox.ini, but to do this I think we need negations described at complex factor conditions which hasn't made it into a tox release yet.

The biggest missing piece here is how to make sure the oldest versions that are currently pinned to master get updated. Currently, they'll stay pinned that way without manual intervention and won't be properly testing the oldest version. I think we should solve this during the larger test/repo refactoring after the release because the tests are using the correct values now and I don't see a simple way around the problem.

Once this lands, I'm planning on updating the test-everything tests to do integration tests with the "oldest" versions here.

* break lockstep between packages

* Use per package requirements files

* add local oldest requirements files

* update tox.ini

* work with dev0 versions

* Install requirements in separate step.

* don't error when we don't have requirements

* install latest packages in editable mode

* Update .travis.yml

* Add reminder comments

* move dev to requirements

* request acme[dev]

* Update pip_install documentation
2018-03-05 09:50:19 -08:00
..
_venv_common.sh Use pipstrap to ensure pip works on older systems (#5216) 2017-11-03 10:59:56 -07:00
deactivate.py Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
deps.sh rename letshelp-letsencrypt 2016-04-13 17:42:19 -07:00
dev_constraints.txt reduce ipdb version (#5408) 2018-01-10 13:26:31 -08:00
docker-warning.sh add docker-warning script 2017-03-06 19:31:42 -08:00
eff-pubkey.pem Add pubkey to tree 2016-03-01 11:21:51 -08:00
half-sign.c Use SHA256 openssl signatures 2016-01-11 14:22:51 -08:00
install_and_test.sh Drop support for EOL Python 2.6 and 3.3 2018-02-16 16:14:01 -08:00
merge_requirements.py Pin dependencies in oldest tests (#5316) 2017-12-18 12:31:36 -08:00
offline-sigrequest.sh Misc release script fixes 2016-02-10 16:35:14 -08:00
oldest_constraints.txt Pin dependencies in oldest tests (#5316) 2017-12-18 12:31:36 -08:00
pip_install.sh Break lockstep between our packages (#5655) 2018-03-05 09:50:19 -08:00
pip_install_editable.sh Fix oldest tests (#4782) 2017-06-08 12:22:46 -07:00
pytest.sh Fix pytest on macOS in Travis (#5360) 2018-01-03 17:49:22 -08:00
readlink.py Remove dependency on git from pip_install.sh. (#4770) 2017-06-05 17:51:45 -07:00
release.sh Switch from nose to pytest (#5282) 2017-12-01 10:59:55 -08:00
simple_http_server.py Have letsencrypt-auto do a real upgrade in leauto-upgrades option 2 (#5390) 2018-01-08 17:38:03 -08:00
sphinx-quickstart.sh Script to create docs directory for new packages. 2017-05-10 15:26:51 -07:00
venv.sh RFC 2136 DNS Authenticator (#4701) 2017-06-16 16:53:46 -07:00
venv3.sh LuaDNS DNS Authenticator (#4605) 2017-06-16 14:43:12 -07:00