mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
Update Lexicon dependency in dnsimple (#7008)
* Add CERTBOT_OLDEST conditional to setup.py. * Unset CERTBOT_OLDEST in release script. * import os
This commit is contained in:
committed by
Adrien Ferrand
parent
d1330efe41
commit
dcf89c9396
@@ -1,3 +1,4 @@
|
|||||||
|
import os
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
@@ -9,12 +10,23 @@ version = '0.34.0.dev0'
|
|||||||
install_requires = [
|
install_requires = [
|
||||||
'acme>=0.31.0',
|
'acme>=0.31.0',
|
||||||
'certbot>=0.34.0.dev0',
|
'certbot>=0.34.0.dev0',
|
||||||
'dns-lexicon>=2.2.1', # Support for >1 TXT record per name
|
|
||||||
'mock',
|
'mock',
|
||||||
'setuptools',
|
'setuptools',
|
||||||
'zope.interface',
|
'zope.interface',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# This package normally depends on dns-lexicon>=3.2.1 to address the
|
||||||
|
# problem described in https://github.com/AnalogJ/lexicon/issues/387,
|
||||||
|
# however, the fix there has been backported to older versions of
|
||||||
|
# lexicon found in various Linux distros. This conditional helps us test
|
||||||
|
# that we've maintained compatibility with these versions of lexicon
|
||||||
|
# which allows us to potentially upgrade our packages in these distros
|
||||||
|
# as necessary.
|
||||||
|
if os.environ.get('CERTBOT_OLDEST') == '1':
|
||||||
|
install_requires.append('dns-lexicon>=2.2.1')
|
||||||
|
else:
|
||||||
|
install_requires.append('dns-lexicon>=3.2.1')
|
||||||
|
|
||||||
docs_extras = [
|
docs_extras = [
|
||||||
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
||||||
'sphinx_rtd_theme',
|
'sphinx_rtd_theme',
|
||||||
|
|||||||
@@ -109,6 +109,9 @@ SetVersion() {
|
|||||||
|
|
||||||
SetVersion "$version"
|
SetVersion "$version"
|
||||||
|
|
||||||
|
# Unset CERTBOT_OLDEST to prevent wheels from being built improperly due to
|
||||||
|
# conditionals like the one found in certbot-dns-dnsimple's setup.py file.
|
||||||
|
unset CERTBOT_OLDEST
|
||||||
echo "Preparing sdists and wheels"
|
echo "Preparing sdists and wheels"
|
||||||
for pkg_dir in . $SUBPKGS_NO_CERTBOT
|
for pkg_dir in . $SUBPKGS_NO_CERTBOT
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user