#5 Remove unnecessary and deprecated python3-mock BR
Merged 3 months ago by ankursinha. Opened 3 months ago by salimma.
rpms/ salimma/python-pynn rm-python-mock  into  rawhide

file modified
+1 -2
@@ -88,7 +88,6 @@ 

  BuildRequires:  %{py3_dist lazyarray}

  BuildRequires:  %{py3_dist matplotlib}

  BuildRequires:  %{py3_dist morphio}

- BuildRequires:  %{py3_dist mock}

  BuildRequires:  %{py3_dist neo}

  BuildRequires:  %{py3_dist numpy}

  BuildRequires:  python3-nest >= 3.4
@@ -193,7 +192,7 @@ 

  # skip pyNN.nest because it looks for nest extensions outside the buildroot

  %py3_check_import pyNN pyNN.neuron pyNN.brian2

  

- %pytest test/unittests -k "not test_partitioning"

+ %pytest test/unittests -k "not test_partitioning and not test_get"

  

  %if %{with mpich}

  %{_mpich_load}

Context: https://fedoraproject.org/wiki/Changes/RemovePythonMockUsage

Note: test_get started failing recently - it also failed when I rebuilt the SRPM that was built on Koji, so it's not due to this change. I've just disabled it for now

Signed-off-by: Michel Lind salimma@fedoraproject.org

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/c913e19fbd5a4fbab2fb1120a4e8c35a

Pull-Request has been merged by ankursinha

3 months ago
Metadata