Bug 2219960 - F39FailsToInstall: Multiple packages built from certbot
Summary: F39FailsToInstall: Multiple packages built from certbot
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: certbot
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Bebout
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.12 F39FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:03 UTC by Fedora Fails To Install
Modified: 2023-07-17 07:24 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-07-17 07:24:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2023-07-05 19:03:00 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (certbot) Fails To Install in Fedora 39:

can't install python3-acme:
  - nothing provides python3.11dist(pyrfc3339) needed by python3-acme-2.6.0-1.fc39.noarch
  - nothing provides python(abi) = 3.11 needed by python3-acme-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-acme-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(cryptography) >= 3.2.1 needed by python3-acme-2.6.0-1.fc39.noarch
  - nothing provides ((python3.11dist(pyopenssl) < 23.1 or python3.11dist(pyopenssl) > 23.1) with python3.11dist(pyopenssl) >= 17.5) needed by python3-acme-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(pytz) >= 2019.3 needed by python3-acme-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(requests) >= 2.20 needed by python3-acme-2.6.0-1.fc39.noarch
  
can't install python3-certbot:
  - nothing provides python3.11dist(pyrfc3339) needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python(abi) = 3.11 needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(cryptography) >= 3.2.1 needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(configobj) >= 5.0.6 needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(pytz) >= 2019.3 needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(configargparse) >= 0.9.3 needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(distro) >= 1.0.1 needed by python3-certbot-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(parsedatetime) >= 2.4 needed by python3-certbot-2.6.0-1.fc39.noarch
  
can't install python3-certbot-apache:
  - nothing provides python3.11dist(python-augeas) needed by python3-certbot-apache-2.6.0-1.fc39.noarch
  - nothing provides python(abi) = 3.11 needed by python3-certbot-apache-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-apache-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-cloudflare:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-cloudflare-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-cloudflare-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(cloudflare) >= 1.5.1 needed by python3-certbot-dns-cloudflare-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-digitalocean:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-digitalocean-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-digitalocean-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(python-digitalocean) >= 1.11 needed by python3-certbot-dns-digitalocean-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-dnsimple:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-dnsimple-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-dnsimple-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-dnsimple-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-dnsmadeeasy:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-dnsmadeeasy-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-dnsmadeeasy-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-dnsmadeeasy-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-gehirn:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-gehirn-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-gehirn-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-gehirn-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-google:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-google-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-google-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(google-api-python-client) >= 1.6.5 needed by python3-certbot-dns-google-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(google-auth) >= 2.16 needed by python3-certbot-dns-google-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-linode:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-linode-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-linode-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-linode-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-luadns:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-luadns-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-luadns-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-luadns-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-nsone:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-nsone-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-nsone-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-nsone-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-ovh:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-ovh-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-ovh-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-ovh-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-rfc2136:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-rfc2136-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-rfc2136-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dnspython) >= 1.15 needed by python3-certbot-dns-rfc2136-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-route53:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-route53-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-route53-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(boto3) >= 1.15.15 needed by python3-certbot-dns-route53-2.6.0-1.fc39.noarch
  
can't install python3-certbot-dns-sakuracloud:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-dns-sakuracloud-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-dns-sakuracloud-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(dns-lexicon) >= 3.2.1 needed by python3-certbot-dns-sakuracloud-2.6.0-1.fc39.noarch
  
can't install python3-certbot-nginx:
  - nothing provides python(abi) = 3.11 needed by python3-certbot-nginx-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 41.6 needed by python3-certbot-nginx-2.6.0-1.fc39.noarch
  - nothing provides ((python3.11dist(pyopenssl) < 23.1 or python3.11dist(pyopenssl) > 23.1) with python3.11dist(pyopenssl) >= 17.5) needed by python3-certbot-nginx-2.6.0-1.fc39.noarch
  - nothing provides python3.11dist(pyparsing) >= 2.2.1 needed by python3-certbot-nginx-2.6.0-1.fc39.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install python3-acme python3-certbot python3-certbot-apache python3-certbot-dns-cloudflare python3-certbot-dns-digitalocean python3-certbot-dns-dnsimple python3-certbot-dns-dnsmadeeasy python3-certbot-dns-gehirn python3-certbot-dns-google python3-certbot-dns-linode python3-certbot-dns-luadns python3-certbot-dns-nsone python3-certbot-dns-ovh python3-certbot-dns-rfc2136 python3-certbot-dns-route53 python3-certbot-dns-sakuracloud python3-certbot-nginx


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2023-07-13 11:38:59 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug.

