Skip to content

Commit 0698dc9

Browse files
committed
β‡ͺπŸ“¦ Release yarl v1.9.3
1 parent 690b54c commit 0698dc9

20 files changed

+65
-52
lines changed

β€ŽCHANGES.rst

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,70 @@
1010

1111
.. towncrier release notes start
1212
13+
1.9.3 (2023-11-20)
14+
==================
15+
16+
Bug fixes
17+
---------
18+
19+
- Stopped dropping trailing slashes in :py:meth:`~yarl.URL.joinpath` -- by :user:`mjpieters`. (:issue:`862`, :issue:`866`)
20+
- Started accepting string subclasses in ``__truediv__()`` operations (``URL / segment``) -- by :user:`mjpieters`. (:issue:`871`, :issue:`884`)
21+
- Fixed the human representation of URLs with square brackets in usernames and passwords -- by :user:`mjpieters`. (:issue:`876`, :issue:`882`)
22+
- Updated type hints to include ``URL.missing_port()``, ``URL.__bytes__()``
23+
and the ``encoding`` argument to :py:meth:`~yarl.URL.joinpath`
24+
-- by :user:`mjpieters`. (:issue:`891`)
25+
26+
27+
Packaging updates and notes for downstreams
28+
-------------------------------------------
29+
30+
- Integrated Cython 3 to enable building *yarl* under Python 3.12 -- by :user:`mjpieters`. (:issue:`829`, :issue:`881`)
31+
- Declared modern ``setuptools.build_meta`` as the :pep:`517` build
32+
backend in :file:`pyproject.toml` explicitly -- by :user:`webknjaz`. (:issue:`886`)
33+
- Converted most of the packaging setup into a declarative :file:`setup.cfg`
34+
config -- by :user:`webknjaz`. (:issue:`890`)
35+
- Replaced the packaging is replaced from an old-fashioned :file:`setup.py` to an
36+
in-tree :pep:`517` build backend -- by :user:`webknjaz`.
37+
38+
Whenever the end-users or downstream packagers need to build ``yarl`` from
39+
source (a Git checkout or an sdist), they may pass a ``config_settings``
40+
flag ``--pure-python``. If this flag is not set, a C-extension will be built
41+
and included into the distribution.
42+
43+
Here is how this can be done with ``pip``:
44+
45+
.. code-block:: console
46+
47+
$ python -m pip install . --config-settings=--pure-python=
48+
49+
This will also work with ``-e | --editable``.
50+
51+
The same can be achieved via ``pypa/build``:
52+
53+
.. code-block:: console
54+
55+
$ python -m build --config-setting=--pure-python=
56+
57+
Adding ``-w | --wheel`` can force ``pypa/build`` produce a wheel from source
58+
directly, as opposed to building an ``sdist`` and then building from it. (:issue:`893`)
59+
- Declared Python 3.12 supported officially in the distribution package metadata
60+
-- by :user:`edgarrmondragon`. (:issue:`942`)
61+
62+
63+
Contributor-facing changes
64+
--------------------------
65+
66+
- A regression test for no-host URLs was added per :issue:`821`
67+
and :rfc:`3986` -- by :user:`kenballus`. (:issue:`821`, :issue:`822`)
68+
- Started testing *yarl* against Python 3.12 in CI -- by :user:`mjpieters`. (:issue:`881`)
69+
- All Python 3.12 jobs are now marked as required to pass in CI
70+
-- by :user:`edgarrmondragon`. (:issue:`942`)
71+
- MyST is now integrated in Sphinx -- by :user:`webknjaz`.
72+
73+
This allows the contributors to author new documents in Markdown
74+
when they have difficulties with going straight RST. (:issue:`953`)
75+
76+
1377
1.9.2 (2023-04-25)
1478
==================
1579

β€ŽCHANGES/821.contrib.rst

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

β€ŽCHANGES/822.contrib.rst

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

β€ŽCHANGES/829.packaging.rst

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

β€ŽCHANGES/862.bugfix.rst

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

β€ŽCHANGES/866.bugfix.rst

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

β€ŽCHANGES/871.bugfix.rst

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

β€ŽCHANGES/876.bugfix.rst

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

β€ŽCHANGES/881.contrib.rst

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

β€ŽCHANGES/881.packaging.rst

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

β€ŽCHANGES/882.bugfix.rst

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

β€ŽCHANGES/884.bugfix.rst

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

β€ŽCHANGES/886.packaging.rst

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

β€ŽCHANGES/890.packaging.rst

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

β€ŽCHANGES/891.bugfix.rst

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

β€ŽCHANGES/893.packaging.rst

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

β€ŽCHANGES/942.contrib.rst

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

β€ŽCHANGES/942.packaging.rst

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

β€ŽCHANGES/953.contrib.rst

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

β€Žyarl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from ._url import URL, cache_clear, cache_configure, cache_info
22

3-
__version__ = "1.9.2"
3+
__version__ = "1.9.3"
44

55
__all__ = ("URL", "cache_clear", "cache_configure", "cache_info")

0 commit comments

Comments
Β (0)