In this copr repo, I have updated pytest to 7.0.1: https://copr.fedorainfracloud.org/coprs/churchyard/pytest-7/ Based on this PR: https://src.fedoraproject.org/rpms/pytest/pull-request/25 I'd like to update pytest to 7 in Fedora 37, but python-promise 2.3.0-8 fails to build. https://copr.fedorainfracloud.org/coprs/churchyard/pytest-7/package/python-promise/ =================================== FAILURES =================================== ____________________ test_thrown_exceptions_have_stacktrace ____________________ def test_thrown_exceptions_have_stacktrace(): def throws(v): assert False p3 = Promise.resolve("a").then(throws) with raises(AssertionError) as assert_exc: p3.get() > assert assert_exc.traceback[-1].path.strpath == __file__ E AttributeError: 'PosixPath' object has no attribute 'strpath' tests/test_extra.py:116: AttributeError __________________ test_thrown_exceptions_preserve_stacktrace __________________ def test_thrown_exceptions_preserve_stacktrace(): def throws(v): assert False def after_throws(v): pass p3 = Promise.resolve("a").then(throws).then(after_throws) with raises(AssertionError) as assert_exc: p3.get() > assert assert_exc.traceback[-1].path.strpath == __file__ E AttributeError: 'PosixPath' object has no attribute 'strpath' tests/test_extra.py:130: AttributeError A fix has been proposed upstream in https://github.com/syrusakbary/promise/pull/96 There are several packages affected by this update, so I'd very much appreciate it if you could backport the fix. Thanks!
FEDORA-2022-1abcee7ee8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1abcee7ee8
FEDORA-2022-1abcee7ee8 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.