Bug 2098999 - F37FailsToInstall: python3-matrix-nio
Summary: F37FailsToInstall: python3-matrix-nio
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-matrix-nio
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On: 2025292 2099049 2099113
Blocks: F37BetaFreezeException PYTHON3.11 F37FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2022-06-20 09:38 UTC by Miro Hrončok
Modified: 2022-09-02 22:26 UTC (History)
3 users (show)

Fixed In Version: python-matrix-nio-0.19.0-6.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-02 22:26:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-06-20 09:38:57 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 (python-matrix-nio) Fails To Install in Fedora 37:

can't install python3-matrix-nio:
  - nothing provides python3.10dist(h11) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides python3.10dist(pycryptodomex) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides python3.10dist(aiofiles) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides python3.10dist(aiohttp-socks) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides python3.10dist(h2) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides python(abi) = 3.10 needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides (python3.10dist(aiohttp) < 4~~ with python3.10dist(aiohttp) >= 3.7.4) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides (python3.10dist(future) < 0.19~~ with python3.10dist(future) >= 0.18.2) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides (python3.10dist(jsonschema) < 4~~ with python3.10dist(jsonschema) >= 3.2) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides (python3.10dist(logbook) < 2~~ with python3.10dist(logbook) >= 1.5.3) needed by python3-matrix-nio-0.19.0-3.fc37.noarch
  - nothing provides (python3.10dist(unpaddedbase64) < 3~~ with python3.10dist(unpaddedbase64) >= 2.1) needed by python3-matrix-nio-0.19.0-3.fc37.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 python3-matrix-nio


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:08:35 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:58:43 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 Ankur Sinha (FranciscoD) 2022-07-11 12:19:32 UTC
Check import: nio
Traceback (most recent call last):
  File "/usr/lib/rpm/redhat/import_all_modules.py", line 171, in <module>
    main()
    ^^^^^^
  File "/usr/lib/rpm/redhat/import_all_modules.py", line 167, in main
    import_modules(modules)
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/rpm/redhat/import_all_modules.py", line 100, in import_modules
    importlib.import_module(module)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 939, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/builddir/build/BUILDROOT/python-matrix-nio-0.19.0-5.fc37.x86_64/usr/lib/python3.11/site-packages/nio/__init__.py", line 2, in <module>
    from .client import *
    ^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILDROOT/python-matrix-nio-0.19.0-5.fc37.x86_64/usr/lib/python3.11/site-packages/nio/client/__init__.py", line 6, in <module>
    from .async_client import AsyncClient, AsyncClientConfig, DataProvider
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILDROOT/python-matrix-nio-0.19.0-5.fc37.x86_64/usr/lib/python3.11/site-packages/nio/client/async_client.py", line 56, in <module>
    from aiohttp_socks import ProxyConnector
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/aiohttp_socks/__init__.py", line 11, in <module>
    from .connector import (
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/aiohttp_socks/connector.py", line 9, in <module>
    from python_socks.async_.asyncio.ext import Proxy
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'python_socks.async_.asyncio.ext'



Looks like aiohttp-socks needs an update so that it stops looking for the no longer existing python_socks.async_asyncio.ext module

https://github.com/romis2012/aiohttp-socks/compare/v0.6.1...v0.7.1

Comment 4 Ben Cotton 2022-08-09 13:39:37 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-25 09:52:34 UTC
We are past Fedora 37 Beta Freeze and this package does not even install. What is the plan wrt this package? Can it please be removed from the distribution until this is solved?

Comment 6 Ankur Sinha (FranciscoD) 2022-08-25 10:10:04 UTC
No, this package will not be removed. It's FTI because a dependent package, python-aiohttp-socks, has not been updated. I've even opened a PR there and I'm waiting for the maintainers to say yes/no so I can proceed. There's not much else I can do here.

https://src.fedoraproject.org/rpms/python-aiohttp-socks/pull-request/5

I appreciate keeping the distribution clean by removing unmaintained packages, but let's not jump to "please remove all FTI packages". This package is maintained and will remain.

Comment 7 Miro Hrončok 2022-08-25 10:22:13 UTC
OK, I see you are on top of things. It was not obvious from this bugzilla which was not updated. Honestly, I would not expect any update from python-aiohttp-socks maintainers.

Comment 8 Ankur Sinha (FranciscoD) 2022-08-25 10:39:54 UTC
Thanks. I was hoping to not use provenpackager powers to push through the update to python-aiohttp-socks, but I guess I've waited long enough now and not a response. I'll merge the PR etc. and fix this ASAP.

Comment 9 Fedora Update System 2022-08-25 12:46:48 UTC
FEDORA-2022-8261ca41f5 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8261ca41f5

Comment 10 Fedora Update System 2022-08-26 10:32:42 UTC
FEDORA-2022-8261ca41f5 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-8261ca41f5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8261ca41f5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Miro Hrončok 2022-08-29 10:41:05 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 Adam Williamson 2022-09-02 17:07:32 UTC
+5 in https://pagure.io/fedora-qa/blocker-review/issue/876 , marking accepted.

Comment 13 Fedora Update System 2022-09-02 22:26:37 UTC
FEDORA-2022-8261ca41f5 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


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