From 236c71c526bb78627e94d79b5c385abce9672af6ddd99ed9207963b9c975336d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 24 May 2022 20:52:30 +0000 Subject: [PATCH] No hope for Python 3.6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fasttext?expand=0&rev=3 --- python-fasttext.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-fasttext.spec b/python-fasttext.spec index 410499b..1e0915d 100644 --- a/python-fasttext.spec +++ b/python-fasttext.spec @@ -18,6 +18,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname fastText +# Using annotation futures and dataclasses +%define skip_python36 1 Name: python-fasttext Version: 0.9.2 Release: 0 @@ -32,7 +34,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: gcc-c++ BuildRequires: python-rpm-macros -BuildRequires: (python3-dataclasses if python3-base < 3.7) # SECTION test requirements BuildRequires: %{python_module numpy} BuildRequires: %{python_module pybind11 >= 2.2}