Bug 2291928

Summary: F41FailsToInstall: python3-sqlalchemy-collectd
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-sqlalchemy-collectdAssignee: Michael Bayer <mbayer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mbayer, mhroncok, mrunge
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-sqlalchemy-collectd-0.0.8-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-20 20:04:51 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:    
Bug Blocks: 2260877, 2244836    

Description Fedora Fails To Install 2024-06-12 11:30:16 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 (python-sqlalchemy-collectd) Fails To Install in Fedora 41:

can't install python3-sqlalchemy-collectd:
  - nothing provides python(abi) = 3.12 needed by python3-sqlalchemy-collectd-0.0.7-10.fc40.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-41-x86_64 --config-opts mirrored=False install python3-sqlalchemy-collectd


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 2024-06-19 20:07:24 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 https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 2 Michael Bayer 2024-06-19 21:01:57 UTC
@mhroncok is this for me?   I'm not sure what "nothing provides python(abi) = 3.12" means other than, "there's no python 3.12"

Comment 3 Miro Hrončok 2024-06-19 22:50:02 UTC
Yes, this is for you.

It means the package was not successfully rebuilt with Python 3.13. All that needs to be done is to build it.

The failure can be looked up in Koji (search for python-sqlalchemy-collectd).

https://koji.fedoraproject.org/koji/buildinfo?buildID=2466709

=================================== FAILURES ===================================
______________________ PluginTest.test_start_engine_args _______________________
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib64/python3.13/unittest/case.py", line 651, in run
    self._callTestMethod(testMethod)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib64/python3.13/unittest/case.py", line 606, in _callTestMethod
    if method() is not None:
       ~~~~~~^^
  File "/builddir/build/BUILD/python-sqlalchemy-collectd-0.0.7-build/sqlalchemy-collectd-0.0.7/sqlalchemy_collectd/client/tests/test_plugin.py", line 21, in test_start_engine_args
    url = sqla_url.URL("mysql+pymysql://scott:tiger@localhost/")
TypeError: URL.__new__() missing 6 required positional arguments: 'username', 'password', 'host', 'port', 'database', and 'query'
________________________ PluginTest.test_start_no_args _________________________
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib64/python3.13/unittest/case.py", line 651, in run
    self._callTestMethod(testMethod)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib64/python3.13/unittest/case.py", line 606, in _callTestMethod
    if method() is not None:
       ~~~~~~^^
  File "/builddir/build/BUILD/python-sqlalchemy-collectd-0.0.7-build/sqlalchemy-collectd-0.0.7/sqlalchemy_collectd/client/tests/test_plugin.py", line 12, in test_start_no_args
    url = sqla_url.URL("mysql+pymysql://scott:tiger@localhost/")
TypeError: URL.__new__() missing 6 required positional arguments: 'username', 'password', 'host', 'port', 'database', and 'query'
=========================== short test summary info ============================
FAILED sqlalchemy_collectd/client/tests/test_plugin.py::PluginTest::test_start_engine_args
FAILED sqlalchemy_collectd/client/tests/test_plugin.py::PluginTest::test_start_no_args
========================= 2 failed, 14 passed in 0.33s =========================

Comment 4 Michael Bayer 2024-06-20 03:54:21 UTC
OK how about I get it to build / test/ run with python 3.13 upstream first, then do a new release of that, then the new release can go through the RPM process here mostly by default hows that?

Comment 5 Miro Hrončok 2024-06-20 11:15:17 UTC
That depends on you. Know that the package now cannot be installed at all, so if you get it to successfully test with 3.13, an immediate backport from upstream is in order.

Comment 6 Michael Bayer 2024-06-20 17:49:31 UTC
this issue:

 File "/builddir/build/BUILD/python-sqlalchemy-collectd-0.0.7-build/sqlalchemy-collectd-0.0.7/sqlalchemy_collectd/client/tests/test_plugin.py", line 12, in test_start_no_args
    url = sqla_url.URL("mysql+pymysql://scott:tiger@localhost/")
TypeError: URL.__new__() missing 6 required positional arguments: 'username', 'password', 'host', 'port', 'database', and 'query'

is local to sqlalchemy-collectd 0.0.7.   This issue is not py313 specific and was fixed in sqlalchemy-collectd 0.0.8.    So I would do a version bump.  Which branch(es) can this be bumped within? or must it remain 0.0.7 with patchfiles?

  origin/f39
  origin/f40
  origin/main
  origin/master
  origin/rawhide

I haven't committed anything to fedora in some years, so i would need time to re-ramp and figure out how to do everything here

Comment 7 Miro Hrončok 2024-06-20 19:31:50 UTC
rawhide

Comment 8 Miro Hrončok 2024-06-20 19:34:35 UTC
> or must it remain 0.0.7 with patchfiles

no, you can obviously bump to a newer release which fixes the issue

Comment 9 Miro Hrončok 2024-06-20 19:35:40 UTC
Thank you.

Comment 10 Michael Bayer 2024-06-20 19:47:02 UTC
so fast, i was going to do that.  found my notes from when I last did this about six years ago