From b4dc0ce3fa3f9e68074f4945a43e9762914e88c8 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Wed, 28 Jan 2026 19:38:00 +0500 Subject: [PATCH 1/3] Release notes for 1.4.0. --- CHANGES | 13 +++++++++++++ docs/conf.py | 2 +- pyproject.toml | 6 ++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index a6d5f41..ccb5980 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,19 @@ Changelog ========= +Version 1.4.0 +------------- + +Unreleased. + +* Dropped support for Python 3.9 and PyPy 3.10. + +* Added support for Python 3.14 and PyPy 3.11. + +* Switched the build system to ``hatchling``. + +* CI fixes and improvements. + Version 1.3.0 ------------- diff --git a/docs/conf.py b/docs/conf.py index 5713d17..da3f023 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -32,7 +32,7 @@ templates_path = ["_templates"] # The suffix of source filenames. -source_suffix = ".rst" +source_suffix = {".rst": "restructuredtext"} # The encoding of source files. # source_encoding = 'utf-8-sig' diff --git a/pyproject.toml b/pyproject.toml index e22a153..2b36a9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,6 +55,12 @@ tag = true [[tool.bumpversion.files]] filename = "cssselect/__init__.py" +[[tool.bumpversion.files]] +filename = "NEWS" +search = "^Unreleased\\.$" +replace = "Released on ({now:%Y-%m-%d})" +regex = true + [tool.coverage.run] branch = true source = ["cssselect"] From cede767169d8d2c1125ad4dd95e139441cb08778 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Wed, 28 Jan 2026 20:16:03 +0500 Subject: [PATCH 2/3] Fix bumpversion configuration for the changelog. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2b36a9e..5ee907a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,9 +56,9 @@ tag = true filename = "cssselect/__init__.py" [[tool.bumpversion.files]] -filename = "NEWS" +filename = "CHANGES" search = "^Unreleased\\.$" -replace = "Released on ({now:%Y-%m-%d})" +replace = "Released on {now:%Y-%m-%d}." regex = true [tool.coverage.run] From 743c6e524ee534ed34fd4d4121ee629fee5cddec Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Thu, 29 Jan 2026 11:59:11 +0500 Subject: [PATCH 3/3] =?UTF-8?q?Bump=20version:=201.3.0=20=E2=86=92=201.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES | 2 +- cssselect/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index ccb5980..5ca2959 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,7 @@ Changelog Version 1.4.0 ------------- -Unreleased. +Released on 2026-01-29. * Dropped support for Python 3.9 and PyPy 3.10. diff --git a/cssselect/__init__.py b/cssselect/__init__.py index 67acaaa..59d62df 100644 --- a/cssselect/__init__.py +++ b/cssselect/__init__.py @@ -32,5 +32,5 @@ "parse", ) -VERSION = "1.3.0" +VERSION = "1.4.0" __version__ = VERSION diff --git a/pyproject.toml b/pyproject.toml index 5ee907a..c7c54a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ exclude = [ packages = ["cssselect"] [tool.bumpversion] -current_version = "1.3.0" +current_version = "1.4.0" commit = true tag = true