- remove outdated constructs, we no longer support < 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=46
This commit is contained in:
Dirk Mueller 2023-06-22 07:05:04 +00:00 committed by Git OBS Bridge
parent 2d1eceef6a
commit 9c4faee9c5
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 22 07:04:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
- remove outdated constructs, we no longer support < 3.8
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 8 09:37:31 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Mon May 8 09:37:31 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -24,7 +24,6 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%global skip_python36 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-attrs%{psuffix} Name: python-attrs%{psuffix}
Version: 23.1.0 Version: 23.1.0
@ -37,15 +36,11 @@ Source: https://files.pythonhosted.org/packages/source/a/attrs/attrs-%{v
BuildRequires: %{python_module hatch-fancy-pypi-readme} BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module importlib_metadata if %python-base < 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
%if 0%{python_version_nodots} < 38
Requires: python-importlib_metadata
%endif
%if %{with test} %if %{with test}
BuildRequires: %{python_module Pympler} BuildRequires: %{python_module Pympler}
BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module hypothesis}