I’m creating a python package (using py2pack), but I’m running into this issue when trying to build it:
> oscbuild--local
Building python-symspellpy.spec for openSUSE_Tumbleweed/x86_64
Getting buildconfig from server and store to /home/myuser/Development/OBS/home:tyrannishawk/python-symspellpy/.osc/_buildconfig-openSUSE_Tumbleweed-x86_64
Getting buildinfo from server and store to /home/myuser/Development/OBS/home:tyrannishawk/python-symspellpy/.osc/_buildinfo-openSUSE_Tumbleweed-x86_64.xml
buildinfo is broken... it says:
unresolvable: nothing provides python36-numpy >= 1.13.1
Using zypper se I quickly learned there is no python36-numpy in the repositories, so the error makes sense. Is there a way to add code to the spec file to tell the build process not to build this pacakge for python36? I’ve already read https://en.opensuse.org/openSUSE:Packaging_Python but the answer doesn’t seem to be on that page. Well, I assume it may be along the lines of
%if %python_version_nodots < 38
skip this version somehow
%endif
but the exact code to pull this off?