Skip to content

Commit 37b0445

Browse files
authored
Release notes for 0.18.1 (#102)
1 parent abd1138 commit 37b0445

File tree

4 files changed

+75
-31
lines changed

4 files changed

+75
-31
lines changed

.bumpversion.cfg

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
name: Publish
22
on:
3-
release:
4-
types: [published]
3+
push:
4+
tags:
5+
- 'v[0-9]+.[0-9]+.[0-9]+'
6+
7+
concurrency:
8+
group: ${{github.workflow}}-${{ github.ref }}
9+
cancel-in-progress: true
510

611
jobs:
712
publish:
8-
runs-on: ubuntu-24.04
9-
13+
name: Upload release to PyPI
14+
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write
1017
steps:
11-
- uses: actions/checkout@v4
12-
13-
- name: Set up Python
14-
uses: actions/setup-python@v4
15-
with:
16-
python-version: "3.10"
17-
18-
- name: Publish to PyPI
19-
run: |
20-
pip install --upgrade pip
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/*
18+
- uses: actions/checkout@v6
19+
- uses: actions/setup-python@v6
20+
with:
21+
python-version: "3.13"
22+
- name: Publish to PyPI
23+
run: |
24+
python -m pip install --upgrade build twine
25+
python -m build
26+
export TWINE_USERNAME=__token__
27+
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
28+
twine upload dist/*

CHANGES.rst

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,46 @@
22
Changes
33
=======
44

5+
0.18.1 (unreleased)
6+
===================
7+
8+
- Fixed ``DiskQuotaDownloaderMiddleware`` and ``DiskQuotaSpiderMiddleware``
9+
raising ``RuntimeError: no running event loop`` when not using an asyncio
10+
Twisted reactor.
11+
12+
0.18.0 (2026-01-15)
13+
===================
14+
15+
- Added support for Scrapy 2.14.
16+
17+
0.17.7 (2025-07-18)
18+
===================
19+
20+
- Support scripts installed with ``pip install``.
21+
22+
0.17.6 (2025-07-08)
23+
===================
24+
25+
- Made Python 3.13 support official, and dropped support for Python 3.6 and
26+
3.7.
27+
28+
- ``HubstorageDownloaderMiddleware`` is now a `universal spider middleware
29+
<https://docs.scrapy.org/en/latest/topics/coroutines.html#universal-spider-middleware>`__.
30+
31+
0.17.5 (2024-11-28)
32+
===================
33+
34+
- Added support for Scrapy 2.12.
35+
36+
- Not accepting a ``crawler`` in the ``__init__`` method of
37+
``HubstorageDownloaderMiddleware`` is now deprecated.
38+
539
0.17.4 (2024-07-08)
640
===================
741

842
- Fixed an exception when running scripts with importlib_ installed,
943
introduced in 0.17.3.
1044

11-
1245
0.17.3 (2024-06-17)
1346
===================
1447

@@ -17,7 +50,6 @@ Changes
1750
.. _pkg_resources: https://setuptools.pypa.io/en/latest/pkg_resources.html
1851
.. _importlib: https://docs.python.org/3/library/importlib.html
1952

20-
2153
0.17.2 (2024-02-20)
2254
===================
2355

pyproject.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1+
[tool.bumpversion]
2+
current_version = "0.18.0"
3+
commit = true
4+
tag = true
5+
tag_name = "v{new_version}"
6+
7+
[[tool.bumpversion.files]]
8+
filename = "CHANGES.rst"
9+
search = "\\(unreleased\\)$"
10+
replace = "({now:%Y-%m-%d})"
11+
regex = true
12+
13+
[[tool.bumpversion.files]]
14+
filename = "setup.py"
15+
16+
[[tool.bumpversion.files]]
17+
filename = "sh_scrapy/__init__.py"
18+
119
[tool.pytest.ini_options]
220
filterwarnings = [
321
# https://github.com/scrapinghub/python-scrapinghub/commit/d1d3df0db5be926999ab71086f83ae8a7120e781
422
"ignore::DeprecationWarning:scrapinghub\\.hubstorage\\.serialization",
5-
]
23+
]

0 commit comments

Comments
 (0)