File tree Expand file tree Collapse file tree 3 files changed +37
-6
lines changed
Expand file tree Collapse file tree 3 files changed +37
-6
lines changed Original file line number Diff line number Diff line change 77jobs :
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
Original file line number Diff line number Diff line change 33History
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+
6261.10.0 (2024-12-16)
727~~~~~~~~~~~~~~~~~~~
828
Original file line number Diff line number Diff line change @@ -70,6 +70,12 @@ tag_name = "v{new_version}"
7070[[tool .bumpversion .files ]]
7171filename = " 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 ]
7480branch = true
7581
You can’t perform that action at this time.
0 commit comments