Skip to content

Commit 4c69ebe

Browse files
committed
Release notes for 0.5.0.
1 parent 05ce5cb commit 4c69ebe

File tree

5 files changed

+29
-11
lines changed

5 files changed

+29
-11
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,21 @@ on:
1111
jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
14+
environment:
15+
name: pypi
16+
url: https://pypi.org/p/clear-html
17+
permissions:
18+
id-token: write
1419

1520
steps:
1621
- uses: actions/checkout@v5
1722
- name: Set up Python
1823
uses: actions/setup-python@v6
1924
with:
20-
python-version: '3.13'
25+
python-version: '3.14'
2126
- name: Install dependencies
2227
run: |
2328
pip install --upgrade build twine
2429
python -m build
2530
- name: Publish to PyPI
26-
uses: pypa/[email protected]
27-
with:
28-
password: ${{ secrets.PYPI_TOKEN }}
31+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- python-version: "3.11"
2121
- python-version: "3.12"
2222
- python-version: "3.13"
23-
- python-version: "3.14.0-rc.3"
23+
- python-version: "3.14"
2424
steps:
2525
- uses: actions/checkout@v5
2626
- name: Set up Python ${{ matrix.python-version }}
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
python-version: ['3.13']
47+
python-version: ["3.14"]
4848
tox-job: ["lint", "mypy", "twinecheck"]
4949

5050
steps:

CHANGES.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Changes
22
=======
33

4+
0.5.0 (unreleased)
5+
------------------
6+
7+
* Added support for Python 3.12-3.14.
8+
* Dropped support for Python 3.8.
9+
* Improved memory usage.
10+
* Migrated the build system to ``hatchling``.
11+
* Improved type hints.
12+
* CI improvements.
13+
414
0.4.1 (2024-04-30)
515
------------------
616

pyproject.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ dependencies = [
3232
dynamic = ["version"]
3333

3434
[project.urls]
35+
Homepage = "https://github.com/zytedata/clear-html"
3536
Source = "https://github.com/zytedata/clear-html"
37+
Tracker = "https://github.com/zytedata/clear-html/issues"
38+
"Release notes" = "https://github.com/zytedata/clear-html/blob/main/CHANGES.rst"
3639

3740
[tool.bumpversion]
3841
current_version = "0.4.1"
@@ -45,6 +48,12 @@ filename = "clear_html/__init__.py"
4548
search = "__version__ = \"{current_version}\""
4649
replace = "__version__ = \"{new_version}\""
4750

51+
[[tool.bumpversion.files]]
52+
filename = 'CHANGES.rst'
53+
search = "\\(unreleased\\)$"
54+
replace = "({now:%Y-%m-%d})"
55+
regex = true
56+
4857
[tool.coverage.run]
4958
branch = true
5059

@@ -62,10 +71,6 @@ include = [
6271
[tool.mypy]
6372
strict = true
6473

65-
[[tool.mypy.overrides]]
66-
module = "html_text"
67-
implicit_reexport = true # to be fixed
68-
6974
[tool.pytest.ini_options]
7075
junit_family = "xunit2"
7176
testpaths = [

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ commands = pre-commit run --all-files
2727
deps =
2828
mypy==1.18.2
2929
attrs>=18.2.0
30-
html-text==0.7.0
30+
html-text==0.7.1
3131
parsel==1.10.0
3232
pytest==8.4.2
3333
types-lxml==2025.8.25

0 commit comments

Comments
 (0)