File tree Expand file tree Collapse file tree 5 files changed +29
-11
lines changed Expand file tree Collapse file tree 5 files changed +29
-11
lines changed Original file line number Diff line number Diff line change 1111jobs :
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- 27- with :
28- password : ${{ secrets.PYPI_TOKEN }}
31+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 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 }}
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 :
Original file line number Diff line number Diff line change 11Changes
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+
4140.4.1 (2024-04-30)
515------------------
616
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ dependencies = [
3232dynamic = [" version" ]
3333
3434[project .urls ]
35+ Homepage = " https://github.com/zytedata/clear-html"
3536Source = " 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 ]
3841current_version = " 0.4.1"
@@ -45,6 +48,12 @@ filename = "clear_html/__init__.py"
4548search = " __version__ = \" {current_version}\" "
4649replace = " __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 ]
4958branch = true
5059
@@ -62,10 +71,6 @@ include = [
6271[tool .mypy ]
6372strict = true
6473
65- [[tool .mypy .overrides ]]
66- module = " html_text"
67- implicit_reexport = true # to be fixed
68-
6974[tool .pytest .ini_options ]
7075junit_family = " xunit2"
7176testpaths = [
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ commands = pre-commit run --all-files
2727deps =
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
You can’t perform that action at this time.
0 commit comments