Comment 2 Tomáš Hrnčiar 2023-07-14 12:12:27 UTC
With -Wdefault in check to avoid treating DeprecationWarnings as error and with this patch:

diff --git a/certbot-nginx/certbot_nginx/_internal/tests/parser_obj_test.py b/certbot-nginx/certbot_nginx/_internal/tests/parser_obj_test.py
index 710b63f..305b987 100644
--- a/certbot-nginx/certbot_nginx/_internal/tests/parser_obj_test.py
+++ b/certbot-nginx/certbot_nginx/_internal/tests/parser_obj_test.py
@@ -71,7 +71,7 @@ class ParsingHooksTest(unittest.TestCase):
         fake_parser2.should_parse = lambda x: False
         # First encountered "match" should parse.
         parse_raw([])
-        fake_parser1.called_once()
+        fake_parser1.assert_called_once()
         fake_parser2.not_called()
         fake_parser1.reset_mock()
         # "match" that returns False shouldn't parse.
@@ -95,9 +95,9 @@ class ParsingHooksTest(unittest.TestCase):
         fake_parser1 = mock.Mock()
         fake_parser1.should_parse = lambda x: True
         parse_raw([])
-        fake_parser1.parse.called_with([None])
+        fake_parser1.parse.assert_called_with([None])
         parse_raw([], add_spaces=True)
-        fake_parser1.parse.called_with([None, True])
+        fake_parser1.parse.assert_called_with([None, True])


 class SentenceTest(unittest.TestCase):
diff --git a/certbot/certbot/_internal/tests/renewupdater_test.py b/certbot/certbot/_internal/tests/renewupdater_test.py
index eab07cd..5a6a2cf 100644
--- a/certbot/certbot/_internal/tests/renewupdater_test.py
+++ b/certbot/certbot/_internal/tests/renewupdater_test.py
@@ -47,7 +47,7 @@ class RenewUpdaterTest(test_util.ConfigTestCase):
         lineage = mock.MagicMock()
         mock_deployer = self.renew_deployer
         updater.run_renewal_deployer(self.config, lineage, mock_deployer)
-        assert mock_deployer.renew_deploy.called_with(lineage)
+        assert mock_deployer.renew_deploy.assert_called_with(lineage)

     @mock.patch("certbot._internal.updater.logger.debug")
     def test_updater_skip_dry_run(self, mock_log):
--
2.40.1


I am getting this error:

=================================== FAILURES ===================================
_____________________ RenewUpdaterTest.test_renew_deployer _____________________

self = <certbot._internal.tests.renewupdater_test.RenewUpdaterTest testMethod=test_renew_deployer>

    def test_renew_deployer(self):
        lineage = mock.MagicMock()
        mock_deployer = self.renew_deployer
        updater.run_renewal_deployer(self.config, lineage, mock_deployer)
>       assert mock_deployer.renew_deploy.assert_called_with(lineage)
E       AssertionError: assert None
E        +  where None = <bound method NonCallableMock.assert_called_with of <MagicMock name='mock.renew_deploy' id='140148396127056'>>(<MagicMock id='140148392771504'>)
E        +    where <bound method NonCallableMock.assert_called_with of <MagicMock name='mock.renew_deploy' id='140148396127056'>> = <MagicMock name='mock.renew_deploy' id='140148396127056'>.assert_called_with
E        +      where <MagicMock name='mock.renew_deploy' id='140148396127056'> = <MagicMock spec='RenewDeployer' id='140148392142288'>.renew_deploy

certbot/_internal/tests/renewupdater_test.py:50: AssertionError

Comment 3 Mattias Ellert 2023-07-15 16:42:23 UTC
Pull request:
https://src.fedoraproject.org/rpms/certbot/pull-request/12

Comment 4 Fedora Fails To Install 2023-07-17 07:24:09 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 39.

Thanks for taking care of it!


Note You need to log in before you can comment on or make changes to this bug.