mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 03:02:15 +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:
@@ -49,6 +49,8 @@ REQUIREMENTS = [
|
||||
|
||||
if sys.platform == 'win32':
|
||||
REQUIREMENTS.append('-e windows-installer')
|
||||
REQUIREMENTS.remove('-e certbot-apache')
|
||||
REQUIREMENTS.remove('-e certbot-compatibility-test')
|
||||
|
||||
VERSION_PATTERN = re.compile(r'^(\d+)\.(\d+).*$')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user