Bug 1841738
Summary: | python3-molten fails to install due to a build-test failure | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Igor Raits <igor.raits> |
Component: | python-molten | Assignee: | Anna Khaitovich <akhaitov> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | akhaitov, mhroncok, thrnciar |
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: | 2020-06-30 08:07:35 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: | 1841795 | ||
Bug Blocks: | 1785415, 1803234 |
Description
Igor Raits
2020-05-29 14:36:59 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. 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 =================================== 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 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 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. 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! |