Scrapy-poet

Latest version: v0.22.5

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

Scan your dependencies

Page 2 of 6

0.21.0

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

* Added a ``.weak_cache`` to :class:`scrapy_poet.injection.Injector` which
stores instances created by providers as long as the :class:`scrapy.Request
<scrapy.http.Request>` exists.

* Fixed the incorrect value of ``downloader/response_count`` in the stats due
to additional counting of :class:`scrapy_poet.api.DummyResponse`.

* Fixed the detection of :class:`scrapy_poet.api.DummyResponse` when some type
hints are annotated using strings.

0.20.1

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

* :class:`~scrapy_poet.ScrapyPoetRequestFingerprinter` now supports item
dependencies.

0.20.0

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

* Add :class:`~scrapy_poet.ScrapyPoetRequestFingerprinter`, a request
fingerprinter that uses request dependencies in the fingerprint generation.

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.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.