2019-12-09 15:50:20 -05:00
|
|
|
from setuptools import setup
|
2015-07-10 12:34:08 -04:00
|
|
|
|
2025-12-03 14:48:10 -05:00
|
|
|
version = '5.3.0.dev0'
|
2015-09-26 18:27:04 -04:00
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
install_requires = [
|
2021-06-01 17:46:06 -04:00
|
|
|
# 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',
|
2025-01-10 18:25:05 -05:00
|
|
|
'pyparsing>=2.4.7',
|
2015-07-10 12:34:08 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
setup(
|
2015-09-26 18:27:04 -04:00
|
|
|
version=version,
|
2015-07-10 12:34:08 -04:00
|
|
|
install_requires=install_requires,
|
|
|
|
|
)
|