Accepting request 1131744 from devel:languages:python

- update to 0.8.0:
  * Dropped Python 3.6 support, and made Python 3.11 support
    official
  * It is now possible to declare custom `ItemAdapter` subclasses
    with their own `ADAPTER_CLASSES` attribute, allowing to
    support different item types in different parts of the same
    code base
  * Improved type hint support

  Improve performance by removing imports inside functions (#60)
- Disable python36 build due to Scrapy

OBS-URL: https://build.opensuse.org/request/show/1131744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-itemadapter?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2023-12-08 21:32:13 +00:00 committed by Git OBS Bridge
commit e390e96348
4 changed files with 19 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02c8d9632d81e8b0f9e5037cdb114fdc81375d6af838e1d4c6850b40aac28f0a
size 16849

3
itemadapter-0.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3895c24d2b80015ca9b8422211d753afd172a1205b00b9f5aa71f258222f9c90
size 17140

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Dec 7 22:47:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.8.0:
* Dropped Python 3.6 support, and made Python 3.11 support
official
* It is now possible to declare custom `ItemAdapter` subclasses
with their own `ADAPTER_CLASSES` attribute, allowing to
support different item types in different parts of the same
code base
* Improved type hint support
-------------------------------------------------------------------
Thu Sep 29 02:54:38 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
@ -8,7 +20,7 @@ Thu Sep 29 02:54:38 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
Slight performance improvement (#62)
- Update to 0.5.0 (2022-03-18)
Improve performance by removing imports inside functions (#60)
Improve performance by removing imports inside functions (#60)
-------------------------------------------------------------------
Sat Oct 30 13:06:13 UTC 2021 - Ben Greiner <code@bnavigator.de>
@ -26,7 +38,7 @@ Sat Oct 30 13:06:13 UTC 2021 - Ben Greiner <code@bnavigator.de>
class, as opposed to an item object (#34, #35).
* ItemAdapter.__repr__ no longer raises exceptions caused by the
underlying item (#31, #41).
- Disable python36 build due to Scrapy
- Disable python36 build due to Scrapy
-------------------------------------------------------------------
Wed Jul 8 06:54:27 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@ -30,7 +30,7 @@
# Scrapy on TW has disabled python36 due to uvloop
%define skip_python36 1
Name: python-itemadapter%{psuffix}
Version: 0.7.0
Version: 0.8.0
Release: 0
Summary: Wrapper for data container objects
License: BSD-3-Clause