Scrapy-poet

Latest version: v0.23.0

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

Scan your dependencies

Page 4 of 7

0.14.0

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

* Python 3.7 support has been dropped.

* Caching is now built on top of web-poet serialization, extending caching
support to additional inputs, while making our code simpler, more reliable,
and more future-proof.

This has resulted in a few backward-incompatible changes:

* The ``scrapy_poet.page_input_providers.CacheDataProviderMixin`` mixin class
has been removed. Providers no longer need to use it or reimplement its
methods.

* The ``SCRAPY_POET_CACHE_GZIP`` setting has been removed.

* Added ``scrapy_poet.utils.open_in_browser``, an alternative to
``scrapy.utils.response.open_in_browser`` that supports scrapy-poet.

* Fixed some documentation links.

0.13.0

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

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

* The ``scrapy savefixture`` command now uses the adapter from the
``SCRAPY_POET_TESTS_ADAPTER`` setting to save the fixture.

* Fix a typo in the docs.

0.12.0

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

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

* The ``scrapy savefixture`` command can now generate tests that expect that
``to_item()`` raises a specific exception (only
:class:`web_poet.exceptions.PageObjectAction` and its descendants are
expected).

* Fixed an error when using ``scrapy shell`` with
:class:`scrapy_poet.InjectionMiddleware` enabled.

* Add a ``twine check`` CI check.

0.11.0

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

* The ``scrapy savefixture`` command can now generate a fixture :ref:`using an
existing spider <fixture-spiders>`.

0.10.1

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

* More robust time freezing in ``scrapy savefixture`` command.

0.10.0

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

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

* The ``savefixture`` command now also saves requests made via the
:class:`web_poet.page_inputs.client.HttpClient` dependency and their
responses.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.