Skip to content

Commit bbcde88

Browse files
committed
Release notes for 1.11.0.
1 parent fcd5c34 commit bbcde88

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
jobs:
88
publish:
99
runs-on: ubuntu-latest
10+
environment:
11+
name: pypi
12+
url: https://pypi.org/p/parsel
13+
permissions:
14+
id-token: write
1015

1116
steps:
1217
- uses: actions/checkout@v6
@@ -16,10 +21,10 @@ jobs:
1621
with:
1722
python-version: "3.14"
1823

19-
- name: Publish to PyPI
24+
- name: Build
2025
run: |
21-
pip install --upgrade setuptools wheel twine
22-
python setup.py sdist bdist_wheel
23-
export TWINE_USERNAME=__token__
24-
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
25-
twine upload dist/*
26+
python -m pip install --upgrade build
27+
python -m build
28+
29+
- name: Publish to PyPI
30+
uses: pypa/gh-action-pypi-publish@release/v1

NEWS

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
History
44
-------
55

6+
1.11.0 (unreleased)
7+
~~~~~~~~~~~~~~~~~~~
8+
9+
* Removed support for Python 3.9 and PyPy 3.10.
10+
* Added support for Python 3.14 and PyPy 3.11.
11+
* The following dependencies now have a minimum supported version:
12+
13+
* ``lxml >= 5.1.0``
14+
* ``packaging >= 23.0``
15+
* ``jmespath >= 1.0.0``
16+
17+
* Removed ``Selector.remove()`` and ``SelectorList.remove()``, deprecated in
18+
1.7.0.
19+
* The ``Selector()`` constructor now accepts ``bytearray`` values for the
20+
``body`` argument in addition to ``bytes``.
21+
* ``attrib`` and ``remove_namespaces()`` no longer fail with unhandled
22+
exceptions on JSON selectors.
23+
* Switched the build system to ``hatchling``.
24+
* CI fixes and improvements.
25+
626
1.10.0 (2024-12-16)
727
~~~~~~~~~~~~~~~~~~~
828

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ tag_name = "v{new_version}"
7070
[[tool.bumpversion.files]]
7171
filename = "parsel/__init__.py"
7272

73+
[[tool.bumpversion.files]]
74+
filename = "NEWS"
75+
search = "\\(unreleased\\)$"
76+
replace = "({now:%Y-%m-%d})"
77+
regex = true
78+
7379
[tool.coverage.run]
7480
branch = true
7581

0 commit comments

Comments
 (0)