Skip to content

Commit

Permalink
Bump yarl from 1.9.2 to 1.9.3 (aio-libs#7861)
Browse files Browse the repository at this point in the history
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.9.2 to 1.9.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aio-libs/yarl/releases">yarl's
releases</a>.</em></p>
<blockquote>
<h2>1.9.3</h2>
<h2>:bug: Bug fixes</h2>
<ul>
<li>Stopped dropping trailing slashes in
<code>yarl.URL.joinpath()</code> -- by [<a
href="https://github.com/gmacon"><code>@​gmacon</code></a>]. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/862">#862</a>, <a
href="https://redirect.github.com/aio-libs/yarl/issues/866">#866</a>)</li>
<li>Started accepting string subclasses in <code>__truediv__()</code>
operations (<code>URL / segment</code>) -- by [<a
href="https://github.com/mjpieters"><code>@​mjpieters</code></a>]. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/871">#871</a>, <a
href="https://redirect.github.com/aio-libs/yarl/issues/884">#884</a>)</li>
<li>Fixed the human representation of URLs with square brackets in
usernames and passwords -- by <a
href="https://github.com/mjpieters"><code>@​mjpieters</code></a>. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/876">#876</a>, <a
href="https://redirect.github.com/aio-libs/yarl/issues/882">#882</a>)</li>
<li>Updated type hints to include <code>URL.missing_port()</code>,
<code>URL.__bytes__()</code> and the <code>encoding</code> argument to
<code>yarl.URL.joinpath()</code> -- by <a
href="https://github.com/mjpieters"><code>@​mjpieters</code></a>. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/891">#891</a>)</li>
</ul>
<h2>:package: Packaging updates and notes for downstreams</h2>
<ul>
<li>
<p>Integrated Cython 3 to enable building <em>yarl</em> under Python
3.12 -- by <a
href="https://github.com/mjpieters"><code>@​mjpieters</code></a>. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/829">#829</a>, <a
href="https://redirect.github.com/aio-libs/yarl/issues/881">#881</a>)</p>
</li>
<li>
<p>Added the changelog URL to the dist metadata -- by [<a
href="https://github.com/scop"><code>@​scop</code></a>]. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/877">#877</a>)</p>
</li>
<li>
<p>Declared modern <code>setuptools.build_meta</code> as the
:pep:<code>517</code> build backend in <code>pyproject.toml</code>
explicitly -- by [<a
href="https://github.com/webknjaz"><code>@​webknjaz</code></a>]. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/886">#886</a>)</p>
</li>
<li>
<p>Converted most of the packaging setup into a declarative
<code>setup.cfg</code> config -- by <a
href="https://github.com/webknjaz"><code>@​webknjaz</code></a>. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/890">#890</a>)</p>
</li>
<li>
<p>Replaced the packaging is replaced from an old-fashioned
<code>setup.py</code> to an in-tree :pep:<code>517</code> build backend
-- by <a
href="https://github.com/webknjaz"><code>@​webknjaz</code></a>.</p>
<p>Whenever the end-users or downstream packagers need to build
<code>yarl</code> from source (a Git checkout or an sdist), they may
pass a <code>config_settings</code> flag <code>--pure-python</code>. If
this flag is not set, a C-extension will be built and included into the
distribution.</p>
<p>Here is how this can be done with <code>pip</code>:</p>
<pre lang="console"><code>$ python -m pip install .
--config-settings=--pure-python=
</code></pre>
<p>This will also work with <code>-e | --editable</code>.</p>
<p>The same can be achieved via <code>pypa/build</code>:</p>
<pre lang="console"><code>$ python -m build
--config-setting=--pure-python=
</code></pre>
<p>Adding <code>-w | --wheel</code> can force <code>pypa/build</code>
produce a wheel from source directly, as opposed to building an
<code>sdist</code> and then building from it. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/893">#893</a>)</p>
</li>
<li>
<p>Declared Python 3.12 supported officially in the distribution package
metadata -- by [<a
href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>].
(<a
href="https://redirect.github.com/aio-libs/yarl/issues/942">#942</a>)</p>
</li>
</ul>
<h2>:hammer_and_wrench: Contributor-facing changes</h2>
<ul>
<li>
<p>A regression test for no-host URLs was added per <a
href="https://redirect.github.com/aio-libs/yarl/issues/821">#821</a> and
RFC 3986 -- by [<a
href="https://github.com/kenballus"><code>@​kenballus</code></a>]. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/821">#821</a>, <a
href="https://redirect.github.com/aio-libs/yarl/issues/822">#822</a>)</p>
</li>
<li>
<p>Started testing <em>yarl</em> against Python 3.12 in CI -- by <a
href="https://github.com/mjpieters"><code>@​mjpieters</code></a>. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/881">#881</a>)</p>
</li>
<li>
<p>All Python 3.12 jobs are now marked as required to pass in CI -- by
<a
href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>.
(<a
href="https://redirect.github.com/aio-libs/yarl/issues/942">#942</a>)</p>
</li>
<li>
<p>MyST is now integrated in Sphinx -- by <a
href="https://github.com/webknjaz"><code>@​webknjaz</code></a>.</p>
<p>This allows the contributors to author new documents in Markdown when
they have difficulties with going straight RST. (<a
href="https://redirect.github.com/aio-libs/yarl/issues/953">#953</a>)</p>
</li>
</ul>
<h2>:muscle: New Contributors</h2>
<ul>
<li><a href="https://github.com/gmacon"><code>@​gmacon</code></a> made
their first contribution in <a
href="https://redirect.github.com/aio-libs/yarl/pull/866">aio-libs/yarl#866</a></li>
<li><a href="https://github.com/scop"><code>@​scop</code></a> made their
first contribution in <a
href="https://redirect.github.com/aio-libs/yarl/pull/877">aio-libs/yarl#877</a></li>
<li><a
href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>
made their first contribution in <a
href="https://redirect.github.com/aio-libs/yarl/pull/942">aio-libs/yarl#942</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/aio-libs/yarl/blob/master/CHANGES.rst">yarl's
changelog</a>.</em></p>
<blockquote>
<h1>1.9.3 (2023-11-20)</h1>
<h2>Bug fixes</h2>
<ul>
<li>Stopped dropping trailing slashes in
:py:meth:<code>~yarl.URL.joinpath</code> -- by
:user:<code>gmacon</code>. (:issue:<code>862</code>,
:issue:<code>866</code>)</li>
<li>Started accepting string subclasses in <code>__truediv__()</code>
operations (<code>URL / segment</code>) -- by
:user:<code>mjpieters</code>. (:issue:<code>871</code>,
:issue:<code>884</code>)</li>
<li>Fixed the human representation of URLs with square brackets in
usernames and passwords -- by :user:<code>mjpieters</code>.
(:issue:<code>876</code>, :issue:<code>882</code>)</li>
<li>Updated type hints to include <code>URL.missing_port()</code>,
<code>URL.__bytes__()</code>
and the <code>encoding</code> argument to
:py:meth:<code>~yarl.URL.joinpath</code>
-- by :user:<code>mjpieters</code>. (:issue:<code>891</code>)</li>
</ul>
<h2>Packaging updates and notes for downstreams</h2>
<ul>
<li>
<p>Integrated Cython 3 to enable building <em>yarl</em> under Python
3.12 -- by :user:<code>mjpieters</code>. (:issue:<code>829</code>,
:issue:<code>881</code>)</p>
</li>
<li>
<p>Declared modern <code>setuptools.build_meta</code> as the
:pep:<code>517</code> build
backend in :file:<code>pyproject.toml</code> explicitly -- by
:user:<code>webknjaz</code>. (:issue:<code>886</code>)</p>
</li>
<li>
<p>Converted most of the packaging setup into a declarative
:file:<code>setup.cfg</code>
config -- by :user:<code>webknjaz</code>. (:issue:<code>890</code>)</p>
</li>
<li>
<p>Replaced the packaging is replaced from an old-fashioned
:file:<code>setup.py</code> to an
in-tree :pep:<code>517</code> build backend -- by
:user:<code>webknjaz</code>.</p>
<p>Whenever the end-users or downstream packagers need to build
<code>yarl</code> from
source (a Git checkout or an sdist), they may pass a
<code>config_settings</code>
flag <code>--pure-python</code>. If this flag is not set, a C-extension
will be built
and included into the distribution.</p>
<p>Here is how this can be done with <code>pip</code>:</p>
<p>.. code-block:: console</p>
<pre><code>$ python -m pip install . --config-settings=--pure-python=
</code></pre>
<p>This will also work with <code>-e | --editable</code>.</p>
<p>The same can be achieved via <code>pypa/build</code>:</p>
<p>.. code-block:: console</p>
<pre><code>$ python -m build --config-setting=--pure-python=
</code></pre>
<p>Adding <code>-w | --wheel</code> can force <code>pypa/build</code>
produce a wheel from source
directly, as opposed to building an <code>sdist</code> and then building
from it. (:issue:<code>893</code>)</p>
</li>
<li>
<p>Declared Python 3.12 supported officially in the distribution package
metadata
-- by :user:<code>edgarrmondragon</code>. (:issue:<code>942</code>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aio-libs/yarl/commit/0698dc947772786fcff467b12cfb1f3921c7ff31"><code>0698dc9</code></a>
⇪📦 Release yarl v1.9.3</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/690b54c5dd7376e8ff0bed0201768f68cb29f1f0"><code>690b54c</code></a>
💄 Mark the GHA workflow as CI/CD</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/1addb5563b48278e4f5be7935574b66f6b5fbf0d"><code>1addb55</code></a>
🐛🧪 Fix issue replacement in changelog @ CI</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/c2ab1e99b45d5739cbc055fded3fac3b7a3194c3"><code>c2ab1e9</code></a>
🎨 Pass explicit <code>--no-color</code> to Pip in CI</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/f202823f3e75b7cd04c312d001ef4dd2b989a876"><code>f202823</code></a>
🐛🧪 Unset <code>FORCE_COLOR</code> on Bash level @ CI</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/ef5664b8e474c0871e9419518c07ba8bc1e198ff"><code>ef5664b</code></a>
💡Use <code>NO_COLOR</code> to override <code>FORCE_COLOR</code> @
pip</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/d1d9f6e658c2c4b5081d6b0aecccc870471c733d"><code>d1d9f6e</code></a>
Merge PR <a
href="https://redirect.github.com/aio-libs/yarl/issues/956">#956</a></li>
<li><a
href="https://github.com/aio-libs/yarl/commit/e14d10ea1070aa79b0828ba772946029dabb0312"><code>e14d10e</code></a>
Attempt disabling FORCE_COLOR env var w/ YAML null</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/11276e07690a65b03c28bfaa458f85ac96c75d28"><code>11276e0</code></a>
📦Explicitly list <code>NOTICE</code> @ wheel license files</li>
<li><a
href="https://github.com/aio-libs/yarl/commit/180c2b22adf7472387226cce79e6b0006848ccbc"><code>180c2b2</code></a>
🐛Uncolorize <code>pip</code> JSON report in whl compat cmd</li>
<li>Additional commits viewable in <a
href="https://github.com/aio-libs/yarl/compare/v1.9.2...v1.9.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=yarl&package-manager=pip&previous-version=1.9.2&new-version=1.9.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 21, 2023
1 parent 122597f commit ccf74bb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ typing-extensions==4.7.1
# via -r requirements/typing-extensions.in
uvloop==0.19.0 ; platform_system != "Windows" and implementation_name == "cpython"
# via -r requirements/base.in
yarl==1.9.2
yarl==1.9.3
# via -r requirements/runtime-deps.in
7 changes: 2 additions & 5 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ requests==2.31.0
setuptools-git==1.2
# via -r requirements/test.in
six==1.16.0
# via
# python-dateutil
# sphinx
# via python-dateutil
slotscheck==0.17.1
# via -r requirements/lint.in
snowballstemmer==2.2.0
Expand Down Expand Up @@ -254,7 +252,7 @@ webcolors==1.13
# via blockdiag
wheel==0.41.0
# via pip-tools
yarl==1.9.2
yarl==1.9.3
# via -r requirements/runtime-deps.in
zipp==3.17.0
# via
Expand All @@ -269,4 +267,3 @@ setuptools==68.0.0
# blockdiag
# nodeenv
# pip-tools
# sphinx
7 changes: 2 additions & 5 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ requests==2.31.0
setuptools-git==1.2
# via -r requirements/test.in
six==1.16.0
# via
# python-dateutil
# sphinx
# via python-dateutil
slotscheck==0.17.1
# via -r requirements/lint.in
snowballstemmer==2.2.0
Expand Down Expand Up @@ -246,7 +244,7 @@ webcolors==1.13
# via blockdiag
wheel==0.41.0
# via pip-tools
yarl==1.9.2
yarl==1.9.3
# via -r requirements/runtime-deps.in
zipp==3.17.0
# via
Expand All @@ -261,4 +259,3 @@ setuptools==68.0.0
# blockdiag
# nodeenv
# pip-tools
# sphinx
2 changes: 1 addition & 1 deletion requirements/runtime-deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ pycares==4.3.0
# via aiodns
pycparser==2.21
# via cffi
yarl==1.9.2
yarl==1.9.3
# via -r requirements/runtime-deps.in
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ uvloop==0.19.0 ; platform_system != "Windows" and implementation_name == "cpytho
# via -r requirements/base.in
wait-for-it==2.2.2
# via -r requirements/test.in
yarl==1.9.2
yarl==1.9.3
# via -r requirements/runtime-deps.in

0 comments on commit ccf74bb

Please sign in to comment.