diff --git a/docs/changelog.rst b/docs/changelog.rst index 904c4dd7..1ae61118 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -21,12 +21,18 @@ To avail of fixes in an unreleased version, please download a ZIP file In progress (unreleased) ------------------------ + + +v0.3.23 (2025-04-28) +-------------------- + * :gh:issue:`1121` :mod:`mitogen`: Log skipped :py:mod:`termios` attributes * :gh:issue:`1238` packaging: Avoid :py:mod:`ast`, requires Python = 2.6 * :gh:issue:`1118` CI: Statically specify test usernames and group names * :gh:issue:`1118` CI: Don't copy SSH private key to temporary dir * :gh:issue:`1118` CI: Don't share temporary directory between test groupings * :gh:issue:`1256` CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 +* :gh:issue:`1263` packaging: Fix InvalidVersion in release versions v0.3.22 (2025-02-04) diff --git a/mitogen/__init__.py b/mitogen/__init__.py index 125ab052..87e7572a 100644 --- a/mitogen/__init__.py +++ b/mitogen/__init__.py @@ -35,7 +35,7 @@ be expected. On the slave, it is built dynamically during startup. #: Library version as a tuple. -__version__ = (0, 3, 23, 'dev') +__version__ = (0, 3, 24, 'dev') #: This is :data:`False` in slave contexts. Previously it was used to prevent diff --git a/setup.py b/setup.py index 375a96ff..1639d383 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,8 @@ def grep_version(): match = version_pattern.search(fp.read()) if match is None: raise ValueError('Could not find __version__ string in %s', path) - return '.'.join(str(part) for part in match.groups()) + # E.g. '0.1.2', '0.1.3dev' + return '.'.join(str(part) for part in match.groups() if part) def long_description():