File python-itemadapter.changes of Package python-itemadapter

-------------------------------------------------------------------
Fri Feb  7 15:04:35 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to 0.11.0
  * Removed functions deprecated in 0.5.0: (#93)
    - `itemadapter.utils.is_attrs_instance()`
    - `itemadapter.utils.is_dataclass_instance()`
    - `itemadapter.utils.is_pydantic_instance()`
    - `itemadapter.utils.is_scrapy_item()`
  * Added support for Pydantic 2 (#91).
  * Added `__all__` to the top-level module to improve type checks (#90).
  * Improved `pre-commit` and CI configuration (#91), (#92).
- from version 0.10.0
  * Dropped Python 3.8 support, added official Python
    3.13 and PyPy 3.10 support (#79), (#87).
  * Fixed the typing check when run with Scrapy 2.12.0+ (#88).
  * Fixed `MANIFEST.in` that was missing some files (#84).
  * Enabled `pre-commit` (#85).
- Drop pydantic2.patch, fixed upstream
- Set BuildArch to noarch

-------------------------------------------------------------------
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>

- Add pydantic2.patch to make tests compatible with pydantic2
  gh#scrapy/itemadapter#76

-------------------------------------------------------------------
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>

- Update to 0.7.0 (2022-08-02)
  ItemAdapter.get_field_names_from_class (#64)

- Update to 0.6.0 (2022-05-12)
  Slight performance improvement (#62)

- Update to 0.5.0 (2022-03-18)
  Improve performance by removing imports inside functions (#60)

-------------------------------------------------------------------
Sat Oct 30 13:06:13 UTC 2021 - Ben Greiner <code@bnavigator.de>

- Update to v0.4.0
  * Added ItemAdapter.is_item_class and
    ItemAdapter.get_field_meta_from_class (#54)
  * Added built-in support for pydantic models (#53)
  * Adapter interface: added the ability to support arbitrary
    types, by implementing a MutableMapping-based interface. By way
    of this change, now any type can be used as a Scrapy item.
  * Dropped support for Python 3.5 (#38).
  * The new get_field_meta_from_class function offers the same
    functionality as ItemAdapter.get_field_meta but for an item
    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

-------------------------------------------------------------------
Wed Jul  8 06:54:27 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

- Switch to multibuild
- Fix the sitelib/sitearch and all the dependencies

-------------------------------------------------------------------
Tue Jul  7 23:30:56 UTC 2020 - Jacob W <jacob@jacobwinski.com>

- Update spec file:
  * Change to github archive, which includes tests.
  * Enable tests.
  * Add BuildRequires that is required for tests to pass.

-------------------------------------------------------------------
Thu Jul  2 20:16:51 UTC 2020 - Jacob W <jacob@jacobwinski.com>

- Initial package of python-itemadapter version 0.1.0
openSUSE Build Service is sponsored by