diff --git a/CHANGELOG b/CHANGELOG index 85f3b89..348e4cd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v0.4.1 (unreleased): + +- Various bugfixes + v0.4 (released August 28, 2024): - Migrated to Python 3 (3.11+). Substantial code cleanup. diff --git a/docs/conf.py b/docs/conf.py index 4fc7cdb..ada1406 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,9 +47,9 @@ copyright = "2009-2016 Ben Kurtovic" # built documents. # # The short X.Y version. -version = "0.4" +version = "0.4.1" # The full version, including alpha/beta/rc tags. -release = "0.4" +release = "0.4.1.dev0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/index.rst b/docs/index.rst index 085ab77..8397eec 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,5 +1,5 @@ -EarwigBot v0.4 Documentation -============================ +EarwigBot v0.4.1 Documentation +============================== EarwigBot_ is a Python bot that edits Wikipedia_ and interacts over IRC_. diff --git a/src/earwigbot/__init__.py b/src/earwigbot/__init__.py index e242599..c167b10 100644 --- a/src/earwigbot/__init__.py +++ b/src/earwigbot/__init__.py @@ -40,7 +40,7 @@ __all__ = [ __author__ = "Ben Kurtovic" __copyright__ = "Copyright (C) 2009-2024 Ben Kurtovic" __license__ = "MIT License" -__version__ = "0.4" +__version__ = "0.4.1.dev0" __email__ = "ben.kurtovic@gmail.com" __release__ = False diff --git a/src/earwigbot/wiki/copyvios/__init__.py b/src/earwigbot/wiki/copyvios/__init__.py index b1715e4..40f3f27 100644 --- a/src/earwigbot/wiki/copyvios/__init__.py +++ b/src/earwigbot/wiki/copyvios/__init__.py @@ -18,6 +18,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +from __future__ import annotations + __all__ = [ "DEFAULT_DEGREE", "CopyvioChecker", @@ -29,6 +31,7 @@ __all__ = [ import functools import logging import time +import typing from collections.abc import Callable from earwigbot.wiki.copyvios.exclusions import ExclusionsDB @@ -37,7 +40,9 @@ from earwigbot.wiki.copyvios.parsers import ArticleParser, ParserArgs from earwigbot.wiki.copyvios.result import CopyvioCheckResult from earwigbot.wiki.copyvios.search import SearchEngine, get_search_engine from earwigbot.wiki.copyvios.workers import CopyvioWorkspace, globalize, localize -from earwigbot.wiki.page import Page + +if typing.TYPE_CHECKING: + from earwigbot.wiki.page import Page class CopyvioChecker: