Description of problem: Package python-fasjson-client fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 0.1.1-6.fc34 Steps to Reproduce: koji build --scratch f34 python-fasjson-client-0.1.1-6.fc34.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-fasjson-client =================================== FAILURES =================================== ______________________________ test_sign_bad_pkey ______________________________ invoker = <function invoker.<locals>.invoke at 0x7ffb7d16e1f0> tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_sign_bad_pkey0') mocker = <pytest_mock.plugin.MockerFixture object at 0x7ffb7d0f4190> fixture_dir = '/builddir/build/BUILD/fasjson-client-0.1.1/fasjson_client/tests/unit/fixtures' def test_sign_bad_pkey(invoker, tmp_path, mocker, fixture_dir): dest_cert = os.path.join(tmp_path, "dummy.crt") privkey_path = os.path.join(tmp_path, "private.key") # Create the private key as an empty file open(privkey_path, "w").close() make_csr = mocker.patch("fasjson_client.cli.get_cert._make_csr") result = invoker( "-u", "dummy", "--save-to", dest_cert, "--private-key", privkey_path, "-u", "dummy", ) assert result.exit_code == 1 expected_msg = ( "Error: can't load the private key: Could not deserialize key data.\n" ) > assert result.output == expected_msg E assert "Error: can't... algorithm.\n" == "Error: can't...e key data.\n" E - Error: can't load the private key: Could not deserialize key data. E + Error: can't load the private key: Could not deserialize key data. The data may be in an incorrect format or it may be encrypted with an unsupported algorithm. fasjson_client/tests/unit/test_cli_get_cert.py:260: AssertionError =============================== warnings summary =============================== <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1: DeprecationWarning: invalid escape sequence \] <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1: DeprecationWarning: invalid escape sequence \. <unknown>:1: 34 warnings <unknown>:1: DeprecationWarning: invalid escape sequence \[ <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1 <unknown>:1: DeprecationWarning: invalid escape sequence \? -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED fasjson_client/tests/unit/test_cli_get_cert.py::test_sign_bad_pkey - a... ================== 1 failed, 54 passed, 54 warnings in 2.06s ===================
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 34. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-05). A week before the mass branching of Fedora 35 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 33 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
FEDORA-2021-a99234dcbb has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a99234dcbb
FEDORA-2021-a99234dcbb has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a99234dcbb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a99234dcbb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-a99234dcbb has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.