Accepting request 1173911 from devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/1173911 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-itemadapter?expand=0&rev=6
This commit is contained in:
commit
5ba5a95b22
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3895c24d2b80015ca9b8422211d753afd172a1205b00b9f5aa71f258222f9c90
|
||||
size 17140
|
3
itemadapter-0.9.0.tar.gz
Normal file
3
itemadapter-0.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d848f6a9815161d97aaa18c663766e045c3daa92f98d921a3cd594b6161972f
|
||||
size 17324
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 07:56:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user