Skip to content

Commit

Permalink
Version 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti committed Nov 19, 2022
1 parent 87b5880 commit 6d488cb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 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 = 3.12rc2
current_version = 3.12
message = Release {new_version}
parse = ^
(?P<major>\d+)
Expand Down
12 changes: 7 additions & 5 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ can check out the `wish list <https://github.com/mborsetti/webchanges/blob/main/
Internals, for changes that don't affect users. [triggers a minor patch]
Version 3.12rc2
Version 3.12
===================
Unreleased
2022-11-19

Added
-----
* Support for Python 3.11.
* Support for Python 3.11. Please note that the dependency ``lxml`` may fail to install on Windows due to
`this <https://bugs.launchpad.net/lxml/+bug/1977998>`__ bug and that therefore for now **webchanges** can only be
run in Python 3.10 on Windows.

Removed
-------
Expand All @@ -49,8 +51,8 @@ Fixed
* Job sorting for reports is now case-insensitive.
* Documentation on how to anonymously monitor GitHub releases (due to changes in GitHub) (contributed by `Luis Aranguren
<https://github.com/mercurytoxic>`__ `upstream <https://github.com/thp/urlwatch/issues/723>`__).
* Handling of 'method' subfilter for filter 'html2text' (reported by `kongomondo <https://github.com/kongomondo>`__
`upstream <https://github.com/thp/urlwatch/issues/588>`__>).
* Handling of ``method`` subfilter for filter ``html2text`` (reported by `kongomondo <https://github.com/kongomondo>`__
`upstream <https://github.com/thp/urlwatch/issues/588>`__).

Internals
---------
Expand Down
13 changes: 5 additions & 8 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Added
-----
* Support for Python 3.11.
* Support for Python 3.11. Please note that the dependency ``lxml`` may fail to install on Windows due to
`this <https://bugs.launchpad.net/lxml/+bug/1977998>`__ bug and that therefore for now **webchanges** can only be
run in Python 3.10 on Windows.

Removed
-------
Expand All @@ -12,10 +14,5 @@ Fixed
* Job sorting for reports is now case-insensitive.
* Documentation on how to anonymously monitor GitHub releases (due to changes in GitHub) (contributed by `Luis Aranguren
<https://github.com/mercurytoxic>`__ `upstream <https://github.com/thp/urlwatch/issues/723>`__).

Internals
---------
* Jobs base class now has a ``__is_browser__`` attribute, which can be used with custom hooks to identify jobs that run
a browser so they can be executed in the correct parallel processing queue.
* Fixed static typing to conform to the latest mypy checks.
* Extended type checking to testing scripts.
* Handling of ``method`` subfilter for filter ``html2text`` (reported by `kongomondo <https://github.com/kongomondo>`__
`upstream <https://github.com/thp/urlwatch/issues/588>`__).
2 changes: 1 addition & 1 deletion docs/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Example ``hooks.py`` file:
"""
__kind__ = 'hooks_custom_browser'
__is_browser__ = True # This is required for executing in the correct parallel processing queue.
__is_browser__ = True # This is required for execution in the correct parallel processing queue.
def retrieve(self, job_state: JobState, headless: bool = True) -> tuple[bytes, str | str]:
""":returns: The data retrieved and the ETag."""
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -447,4 +447,4 @@ File. In. Every. Single. Directory; the above notice is amply sufficient.
[follows full text of the urlwatch license]

While a lot of improvements have been made from urlwatch 2.21, there's no lack of proper acknowledgement of the
package's roots in Thomas Perl's code -- in multiple ways.
package's roots in Thomas Perl's code -- in multiple ways -- and of its full, explicit licensing.
2 changes: 1 addition & 1 deletion webchanges/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# * MINOR version when you add functionality in a backwards compatible manner, and
# * MICRO or PATCH version when you make backwards compatible bug fixes. We no longer use '0'
# If unsure on increments, use pkg_resources.parse_version to parse
__version__ = '3.12rc2'
__version__ = '3.12'
__description__ = (
'Check web (or command output) for changes since last run and notify.\n'
'\n'
Expand Down

0 comments on commit 6d488cb

Please sign in to comment.