From 668b49b0482a148fbfec292aa0f2a968a9416ad5 Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Wed, 6 Mar 2024 22:04:19 +0100 Subject: [PATCH 1/2] Remove `docs` from Package (#4150) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ef619d2ef67..d62ad39ed32 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def get_packages_requirements(raw: bool = False) -> Tuple[List[str], List[str]]: """Build the package & requirements list for this project""" reqs = get_requirements() - exclude = ["tests*"] + exclude = ["tests*", "docs*"] if raw: exclude.append("telegram.ext*") From c0716dd34483b302a9c290d4e61b96a7ee941567 Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Wed, 6 Mar 2024 22:15:30 +0100 Subject: [PATCH 2/2] Bump version to v21.0.1 --- CHANGES.rst | 13 +++++++++++++ docs/source/conf.py | 4 ++-- telegram/_version.py | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index df5bc7a7455..d100fa3f5ba 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,19 @@ Changelog ========= +Version 21.0.1 +============== + +*Released 2024-03-06* + +This is the technical changelog for version 21.0.1. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel `__. + +Bug Fixes +--------- + +- Remove ``docs`` from Package (:pr:`4150`) + + Version 21.0 ============ diff --git a/docs/source/conf.py b/docs/source/conf.py index 055dc6e75ed..44bd4400cd5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -20,9 +20,9 @@ # built documents. # # The short X.Y version. -version = "21.0" # telegram.__version__[:3] +version = "21.0.1" # telegram.__version__[:3] # The full version, including alpha/beta/rc tags. -release = "21.0" # telegram.__version__ +release = "21.0.1" # telegram.__version__ # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = "6.1.3" diff --git a/telegram/_version.py b/telegram/_version.py index 3d5edbd9925..1469f71bb73 100644 --- a/telegram/_version.py +++ b/telegram/_version.py @@ -51,7 +51,7 @@ def __str__(self) -> str: __version_info__: Final[Version] = Version( - major=21, minor=0, micro=0, releaselevel="final", serial=0 + major=21, minor=0, micro=1, releaselevel="final", serial=0 ) __version__: Final[str] = str(__version_info__)