Make uncomplicated modules private (#7528)

* Create _internal package for Certbot's non-public modules

* Move account.py to _internal

* Move auth_handler.py to _internal

* Move cert_manager.py to _internal

* Move client.py to _internal

* Move error_handler.py to _internal

* Move lock.py to _internal

* Move main.py to _internal

* Move notify.py to _internal

* Move ocsp.py to _internal

* Move renewal.py to _internal

* Move reporter.py to _internal

* Move storage.py to _internal

* Move updater.py to _internal

* update apache and nginx oldest requirements

* Keep the lock file as certbot.lock

* nginx oldest tests still need to rely on newer certbot

* python doesn't have good dependency resolution, so specify the transitive dependency

* update required minimum versions in nginx setup.py
This commit is contained in:
ohemorange
2019-11-08 16:19:21 -08:00
committed by Brad Warren
parent 0a48d7bf7e
commit 96e02d614b
56 changed files with 533 additions and 582 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import serialization, hashes # type: ignore
from cryptography.hazmat.primitives.asymmetric import rsa
from certbot import lock
from certbot._internal import lock
from certbot import util
from certbot.compat import filesystem