Fix build with pytest 8

- Fixes: rhbz#2275262
This commit is contained in:
Miro Hrončok 2024-04-16 12:52:42 +02:00
commit e07acba2f5
2 changed files with 56 additions and 0 deletions

View file

@ -8,6 +8,9 @@ Source: %{url}/archive/%{version}.tar.gz#/Uranium-%{version}.tar.gz
Patch: Uranium-5.3.0-qt-try-ints-then-bytes-for-gl-mask-functions.patch
# Fix asserts for called once in Python 3.12:
Patch: https://github.com/Ultimaker/Uranium/pull/885.patch#/Uranium-5.3.0-python3.12.patch
# Force test order to fix FTBFS with pytest 8
# From https://github.com/Ultimaker/Uranium/pull/941
Patch: Uranium-5.6.0-pytest8.patch
# Cmake bits taken from 4.13.1, before upstream went nuts with conan
Source2: mod_bundled_packages_json.py