Skip to content

Commit

Permalink
Use aio-libs/create-release action (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Oct 3, 2021
1 parent 46ad882 commit befde3b
Show file tree
Hide file tree
Showing 15 changed files with 477 additions and 381 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,21 @@ jobs:
needs: [build-tarball, build-wheels]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Login
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
- name: Download dists
uses: actions/download-artifact@v2
- name: Make Release
uses: aio-libs/create-release@v1.2.1
with:
name: dist
path: dist
- name: Count dists
run: echo "$(ls dist|wc -l) distributions to upload"
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
changes_file: CHANGES.rst
name: multidict
version_file: multidict/__init__.py
github_token: ${{ secrets.GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
artifact: dist
fix_issue_regex: "`#(\\d+) <https://github.com/aio-libs/multidict/issues/\\1>`"
fix_issue_repl: "(#\\1)"
211 changes: 23 additions & 188 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,37 @@ Changelog

.. towncrier release notes start
5.2.0a25 (2021-10-03)
=====================

Features
--------

- 1. Added support Python 3.10
2. Started shipping platform-specific wheels with the ``musl`` tag targeting typical Alpine Linux runtimes.
3. Started shipping platform-specific arm64 wheels for Apple Silicon. (`#629 <https://github.com/aio-libs/multidict/issues/629>`_)


Bugfixes
--------

- 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>`_)


5.1.0 (2020-12-03)
==================

Features
--------

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


Bugfixes
--------

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


Expand All @@ -40,7 +57,7 @@ Bugfixes
Bugfixes
--------

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


Expand All @@ -53,16 +70,16 @@ Bugfixes
Features
--------

- Provide wheels for ``aarch64``, ``i686``, ``ppc64le``, ``s390x`` architectures on Linux
- Provided wheels for ``aarch64``, ``i686``, ``ppc64le``, ``s390x`` architectures on Linux
as well as ``x86_64``.
`#500 <https://github.com/aio-libs/multidict/issues/500>`_
- Provide wheels for Python 3.9.
- Provided wheels for Python 3.9.
`#534 <https://github.com/aio-libs/multidict/issues/534>`_

Removal
-------

- Drop Python 3.5 support; Python 3.6 is the minimal supported Python version.
- Dropped Python 3.5 support; Python 3.6 is the minimal supported Python version.

Misc
----
Expand All @@ -71,185 +88,3 @@ Misc


----


4.7.6 (2020-05-15)
==================

Bugfixes
--------

- Fixed an issue with some versions of the ``wheel`` dist
failing because of being unable to detect the license file.
`#481 <https://github.com/aio-libs/multidict/issues/481>`_


----


4.7.5 (2020-02-21)
==================

Bugfixes
--------

- Fixed creating and updating of MultiDict from a sequence of pairs and keyword
arguments. Previously passing a list argument modified it inplace, and other sequences
caused an error.
`#457 <https://github.com/aio-libs/multidict/issues/457>`_
- Fixed comparing with mapping: an exception raised in the
:py:func:`~object.__len__` method caused raising a SyntaxError.
`#459 <https://github.com/aio-libs/multidict/issues/459>`_
- Fixed comparing with mapping: all exceptions raised in the
:py:func:`~object.__getitem__` method were silenced.
`#460 <https://github.com/aio-libs/multidict/issues/460>`_


----


4.7.4 (2020-01-11)
==================

Bugfixes
--------

- ``MultiDict.iter`` fix memory leak when used iterator over
:py:mod:`multidict` instance.
`#452 <https://github.com/aio-libs/multidict/issues/452>`_


----


4.7.3 (2019-12-30)
==================

Features
--------

- Implement ``__sizeof__`` function to correctly calculate all internal structures size.
`#444 <https://github.com/aio-libs/multidict/issues/444>`_
- Expose ``getversion()`` function.
`#451 <https://github.com/aio-libs/multidict/issues/451>`_


Bugfixes
--------

- Fix crashes in ``popone``/``popall`` when default is returned.
`#450 <https://github.com/aio-libs/multidict/issues/450>`_


Improved Documentation
----------------------

- Corrected the documentation for ``MultiDict.extend()``
`#446 <https://github.com/aio-libs/multidict/issues/446>`_


----


4.7.2 (2019-12-20)
==================

Bugfixes
--------

- Fix crashing when multidict is used pyinstaller
`#432 <https://github.com/aio-libs/multidict/issues/432>`_
- Fix typing for :py:meth:`CIMultiDict.copy`
`#434 <https://github.com/aio-libs/multidict/issues/434>`_
- Fix memory leak in ``MultiDict.copy()``
`#443 <https://github.com/aio-libs/multidict/issues/443>`_


----


4.7.1 (2019-12-12)
==================

Bugfixes
--------

- :py:meth:`CIMultiDictProxy.copy` return object type
:py:class:`multidict._multidict.CIMultiDict`
`#427 <https://github.com/aio-libs/multidict/issues/427>`_
- Make :py:class:`CIMultiDict` subclassable again
`#416 <https://github.com/aio-libs/multidict/issues/416>`_
- Fix regression, multidict can be constructed from arbitrary iterable of pairs again.
`#418 <https://github.com/aio-libs/multidict/issues/418>`_
- :py:meth:`CIMultiDict.add` may be called with keyword arguments
`#421 <https://github.com/aio-libs/multidict/issues/421>`_


Improved Documentation
----------------------

- Mention ``MULTIDICT_NO_EXTENSIONS`` environment variable in docs.
`#393 <https://github.com/aio-libs/multidict/issues/393>`_
- Document the fact that ``istr`` preserves the casing of argument untouched but uses internal lower-cased copy for keys comparison.
`#419 <https://github.com/aio-libs/multidict/issues/419>`_


----


4.7.0 (2019-12-10)
==================

Features
--------

- Replace Cython optimization with pure C
`#249 <https://github.com/aio-libs/multidict/issues/249>`_
- Implement ``__length_hint__()`` for iterators
`#310 <https://github.com/aio-libs/multidict/issues/310>`_
- Support the MultiDict[str] generic specialization in the runtime.
`#392 <https://github.com/aio-libs/multidict/issues/392>`_
- Embed pair_list_t structure into MultiDict Python object
`#395 <https://github.com/aio-libs/multidict/issues/395>`_
- Embed multidict pairs for small dictionaries to amortize the memory usage.
`#396 <https://github.com/aio-libs/multidict/issues/396>`_
- Support weak references to C Extension classes.
`#399 <https://github.com/aio-libs/multidict/issues/399>`_
- Add docstrings to provided classes.
`#400 <https://github.com/aio-libs/multidict/issues/400>`_
- Merge ``multidict._istr`` back with ``multidict._multidict``.
`#409 <https://github.com/aio-libs/multidict/issues/409>`_


Bugfixes
--------

- Explicitly call ``tp_free`` slot on deallocation.
`#407 <https://github.com/aio-libs/multidict/issues/407>`_
- Return class from __class_getitem__ to simplify subclassing
`#413 <https://github.com/aio-libs/multidict/issues/413>`_


----


4.6.1 (2019-11-21)
====================

Bugfixes
--------

- Fix PyPI link for GitHub Issues badge.
`#391 <https://github.com/aio-libs/aiohttp/issues/391>`_

4.6.0 (2019-11-20)
====================

Bugfixes
--------

- Fix GC object tracking.
`#314 <https://github.com/aio-libs/aiohttp/issues/314>`_
- Preserve the case of `istr` strings.
`#374 <https://github.com/aio-libs/aiohttp/issues/374>`_
- Generate binary wheels for Python 3.8.
36 changes: 0 additions & 36 deletions CHANGES/.TEMPLATE.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/620.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/629.feature

This file was deleted.

0 comments on commit befde3b

Please sign in to comment.