Skip to content

Commit

Permalink
Merge branch 'master' into url-matcher-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ authored Mar 2, 2022
2 parents 1f52f3b + cedeb91 commit 17689b5
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.1
current_version = 0.3.0
commit = True
tag = True
tag_name = {new_version}
Expand Down
16 changes: 9 additions & 7 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@
Changelog
=========

TBR
---

TBR:
------------------

* Cache mechanism using ``SCRAPY_POET_CACHE`` setting

* We also have these **backward incompatible** changes since the
rules follow a different structure:
* We have these **backward incompatible** changes since the
``OverrideRule`` follow a different structure:

* Deprecated ``PerDomainOverridesRegistry`` in lieu of the newer
``OverridesRegistry`` which provides a wide variety of features
for better URL matching.
* This resuls in a newer format in the ``SCRAPY_POET_OVERRIDES`` setting.

0.3.0 (2021-01-28)
------------------

* Cache mechanism using ``SCRAPY_POET_CACHE``
* Fixed and improved docs
* removed support for Python 3.6
* added support for Python 3.10

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ scrapy-poet
With ``scrapy-poet`` is possible to make a single spider that supports many sites with
different layouts.

Read the `documentation <http://scrapy-poet.readthedocs.io>`_ for more information.
Read the `documentation <https://scrapy-poet.readthedocs.io>`_ for more information.

License is BSD 3-clause.

* Documentation: http://scrapy-poet.readthedocs.io
* Documentation: https://scrapy-poet.readthedocs.io
* Source code: https://github.com/scrapinghub/scrapy-poet
* Issue tracker: https://github.com/scrapinghub/scrapy-poet/issues

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
# -- Project information -----------------------------------------------------

project = u'scrapy-poet'
copyright = u'2020, Scrapinghub'
author = u'Scrapinghub'
copyright = u'2022, Zyte'
author = u'Zyte'

# The short X.Y version
version = u''
# The full version, including alpha/beta/rc tags
release = u'0.2.1'
release = u'0.3.0'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ a bunch of Page Objects for it.
``scrapy-poet`` also provides a way to integrate third-party APIs
(like `Splash`_ and `AutoExtract`_) with the spider, without losing
testability and reusability.
Concrete integrations are not provided by ``scrapy-poet``, but
Concrete integrations are not provided by ``web-poet``, but
``scrapy-poet`` makes them possbile.

To get started, see :ref:`intro-install` and :ref:`intro-tutorial`.
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Things that are good to know

.. _web-poet: https://github.com/scrapinghub/web-poet
.. _andi: https://github.com/scrapinghub/andi
.. _parsel: https://github.com/scrapinghub/parsel
.. _parsel: https://github.com/scrapy/parsel
1 change: 1 addition & 0 deletions docs/providers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ If neither spider callback nor any of the input providers are using
]
@attr.define
class MyPageObject(ItemPage):
content: CachedData
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='scrapy-poet',
version='0.2.1',
version='0.3.0',
description='Page Object pattern for Scrapy',
long_description=open('README.rst').read(),
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit 17689b5

Please sign in to comment.