Skip to content

Commit befde3b

Browse files
authored
Use aio-libs/create-release action (#630)
1 parent 46ad882 commit befde3b

File tree

15 files changed

+477
-381
lines changed

15 files changed

+477
-381
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,21 @@ jobs:
191191
needs: [build-tarball, build-wheels]
192192
runs-on: ubuntu-latest
193193
steps:
194+
- name: Checkout
195+
uses: actions/checkout@v2.3.4
196+
- name: Login
197+
run: |
198+
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
194199
- name: Download dists
195200
uses: actions/download-artifact@v2
201+
- name: Make Release
202+
uses: aio-libs/create-release@v1.2.1
196203
with:
197-
name: dist
198-
path: dist
199-
- name: Count dists
200-
run: echo "$(ls dist|wc -l) distributions to upload"
201-
- name: Publish a Python distribution to PyPI
202-
uses: pypa/gh-action-pypi-publish@release/v1
203-
with:
204-
password: ${{ secrets.PYPI_API_TOKEN }}
204+
changes_file: CHANGES.rst
205+
name: multidict
206+
version_file: multidict/__init__.py
207+
github_token: ${{ secrets.GITHUB_TOKEN }}
208+
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
209+
artifact: dist
210+
fix_issue_regex: "`#(\\d+) <https://github.com/aio-libs/multidict/issues/\\1>`"
211+
fix_issue_repl: "(#\\1)"

CHANGES.rst

Lines changed: 23 additions & 188 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,37 @@ Changelog
1414

1515
.. towncrier release notes start
1616
17+
5.2.0a25 (2021-10-03)
18+
=====================
19+
20+
Features
21+
--------
22+
23+
- 1. Added support Python 3.10
24+
2. Started shipping platform-specific wheels with the ``musl`` tag targeting typical Alpine Linux runtimes.
25+
3. Started shipping platform-specific arm64 wheels for Apple Silicon. (`#629 <https://github.com/aio-libs/multidict/issues/629>`_)
26+
27+
28+
Bugfixes
29+
--------
30+
31+
- Fixed pure-python implementation that used to raise "Dictionary changed during iteration" error when iterated view (``.keys()``, ``.values()`` or ``.items()``) was created before the dictionary's content change. (`#620 <https://github.com/aio-libs/multidict/issues/620>`_)
32+
33+
1734
5.1.0 (2020-12-03)
1835
==================
1936

2037
Features
2138
--------
2239

23-
- Support ``GenericAliases`` (``MultiDict[str]``) for Python 3.9+
40+
- Supported ``GenericAliases`` (``MultiDict[str]``) for Python 3.9+
2441
`#553 <https://github.com/aio-libs/multidict/issues/553>`_
2542

2643

2744
Bugfixes
2845
--------
2946

30-
- Synchronize the declared supported Python versions in ``setup.py`` with actually supported and tested ones.
47+
- Synchronized the declared supported Python versions in ``setup.py`` with actually supported and tested ones.
3148
`#552 <https://github.com/aio-libs/multidict/issues/552>`_
3249

3350

@@ -40,7 +57,7 @@ Bugfixes
4057
Bugfixes
4158
--------
4259

43-
- Provide x86 Windows wheels
60+
- Provided x86 Windows wheels
4461
`#550 <https://github.com/aio-libs/multidict/issues/550>`_
4562

4663

@@ -53,16 +70,16 @@ Bugfixes
5370
Features
5471
--------
5572

56-
- Provide wheels for ``aarch64``, ``i686``, ``ppc64le``, ``s390x`` architectures on Linux
73+
- Provided wheels for ``aarch64``, ``i686``, ``ppc64le``, ``s390x`` architectures on Linux
5774
as well as ``x86_64``.
5875
`#500 <https://github.com/aio-libs/multidict/issues/500>`_
59-
- Provide wheels for Python 3.9.
76+
- Provided wheels for Python 3.9.
6077
`#534 <https://github.com/aio-libs/multidict/issues/534>`_
6178

6279
Removal
6380
-------
6481

65-
- Drop Python 3.5 support; Python 3.6 is the minimal supported Python version.
82+
- Dropped Python 3.5 support; Python 3.6 is the minimal supported Python version.
6683

6784
Misc
6885
----
@@ -71,185 +88,3 @@ Misc
7188

7289

7390
----
74-
75-
76-
4.7.6 (2020-05-15)
77-
==================
78-
79-
Bugfixes
80-
--------
81-
82-
- Fixed an issue with some versions of the ``wheel`` dist
83-
failing because of being unable to detect the license file.
84-
`#481 <https://github.com/aio-libs/multidict/issues/481>`_
85-
86-
87-
----
88-
89-
90-
4.7.5 (2020-02-21)
91-
==================
92-
93-
Bugfixes
94-
--------
95-
96-
- Fixed creating and updating of MultiDict from a sequence of pairs and keyword
97-
arguments. Previously passing a list argument modified it inplace, and other sequences
98-
caused an error.
99-
`#457 <https://github.com/aio-libs/multidict/issues/457>`_
100-
- Fixed comparing with mapping: an exception raised in the
101-
:py:func:`~object.__len__` method caused raising a SyntaxError.
102-
`#459 <https://github.com/aio-libs/multidict/issues/459>`_
103-
- Fixed comparing with mapping: all exceptions raised in the
104-
:py:func:`~object.__getitem__` method were silenced.
105-
`#460 <https://github.com/aio-libs/multidict/issues/460>`_
106-
107-
108-
----
109-
110-
111-
4.7.4 (2020-01-11)
112-
==================
113-
114-
Bugfixes
115-
--------
116-
117-
- ``MultiDict.iter`` fix memory leak when used iterator over
118-
:py:mod:`multidict` instance.
119-
`#452 <https://github.com/aio-libs/multidict/issues/452>`_
120-
121-
122-
----
123-
124-
125-
4.7.3 (2019-12-30)
126-
==================
127-
128-
Features
129-
--------
130-
131-
- Implement ``__sizeof__`` function to correctly calculate all internal structures size.
132-
`#444 <https://github.com/aio-libs/multidict/issues/444>`_
133-
- Expose ``getversion()`` function.
134-
`#451 <https://github.com/aio-libs/multidict/issues/451>`_
135-
136-
137-
Bugfixes
138-
--------
139-
140-
- Fix crashes in ``popone``/``popall`` when default is returned.
141-
`#450 <https://github.com/aio-libs/multidict/issues/450>`_
142-
143-
144-
Improved Documentation
145-
----------------------
146-
147-
- Corrected the documentation for ``MultiDict.extend()``
148-
`#446 <https://github.com/aio-libs/multidict/issues/446>`_
149-
150-
151-
----
152-
153-
154-
4.7.2 (2019-12-20)
155-
==================
156-
157-
Bugfixes
158-
--------
159-
160-
- Fix crashing when multidict is used pyinstaller
161-
`#432 <https://github.com/aio-libs/multidict/issues/432>`_
162-
- Fix typing for :py:meth:`CIMultiDict.copy`
163-
`#434 <https://github.com/aio-libs/multidict/issues/434>`_
164-
- Fix memory leak in ``MultiDict.copy()``
165-
`#443 <https://github.com/aio-libs/multidict/issues/443>`_
166-
167-
168-
----
169-
170-
171-
4.7.1 (2019-12-12)
172-
==================
173-
174-
Bugfixes
175-
--------
176-
177-
- :py:meth:`CIMultiDictProxy.copy` return object type
178-
:py:class:`multidict._multidict.CIMultiDict`
179-
`#427 <https://github.com/aio-libs/multidict/issues/427>`_
180-
- Make :py:class:`CIMultiDict` subclassable again
181-
`#416 <https://github.com/aio-libs/multidict/issues/416>`_
182-
- Fix regression, multidict can be constructed from arbitrary iterable of pairs again.
183-
`#418 <https://github.com/aio-libs/multidict/issues/418>`_
184-
- :py:meth:`CIMultiDict.add` may be called with keyword arguments
185-
`#421 <https://github.com/aio-libs/multidict/issues/421>`_
186-
187-
188-
Improved Documentation
189-
----------------------
190-
191-
- Mention ``MULTIDICT_NO_EXTENSIONS`` environment variable in docs.
192-
`#393 <https://github.com/aio-libs/multidict/issues/393>`_
193-
- Document the fact that ``istr`` preserves the casing of argument untouched but uses internal lower-cased copy for keys comparison.
194-
`#419 <https://github.com/aio-libs/multidict/issues/419>`_
195-
196-
197-
----
198-
199-
200-
4.7.0 (2019-12-10)
201-
==================
202-
203-
Features
204-
--------
205-
206-
- Replace Cython optimization with pure C
207-
`#249 <https://github.com/aio-libs/multidict/issues/249>`_
208-
- Implement ``__length_hint__()`` for iterators
209-
`#310 <https://github.com/aio-libs/multidict/issues/310>`_
210-
- Support the MultiDict[str] generic specialization in the runtime.
211-
`#392 <https://github.com/aio-libs/multidict/issues/392>`_
212-
- Embed pair_list_t structure into MultiDict Python object
213-
`#395 <https://github.com/aio-libs/multidict/issues/395>`_
214-
- Embed multidict pairs for small dictionaries to amortize the memory usage.
215-
`#396 <https://github.com/aio-libs/multidict/issues/396>`_
216-
- Support weak references to C Extension classes.
217-
`#399 <https://github.com/aio-libs/multidict/issues/399>`_
218-
- Add docstrings to provided classes.
219-
`#400 <https://github.com/aio-libs/multidict/issues/400>`_
220-
- Merge ``multidict._istr`` back with ``multidict._multidict``.
221-
`#409 <https://github.com/aio-libs/multidict/issues/409>`_
222-
223-
224-
Bugfixes
225-
--------
226-
227-
- Explicitly call ``tp_free`` slot on deallocation.
228-
`#407 <https://github.com/aio-libs/multidict/issues/407>`_
229-
- Return class from __class_getitem__ to simplify subclassing
230-
`#413 <https://github.com/aio-libs/multidict/issues/413>`_
231-
232-
233-
----
234-
235-
236-
4.6.1 (2019-11-21)
237-
====================
238-
239-
Bugfixes
240-
--------
241-
242-
- Fix PyPI link for GitHub Issues badge.
243-
`#391 <https://github.com/aio-libs/aiohttp/issues/391>`_
244-
245-
4.6.0 (2019-11-20)
246-
====================
247-
248-
Bugfixes
249-
--------
250-
251-
- Fix GC object tracking.
252-
`#314 <https://github.com/aio-libs/aiohttp/issues/314>`_
253-
- Preserve the case of `istr` strings.
254-
`#374 <https://github.com/aio-libs/aiohttp/issues/374>`_
255-
- Generate binary wheels for Python 3.8.

CHANGES/.TEMPLATE.rst

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

CHANGES/620.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/629.feature

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

0 commit comments

Comments
 (0)