diff --git a/itemadapter-0.8.0.tar.gz b/itemadapter-0.8.0.tar.gz deleted file mode 100644 index 2300a80..0000000 --- a/itemadapter-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3895c24d2b80015ca9b8422211d753afd172a1205b00b9f5aa71f258222f9c90 -size 17140 diff --git a/itemadapter-0.9.0.tar.gz b/itemadapter-0.9.0.tar.gz new file mode 100644 index 0000000..b63e4f1 --- /dev/null +++ b/itemadapter-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d848f6a9815161d97aaa18c663766e045c3daa92f98d921a3cd594b6161972f +size 17324 diff --git a/python-itemadapter.changes b/python-itemadapter.changes index e613403..ea63e7e 100644 --- a/python-itemadapter.changes +++ b/python-itemadapter.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue May 14 07:56:28 UTC 2024 - Dirk Müller + +- update to 0.9.0: + * Dropped Python 3.7 support, added official Python 3.12 + support + * Updated the documentation and the type hint about + `ItemAdapter.ADAPTER_CLASSES` to say that subclasses can + use any iterable, not just `collections.deque` + * Documented that `Pydantic >= 2` is not supported yet + * Updated CI configuration + ------------------------------------------------------------------- Wed Mar 20 13:31:31 UTC 2024 - Daniel Garcia diff --git a/python-itemadapter.spec b/python-itemadapter.spec index f0a748c..6e74844 100644 --- a/python-itemadapter.spec +++ b/python-itemadapter.spec @@ -25,11 +25,9 @@ %define psuffix %{nil} %bcond_with test %endif -%define skip_python2 1 -# Scrapy on TW has disabled python36 due to uvloop -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-itemadapter%{psuffix} -Version: 0.8.0 +Version: 0.9.0 Release: 0 Summary: Wrapper for data container objects License: BSD-3-Clause @@ -37,12 +35,15 @@ URL: https://github.com/scrapy/itemadapter Source: https://github.com/scrapy/itemadapter/archive/v%{version}.tar.gz#/itemadapter-%{version}.tar.gz # PATCH-FIX-UPSTREAM pydantic2.patch gh#scrapy/itemadapter#76 Patch0: pydantic2.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 40.5.0} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Scrapy >= 2.0} BuildRequires: %{python_module attrs} +BuildRequires: %{python_module itemadapter >= %{version}} BuildRequires: %{python_module pydantic} BuildRequires: %{python_module pytest >= 5.4} %endif @@ -57,11 +58,11 @@ manner, regardless of their underlying implementation. %autosetup -p1 -n itemadapter-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -75,7 +76,7 @@ manner, regardless of their underlying implementation. %license LICENSE %doc README.md %{python_sitelib}/itemadapter -%{python_sitelib}/itemadapter-%{version}-py*.egg-info +%{python_sitelib}/itemadapter-%{version}.dist-info %endif %changelog