Commit Graph

3 Commits

Author SHA256 Message Date
011f306c06 Accepting request 928266 from home:bnavigator:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/928266
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-itemadapter?expand=0&rev=5
2021-10-30 16:08:24 +00:00
Tomáš Chvátal
daaa1432ab - Switch to multibuild
- Fix the sitelib/sitearch and all the dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-itemadapter?expand=0&rev=3
2020-07-08 06:54:46 +00:00
Tomáš Chvátal
bfc3be94c2 Accepting request 819305 from home:winski:python
itemadapter is a wrapper for data container objects & required for updating python-Scrapy (already in repos) because it is not a dependency. itemadapter is made by the Scrapy team. I have also updated python-Scrapy (with this package as a dep) and have submitted that as another request.
UPDATED: added tests to package as requested by d:l:p maintainer.

OBS-URL: https://build.opensuse.org/request/show/819305
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-itemadapter?expand=0&rev=1
2020-07-08 06:38:04 +00:00