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 1841738 - python3-molten fails to install due to a build-test failure
Summary: python3-molten fails to install due to a build-test failure
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-molten
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anna Khaitovich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1841795
Blocks: F33FTBFS PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-05-29 14:36 UTC by Igor Raits
Modified: 2020-06-30 08:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-30 08:07:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Igor Raits 2020-05-29 14:36:59 UTC
Hello,

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

Your package (python-molten) Fails To Install in Fedora 33:

can't install python3-molten:
  - nothing provides (python3.8dist(typing-extensions) < 4 with python3.8dist(typing-extensions) >= 3.6) needed by python3-molten-0.7.4-2.fc32.noarch
  
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.

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/rawhide-gating/multi-builds/

Thanks!

Comment 1 Igor Raits 2020-06-08 06:59:19 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 2 Tomáš Hrnčiar 2020-06-11 09:24:59 UTC
DEBUG util.py:600:  Error: 
DEBUG util.py:600:   Problem: conflicting requests
DEBUG util.py:600:    - nothing provides python3.8dist(typing-extensions) >= 3.7.4 needed by python3-typing-inspect-0.5.0-2.fc32.noarch
DEBUG util.py:600:    - nothing provides python3.8dist(mypy-extensions) >= 0.3 needed by python3-typing-inspect-0.5.0-2.fc32.noarch

Comment 3 Miro Hrončok 2020-06-24 14:44:06 UTC
=================================== FAILURES ===================================
________________ test_complex_apps_can_return_openapi_document _________________
    def test_complex_apps_can_return_openapi_document():
        # Given that I have a complex app
        # When I visit its schema uri
        response = testing.TestClient(app).get("/schema.json")
    
        # Then I should get back a successful response
>       assert response.status_code == 200
E       assert 500 == 200
E        +  where 500 = <molten.testing.client.TestResponse object at 0xf5e99f70>.status_code
tests/openapi/test_openapi.py:216: AssertionError
____________ test_openapi_can_render_lists_of_x[fields2-expected2] _____________
fields = {'xs': typing.List[typing.List]}
expected = {'xs': {'items': {'items': {'description': 'Can be any value, including null.', 'nullable': True}, 'type': 'array'}, 'type': 'array'}}
    @pytest.mark.parametrize("fields,expected", [
        (
            {"xs": List[str]},
            {"xs": {"type": "array", "items": {"type": "string"}}},
        ),
        (
            {"xs": List[List[str]]},
            {"xs": {"type": "array", "items": {"type": "array", "items": {"type": "string"}}}},
        ),
        (
            {"xs": List[List]},
            {"xs": {"type": "array", "items": {"type": "array", "items": {
                "description": "Can be any value, including null.",
                "nullable": True,
            }}}},
        )
    ])
    def test_openapi_can_render_lists_of_x(fields, expected):
        # Given that I have a schema that has a list of something in it
        A = type("A", (object,), fields)
        A.__annotations__ = fields
        A = schema(A)
    
        def index() -> A:
            pass
    
        # And an app
        app = App(routes=[Route("/", index)])
    
        # When I generate a document
        document = generate_openapi_document(app, Metadata("example", "an example", "0.0.0"), [])
    
        # Then the return schema should have an array of that thing
        response_schema = document["components"]["schemas"]["tests.openapi.test_openapi.A"]
>       assert response_schema["properties"] == expected
E       AssertionError: assert {'xs': {'item...pe': 'array'}} == {'xs': {'item...pe': 'array'}}
E         Differing items:
E         {'xs': {'items': {'type': 'string'}, 'type': 'array'}} != {'xs': {'items': {'items': {'description': 'Can be any value, including null.', 'nullable': True}, 'type': 'array'}, 'type': 'array'}}
E         Use -v to get the full diff
tests/openapi/test_openapi.py:266: AssertionError

Comment 4 Anna Khaitovich 2020-06-26 10:35:00 UTC
Fixed in commit: https://src.fedoraproject.org/rpms/python-molten/c/1f83152658948773b776dea4e0424ac57b1f4bf3?branch=master

Disabled failing tests and reported test failures to upstream, issue - https://github.com/Bogdanp/molten/issues/38

Comment 5 Miro Hrončok 2020-06-26 11:07:06 UTC
Thank you! Do you want to keep this open until an upstream fix is ready? If not, feel free to close it as RAWHIDE as soon as the package builds.

Comment 6 Igor Raits 2020-06-26 19:37:01 UTC
Hello,

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

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

Thanks for taking care of it!


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