Skip to content

Commit

Permalink
Merge pull request #273 from scrapy/publish-fix
Browse files Browse the repository at this point in the history
Publish fix and release notes for 1.8.1
  • Loading branch information
kmike authored Apr 18, 2023
2 parents 7c8c118 + ba41212 commit a965f63
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- python-version: "3.11"
env:
TOXENV: black
- python-version: "3.11"
env:
TOXENV: twinecheck

steps:
- uses: actions/checkout@v2
Expand Down
12 changes: 10 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
History
-------

1.8.1 (2023-04-18)
~~~~~~~~~~~~~~~~~~

* Remove a Sphinx reference from NEWS to fix the PyPI description
* Add a ``twine check`` CI check to detect such problems

1.8.0 (2023-04-18)
~~~~~~~~~~~~~~~~~~

* Add support for JMESPath: you can now create a selector for a JSON document
and call ``Selector.jmespath()``. See :ref:`the documentation
<topics-selectors>` for more information and examples.
and call ``Selector.jmespath()``. See `the documentation`_ for more
information and examples.
* Selectors can now be constructed from ``bytes`` (using the ``body`` and
``encoding`` arguments) instead of ``str`` (using the ``text`` argument), so
that there is no internal conversion from ``str`` to ``bytes`` and the memory
Expand All @@ -22,6 +28,8 @@ History
* ``jmespath``
* ``typing_extensions`` (on Python 3.7)

.. _the documentation: https://parsel.readthedocs.io/en/latest/usage.html

1.7.0 (2022-11-01)
~~~~~~~~~~~~~~~~~~

Expand Down
11 changes: 10 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = security,flake8,typing,pylint,black,docs,py37,py38,py39,py310,pypy3.9
envlist = security,flake8,typing,pylint,black,docs,twinecheck,py37,py38,py39,py310,pypy3.9

[testenv]
usedevelop = True
Expand Down Expand Up @@ -59,3 +59,12 @@ commands =
sphinx-build -W -b html . {envtmpdir}/html
sphinx-build -b latex . {envtmpdir}/latex
sphinx-build -b epub . {envtmpdir}/epub

[testenv:twinecheck]
basepython = python3
deps =
twine==4.0.2
build==0.10.0
commands =
python -m build --sdist
twine check dist/*

0 comments on commit a965f63

Please sign in to comment.