(In reply to Matej Cepl from comment #11) > (In reply to Bernhard Wiedemann from comment #10) > > On python-jupyter_imatlab_kernel I found a nice solution to this bug: > > We need to change the pip install call to use --no-compile instead of > > --compile > > and let the normal openSUSE python scripts handle the compilation instead. > > You mean that the macro > > %python3_install \ > %{_python_use_flavor python3} \ > %__python3 %{py_setup} %{?py_setup_args} install \\\ > -O1 --skip-build --force --root %{buildroot} --prefix %{_prefix} > > in /etc/rpm/macros.python_all should be changed by adding --no-compile to > the setup.py install command? > > We can do that, I suppose. Nope, what Berhnard means is really pip call (also sidenote we should probably provide these as macros). >From spec: %python_expand pip%{$python_bin_suffix} install --root %{buildroot} --prefix %{_prefix} --no-deps %{SOURCE0}