Skip to content

Commit 22f61d7

Browse files
committed
Run tests in spec file again
1 parent 5141033 commit 22f61d7

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.distro/python-scikit-build-core.spec

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
# Testing dependencies not satisfied on epel
2-
# build, cattrs, hatch-fancy-pypi-readme, pytest-subprocess
3-
%if 0%{?el10}
4-
%bcond_with tests
5-
%else
6-
%bcond_without tests
7-
%endif
8-
91
%global debug_package %{nil}
102

113
Name: python-scikit-build-core
@@ -72,7 +64,7 @@ cp -p src/scikit_build_core/_vendor/pyproject_metadata/LICENSE LICENSE-pyproject
7264

7365

7466
%generate_buildrequires
75-
%pyproject_buildrequires %{?with_tests:-x test,test-meta,test-numpy}
67+
%pyproject_buildrequires -x test,test-meta,test-numpy
7668

7769

7870
%build
@@ -86,10 +78,8 @@ cp -p src/scikit_build_core/_vendor/pyproject_metadata/LICENSE LICENSE-pyproject
8678

8779
%check
8880
%pyproject_check_import
89-
%if %{with tests}
9081
%pytest \
9182
-m "not network"
92-
%endif
9383

9484

9585
%files -n python3-scikit-build-core -f %{pyproject_files}

0 commit comments

Comments
 (0)