Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2220377 - F39FailsToInstall: python3-openstacksdk, python3-openstacksdk-tests
Summary: F39FailsToInstall: python3-openstacksdk, python3-openstacksdk-tests
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-openstacksdk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joel Capitao
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FailsToInstall PYTHON3.12 2220187 2220256 2220271 2220318 2220319 2220331 2220355 2220371 2220376 2220384 2220385 2220489 2220498 2220529 2220541
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:16 UTC by Fedora Fails To Install
Modified: 2023-07-10 15:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-10 15:04:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2023-07-05 19:16:55 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-openstacksdk) Fails To Install in Fedora 39:

can't install python3-openstacksdk:
  - nothing provides python(abi) = 3.11 needed by python3-openstacksdk-1.0.1-1.fc39.noarch
  
can't install python3-openstacksdk-tests:
  - nothing provides python(abi) = 3.11 needed by python3-openstacksdk-tests-1.0.1-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-openstacksdk python3-openstacksdk-tests


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 Joel Capitao 2023-07-10 11:53:52 UTC
======================================================================
FAIL: test_create_unknown_proxy (openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy)
openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/builddir/build/BUILD/openstacksdk-1.0.1/openstack/tests/unit/test_connection.py", line 164, in test_create_unknown_proxy
    self.assertThat(
  File "/usr/lib/python3.12/site-packages/testtools/testcase.py", line 480, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: len([<warnings.WarningMessage object at 0x7fa362261010>, <warnings.WarningMessage object at 0x7fa363405670>, <warnings.WarningMessage object at 0x7fa362261dc0>]) != 0


----------------------------------------------------------------------
Ran 1 test in 0.056s

FAILED (failures=1)
<mock-chroot> sh-5.2# python3 -m unittest -v openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy
test_create_unknown_proxy (openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy)
openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy ... /usr/lib/python3.12/site-packages/keystoneauth1/_utils.py:73: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC).
  now = datetime.datetime.utcnow()
/builddir/build/BUILD/openstacksdk-1.0.1/openstack/tests/unit/base.py:504: ResourceWarning: unclosed file <_io.TextIOWrapper name='openstack/tests/unit/fixtures/placement.json' mode='r' encoding='UTF-8'>
  text=open(discovery_fixture, 'r').read())
ResourceWarning: Enable tracemalloc to get the object allocation traceback

Comment 2 Joel Capitao 2023-07-10 12:00:02 UTC
I pushed a patch on upstream keytoneauth repo [1] to clear the warning deprecation message.

[1] https://review.opendev.org/c/openstack/keystoneauth/+/888033

Comment 3 Joel Capitao 2023-07-10 14:39:29 UTC
Until then, let's skip the unit test for now

https://src.fedoraproject.org/rpms/python-openstacksdk/c/bf93575386135550895f69203838dd7dbc24f75d?branch=rawhide


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