Bug 2098746

Summary: F37FailsToInstall: mailman3
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: mailman3Assignee: Michel Lind <michel>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 37CC: infra-sig, jonathan, michel, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-04 13:45:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1852603    
Bug Blocks: 2016048, 2045109    

Description Miro Hrončok 2022-06-20 09:31:31 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (mailman3) Fails To Install in Fedora 37:

can't install mailman3:
  - nothing provides python3.10dist(requests) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(alembic) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(gunicorn) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(passlib) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(atpublic) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(flufl-bounce) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(lazr-config) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(zope-component) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(zope-configuration) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(zope-event) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python(abi) = 3.10 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(click) >= 8 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(python-dateutil) >= 2 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(zope-interface) >= 5 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides (python3.10dist(sqlalchemy) < 1.4~~ with python3.10dist(sqlalchemy) >= 1.2.3) needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(aiosmtpd) >= 1.4.1 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(authheaders) >= 0.9.2 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(authres) >= 1.0.1 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(dnspython) >= 1.14 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(flufl-i18n) >= 2 needed by mailman3-3.3.4-6.fc36.noarch
  - nothing provides python3.10dist(flufl-lock) >= 3.1 needed by mailman3-3.3.4-6.fc36.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-37-x86_64 --disablerepo='*' --enablerepo=local install mailman3


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 Miro Hrončok 2022-06-20 10:03:46 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Miro Hrončok 2022-06-27 14:55:26 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

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.

Comment 3 Miro Hrončok 2022-07-18 22:28:09 UTC
Hello,

This is the second reminder (step 4 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

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.

Comment 4 Ben Cotton 2022-08-09 13:18:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 5 Miro Hrončok 2022-08-17 11:51:53 UTC
This package has been orphaned.

You can pick it up at https://src.fedoraproject.org/rpms/mailman3 by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.

Comment 6 Miro Hrončok 2022-09-28 22:30:44 UTC
Is it realistic to have this fixed in time for Fedora 37 GA, or can I retire the package to avoid blocked upgrades to Fedora 37? IT can be unretired and shipped via an update after the GA.

Comment 7 Neal Gompa 2022-09-29 08:32:44 UTC
I think the Python modules it requests were rebuilt for Python 3.11 successfully and this might just need another rebuild to work?

Comment 8 Miro Hrončok 2022-09-29 09:42:41 UTC
During the build:

---------------

Traceback (most recent call last):
  File "/builddir/build/BUILD/mailman-3.3.4/venv/bin/runner", line 33, in <module>
    sys.exit(load_entry_point('mailman', 'console_scripts', 'runner')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/mailman-3.3.4/src/mailman/bin/runner.py", line 184, in main
    runner = make_runner(*runner_spec, once=once)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/mailman-3.3.4/src/mailman/bin/runner.py", line 55, in make_runner
    runner_class = find_name(class_path)
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/mailman-3.3.4/src/mailman/utilities/modules.py", line 52, in find_name
    module = import_module(module_path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/builddir/build/BUILD/mailman-3.3.4/src/mailman/runners/lmtp.py", line 128, in <module>
    class LMTPHandler:
  File "/builddir/build/BUILD/mailman-3.3.4/src/mailman/runners/lmtp.py", line 129, in LMTPHandler
    @asyncio.coroutine
     ^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?

---------------


See https://docs.python.org/3.11/whatsnew/3.11.html#removed

"""The @asyncio.coroutine decorator enabling legacy generator-based coroutines to be compatible with async/await code. The function has been deprecated since Python 3.8 and the removal was initially scheduled for Python 3.10. Use async def instead. """

Example fix: https://github.com/pexpect/pexpect/pull/715/files

Comment 9 Miro Hrončok 2022-09-29 18:18:01 UTC
The Fedora Engineering Steering Committee has approved [1] to retire the remaining non-installable packages still depending on Python 3.10 from Fedora 37 and Rawhide 1-2 days before the final freeze. We plan to retire this package this Sunday: 2022-10-02. If you wish to fix this package for time for Fedora 37 GA, please request a freeze exception [2].

[1] https://pagure.io/fesco/issue/2876
[2] https://qa.fedoraproject.org/blockerbugs/propose_bug

Comment 10 Miro Hrončok 2022-10-03 09:28:09 UTC
Retired in dist-git.

Comment 11 Miro Hrončok 2022-10-04 13:32:39 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

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

Thanks for taking care of it!

Comment 12 Miro Hrončok 2022-10-04 13:45:11 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

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

Thanks for taking care of it!