From bd19d8ba38006334ee9984231f5a7dae6faa135f Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: May 24 2021 14:32:07 +0000 Subject: Disable the tests on Fedora 35 until python-flask-sqlalchemy is updated --- diff --git a/python-flask-migrate.spec b/python-flask-migrate.spec index d019062..848e00c 100644 --- a/python-flask-migrate.spec +++ b/python-flask-migrate.spec @@ -1,9 +1,13 @@ # Upstream name %global srcname Flask-Migrate -# We can run the tests now, except that there are failures because the package -# is too out-of-date +%if 0%{?fedora == 35} +# Disable the tests until python-flask-sqlalchemy is updated to support +# python-sqlalchemy 1.4. %bcond_with tests +%else +%bcond_without tests +%endif # Name used in egg-info %global eggname %(\ @@ -108,7 +112,8 @@ echo 'Tests are disabled' - Stop chmod’ing template files in %%prep, as there is no longer anything to fix - Remove executable bits from files in the Python package (currently __init__.py) - Express BR’s as python3dist(…)/%%{py3_dist …} and version them -- Allow running the tests +- Allow running the tests; disable them on Fedora 35 until + python-flask-sqlalchemy is updated - Build documentation and install it in a new -doc subpackage * Wed Jan 27 2021 Fedora Release Engineering - 2.5.3-2