mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
Fix python-augeas failure on Windows (v2) (#8951)
This PR is a new approach for fixing #8732 based on the discussions occurred in the first PR #8877. This PR upgrades python-augeas to the latest version, and avoids tests failure of Windows because of this upgrade. To do so it leverages the [tox multi-platform feature](https://tox.readthedocs.io/en/latest/example/platform.html) and modifications to `tools/venv.py` in order to not install and not test `certbot-apache` on Windows. * Unpin python-augeas and upgrade current pinnings * Do not install certbot-apache in Windows dev environments * Introduce tox specific win packages + remove certbot compatibility on windows * Add libaugeas to sphinx build * Redefine lint and mypy targets * Keep the lint and mypy environments
This commit is contained in:
@@ -73,12 +73,6 @@ pip = "20.2.4"
|
||||
# here in addition to certbot/setup.py because otherwise the pre-release
|
||||
# version of poetry will not be installed.
|
||||
poetry = ">=1.2.0a1"
|
||||
# We were originally pinning back python-augeas for certbot-auto because we
|
||||
# found the way older versions of the library linked to Augeas were more
|
||||
# reliable. That's no longer a concern, however, we continue to pin back the
|
||||
# library for now because it causes Certbot tests on Windows to fail. See
|
||||
# https://github.com/certbot/certbot/issues/8732.
|
||||
python-augeas = "0.5.0"
|
||||
# Because some parts of Certbot documentation are generated from zope.interfaces,
|
||||
# we need the Sphinx plugin repoze.sphinx.autointerface. This plugin is not
|
||||
# currently compatible with Sphinx>=4 though so we're pinning an older version
|
||||
|
||||
Reference in New Issue
Block a user