certbot/certbot-nginx/setup.py

21 lines
562 B
Python
Raw Permalink Normal View History

from setuptools import setup
2025-12-03 14:48:10 -05:00
version = '5.3.0.dev0'
install_requires = [
# 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}',
update policy on minimum dependency versions (#10130) fixes #10105 this PR updates our minimally required cryptography and pyopenssl versions as well as updating our policy for choosing minimum dependency versions generally before this PR, we were trying to keep compatibility with packages available in EPEL 9 using the python 3 version available in RHEL 9. after the discussion in #10105 we decided not to do this anymore because: * EPEL 9 may not want to update to certbot 3.0+ anyway because of our backwards incompatible changes from certbot 2.x * RHEL 9 appstream repos now contain newer versions of many of our dependencies for newer versions of python * alternate installation methods for RHEL 9 based users including our snaps and pip are available on a call we then discussed what distro repositories we should track instead of EPEL 9. our docs previously said Debian sid/unstable, but we felt this as unnecessary because Debian sid can and does change very quickly. if we wanted a new dependency there, Debian could probably accommodate it we also considered RHEL 10 + EPEL 10, however, these repos are not even stable yet and certbot and many of its dependencies are not yet packaged there at all for these reasons, plus many of the reasons we decided to upgrade past EPEL 9 with the default python 3 version there, we decided that at least for now, we will remove any linux distro considerations when choosing minimal dependency versions of certbot as i wrote in the contributing docs, we may choose to reconsider this plan if there are requests for us to do so, but based on the information above, we are not sure this will ever even happen and removing this constraint significantly simplifies development of certbot
2025-01-15 12:47:40 -05:00
# PyOpenSSL>=25.0.0 is just needed to satisfy mypy right now so this dependency can probably be
# relaxed to >=24.0.0 if needed.
'PyOpenSSL>=25.0.0',
'pyparsing>=2.4.7',
]
setup(
version=version,
install_requires=install_requires,
)