Skip to content

Commit

Permalink
Remove local-oldest-requirements files (certbot#8863)
Browse files Browse the repository at this point in the history
This is part of certbot#8787. I got a +1 from our packagers at major distros in certbot#8761.

* remove local-oldest-requirements files

* fix tests

* fix some oldest tests

* list packages on one line in tox.ini

* add changelog entry
  • Loading branch information
bmw authored Jun 1, 2021
1 parent 0177228 commit c372dd8
Show file tree
Hide file tree
Showing 40 changed files with 115 additions and 212 deletions.
6 changes: 2 additions & 4 deletions .azure-pipelines/templates/steps/sphinx-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ steps:
- bash: |
FINAL_STATUS=0
declare -a FAILED_BUILDS
python3 -m venv .venv
source .venv/bin/activate
python tools/pipstrap.py
tools/venv.py
source venv/bin/activate
for doc_path in */docs
do
echo ""
echo "##[group]Building $doc_path"
tools/pip_install_editable.py $doc_path/..[docs]
if ! sphinx-build -W --keep-going -b html $doc_path $doc_path/_build/html; then
FINAL_STATUS=1
FAILED_BUILDS[${#FAILED_BUILDS[@]}]="${doc_path%/docs}"
Expand Down
3 changes: 0 additions & 3 deletions certbot-apache/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-apache/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'acme>=1.8.0',
'certbot>=1.10.1',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
'python-augeas',
'setuptools>=39.0.1',
'zope.component',
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-cloudflare/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-cloudflare/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'cloudflare>=1.5.1',
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.29.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-cloudxns/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-cloudxns/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'dns-lexicon>=3.1.0', # Changed `rtype` parameter name
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-digitalocean/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-digitalocean/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'python-digitalocean>=1.11', # 1.15.0 or newer is recommended for TTL support
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.29.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-dnsimple/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-dnsimple/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'setuptools>=39.0.1',
'zope.interface',
]

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-dnsmadeeasy/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-dnsmadeeasy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'dns-lexicon>=3.1.0', # Changed `rtype` parameter name
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-gehirn/local-oldest-requirements.txt

This file was deleted.

7 changes: 5 additions & 2 deletions certbot-dns-gehirn/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-google/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-google/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'google-api-python-client>=1.5.5',
'oauth2client>=4.0',
Expand All @@ -19,8 +17,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.29.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-linode/local-oldest-requirements.txt

This file was deleted.

7 changes: 5 additions & 2 deletions certbot-dns-linode/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-luadns/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-luadns/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'dns-lexicon>=3.1.0', # Changed `rtype` parameter name
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-nsone/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-nsone/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'dns-lexicon>=3.1.0', # Changed `rtype` parameter name
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-ovh/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-ovh/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'dns-lexicon>=3.1.0', # Changed `rtype` parameter name
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-rfc2136/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-rfc2136/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'dnspython',
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.29.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-route53/local-oldest-requirements.txt

This file was deleted.

9 changes: 5 additions & 4 deletions certbot-dns-route53/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

version = '1.17.0.dev0'

# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
install_requires = [
'boto3',
'setuptools>=39.0.1',
Expand All @@ -16,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.29.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-dns-sakuracloud/local-oldest-requirements.txt

This file was deleted.

7 changes: 5 additions & 2 deletions certbot-dns-sakuracloud/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@

if not os.environ.get('SNAP_BUILD'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
# We specify the minimum acme and certbot version as the current plugin
# version for simplicity. See
# https://github.com/certbot/certbot/issues/8761 for more info.
f'acme>={version}',
f'certbot>={version}',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset SNAP_BUILD when building wheels '
Expand Down
3 changes: 0 additions & 3 deletions certbot-nginx/local-oldest-requirements.txt

This file was deleted.

Loading

0 comments on commit c372dd8

Please sign in to comment.