From d45ea97300c32c27ab5b0557a253bcd3ae8552ced0ff282556a37850e3776a2e Mon Sep 17 00:00:00 2001 From: Malcolm Lewis Date: Fri, 19 Nov 2021 18:04:34 +0000 Subject: [PATCH] Accepting request 932476 from home:ecsos:messenger:matrix - Fix build error for Leap outside repo d:l:p. - Disable build of python2 and python36. End of support since: python2 (2020-01-01), python36 (2021-12-23) - Insert reuired versions for required python-modules. OBS-URL: https://build.opensuse.org/request/show/932476 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=6 --- python-asttokens.changes | 8 ++++++++ python-asttokens.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/python-asttokens.changes b/python-asttokens.changes index 46fa6ee..29297fc 100644 --- a/python-asttokens.changes +++ b/python-asttokens.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 19 10:21:46 UTC 2021 - ecsos + +- Fix build error for Leap outside repo d:l:p. +- Disable build of python2 and python36. + End of support since: python2 (2020-01-01), python36 (2021-12-23) +- Insert reuired versions for required python-modules. + ------------------------------------------------------------------- Sun Sep 5 22:20:08 UTC 2021 - malcolmlewis@opensuse.org diff --git a/python-asttokens.spec b/python-asttokens.spec index ea6c5aa..575f6cb 100644 --- a/python-asttokens.spec +++ b/python-asttokens.spec @@ -18,6 +18,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +%define skip_python36 1 Name: python-asttokens Version: 2.0.5 Release: 0 @@ -29,7 +31,8 @@ Source: https://files.pythonhosted.org/packages/source/a/asttokens/astto BuildRequires: %{python_module astroid} BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools >= 44} +BuildRequires: %{python_module setuptools_scm >= 3.4.3} BuildRequires: %{python_module six} BuildRequires: %{python_module toml} BuildRequires: %{python_module wheel}