Scrapy-poet

Latest version: v0.24.0

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.19.0

-------------------

* Now requires ``andi >= 0.6.0``.

* Changed the implementation of resolving and building item dependencies from
page objects. Now ``andi`` custom builders are used to create a single plan
that includes building page objects and items. This fixes problems such as
providers being called multiple times.

* :class:`~scrapy_poet.page_input_providers.ItemProvider` is now no-op. It's
no longer enabled by default and users should also stop enabling it.
* ``PageObjectInputProvider.allow_prev_instances`` and code related to it
were removed so custom providers may need updating.

* Fixed some tests.

0.18.0

-------------------

* Now requires ``andi >= 0.5.0``.

* Add support for dependency metadata via ``typing.Annotated`` (requires
Python 3.9+).

0.17.0

-------------------

* Now requires ``web-poet >= 0.15.1``.

* :class:`~web_poet.page_inputs.http.HttpRequest` dependencies are now
supported, via :class:`~scrapy_poet.page_input_providers.HttpRequestProvider`
(enabled by default).

* Enable :class:`~scrapy_poet.page_input_providers.StatsProvider`, which
provides :class:`~web_poet.page_inputs.stats.Stats` dependencies, by default.

* More robust disabling of
:class:`~scrapy_poet.downloadermiddlewares.InjectionMiddleware` in the
``scrapy savefixture`` command.

* Official support for Python 3.12.

0.16.1

-------------------

* Fix the bug that caused requests produced by
:class:`~scrapy_poet.page_input_providers.HttpClientProvider` to
be treated as if they need arguments of the ``parse`` callback as
dependencies, which could cause returning an empty response and/or making
extra provider calls.

0.16.0

-------------------

* Now requires ``time_machine >= 2.2.0``.

* ``ItemProvider`` now supports page objects that declare a dependency on the
same type of item that they return, as long as there is an earlier page
object input provider that can provide such dependency.

* Fix running tests with Scrapy 2.11.

0.15.1

-------------------

* :ref:`scrapy-poet stats <stats>` now also include counters for injected
dependencies (``poet/injector/<dependency import path>``).

* All scrapy-poet stats that used to be prefixed with ``scrapy-poet/`` are now
prefixed with ``poet/`` instead.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.