From 62116b9cf3bef722cca3e4ab52cb39e10cea21c57ea413c3252ad4079c1ab3de Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 14 Jan 2024 15:16:54 +0000 Subject: [PATCH] Accepting request 1138316 from home:bnavigator:branches:devel:languages:python - Don't require types-python-dateutil gh#arrow-py/arrow#1169 in order to shrink the Factory Ring1 OBS-URL: https://build.opensuse.org/request/show/1138316 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=65 --- python-arrow.changes | 6 ++++++ python-arrow.spec | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-arrow.changes b/python-arrow.changes index 4df341f..7057b50 100644 --- a/python-arrow.changes +++ b/python-arrow.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 12 12:18:48 UTC 2024 - Ben Greiner + +- Don't require types-python-dateutil gh#arrow-py/arrow#1169 + in order to shrink the Factory Ring1 + ------------------------------------------------------------------- Tue Nov 14 20:53:06 UTC 2023 - Ondřej Súkup diff --git a/python-arrow.spec b/python-arrow.spec index e4c8a68..886e1f5 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,17 +31,16 @@ Summary: Better dates and times for Python License: Apache-2.0 URL: https://github.com/arrow-py/arrow Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz -BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module flit-core >= 3.2} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-python-dateutil >= 2.7.0 -Requires: python-types-python-dateutil >= 2.8.10 BuildArch: noarch %if %{with test} BuildRequires: %{python_module arrow == %{version}} BuildRequires: %{python_module dateparser} -BuildRequires: %{python_module dateutil >= 2.7.0} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz >= 2021.1} @@ -63,6 +62,8 @@ Arrow is heavily inspired by moment.js and requests. %prep %setup -q -n arrow-%{version} rm -rf arrow.egg-info +# typing stubs not required for runtime gh#arrow-py/arrow#1169 +sed -i '/dependencies = /,/]/ {/types-python-dateutil/d}' pyproject.toml %build %pyproject_wheel