I duplicated your work and I'm focusing on dns-lexicon package as you
suggested.
Hints are well accepted : )
Regards
Stefano
On Mon, 2021-05-10 at 23:31 +0200, Felix Schwarz wrote:
Hi Stefano,
a few months ago certbot switched to Python 3 only. certbot on EPEL 7
still uses
Python 2 because EPEL 7 does not have all required Python 3 packages.
So we need
to bring the missing packages to EPEL 7.
The main bug for this is:
https://bugzilla.redhat.com/show_bug.cgi?id=1797129
(Click on "TreeView+ depends on" / "Expand all")
As you can see I already added quite a few packages but some are still
missing
(the list is probably incomplete but we need less than 10 additional
packages).
- If python-X is in RHEL and does not offer a Python 3 version, we need
to
create a new python3-X package (new package review).
- Package is in EPEL but Python 2 only
- is version recent enough for certbot?
-> submit pull request for package to build also a Python 3
version.
otherwise: create new review request for python3-X in EPEL 7.
- python3-X is already in RHEL or EPEL but too old.
-> tricky case, we need to check if certbot also works with the
older version.
- once we know that it works we should file a bug upstream to
relax the
requirements
From the top of my head:
- python3-augeas (bug 1823761), there is a non-responsive maintainer
process at
the moment for the Fedora maintainer. Once there is an active
maintainer again
I hope to (s)he will update the Fedora package so we can add that
latest
version to EPEL.
- python-certbot-dns-route53:
- requires python3-boto3, python3-botocore
- need to package new versions
- python-dns-lexicon
- requires boto3, PyYAML
I didn't have time to work on that for many months now so I'm not sure
what is
the best place to start.
However I created a COPR repo which contains some Python 3 packages:
https://copr.fedorainfracloud.org/coprs/fschwarz/certbot-python3-epel7/
So probably you could start by getting python-dns-lexicon 3.3.28
packaged for
EPEL 7 + Python 3.
I hope the long email does not deter you - in the end you do one step
after the
next. The email is only so long because I don't have the exact state in
my head
anymore so it takes longer to explain.
Please let me know if you are still interested so I can check for local
changes
so you don't have to duplicate work.
Felix
PS: I just noticed that I had to disable some tests in python-dns-
lexicon
(rawhide). If you know Python maybe you also want to check how to run
more of
these tests (without new dependencies).