Skip to content

Commit

Permalink
pip dev(deps-dev): bump textual from 0.41.0 to 0.42.0 (#1813)
Browse files Browse the repository at this point in the history
Bumps [textual](https://github.com/Textualize/textual) from 0.41.0 to
0.42.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Textualize/textual/releases">textual's
releases</a>.</em></p>
<blockquote>
<h2>The Life Universe and Everything release!</h2>
<p>Some fixes, improvements, and updates to Pilot (used in testing).</p>
<p>Also some significant improvements in rendering speed.</p>
<p>A few minor breaking changes, see below for details...</p>
<h2>[0.42.0] - 2023-11-22</h2>
<h3>Fixed</h3>
<ul>
<li>Duplicate CSS errors when parsing CSS from a screen <a
href="https://redirect.github.com/Textualize/textual/issues/3581">Textualize/textual#3581</a></li>
<li>Added missing <code>blur</code> pseudo class <a
href="https://redirect.github.com/Textualize/textual/issues/3439">Textualize/textual#3439</a></li>
<li>Fixed visual glitched characters on Windows due to Python limitation
<a
href="https://redirect.github.com/Textualize/textual/issues/2548">Textualize/textual#2548</a></li>
<li>Fixed <code>ScrollableContainer</code> to receive focus <a
href="https://redirect.github.com/Textualize/textual/pull/3632">Textualize/textual#3632</a></li>
<li>Fixed app-level queries causing a crash when the command palette is
active <a
href="https://redirect.github.com/Textualize/textual/issues/3633">Textualize/textual#3633</a></li>
<li>Fixed outline not rendering correctly in some scenarios (e.g. on
Button widgets) <a
href="https://redirect.github.com/Textualize/textual/issues/3628">Textualize/textual#3628</a></li>
<li>Fixed live-reloading of screen CSS <a
href="https://redirect.github.com/Textualize/textual/issues/3454">Textualize/textual#3454</a></li>
<li><code>Select.value</code> could be in an invalid state <a
href="https://redirect.github.com/Textualize/textual/issues/3612">Textualize/textual#3612</a></li>
<li>Off-by-one in CSS error reporting <a
href="https://redirect.github.com/Textualize/textual/issues/3625">Textualize/textual#3625</a></li>
<li>Loading indicators and app notifications overlapped in the wrong
order <a
href="https://redirect.github.com/Textualize/textual/issues/3677">Textualize/textual#3677</a></li>
<li>Widgets being loaded are disabled and have their scrolling
explicitly disabled too <a
href="https://redirect.github.com/Textualize/textual/issues/3677">Textualize/textual#3677</a></li>
<li>Method render on a widget could be called before mounting said
widget <a
href="https://redirect.github.com/Textualize/textual/issues/2914">Textualize/textual#2914</a></li>
</ul>
<h3>Added</h3>
<ul>
<li>Exceptions to <code>textual.widgets.select</code> <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a>
<ul>
<li><code>InvalidSelectValueError</code> for when setting a
<code>Select</code> to an invalid value</li>
<li><code>EmptySelectError</code> when creating/setting a
<code>Select</code> to have no options when <code>allow_blank</code> is
<code>False</code></li>
</ul>
</li>
<li><code>Select</code> methods <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a>
<ul>
<li><code>clear</code></li>
<li><code>is_blank</code></li>
</ul>
</li>
<li>Constant <code>Select.BLANK</code> to flag an empty selection <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a></li>
<li>Added <code>restrict</code>, <code>type</code>,
<code>max_length</code>, and <code>valid_empty</code> to Input <a
href="https://redirect.github.com/Textualize/textual/pull/3657">Textualize/textual#3657</a></li>
<li>Added <code>Pilot.mouse_down</code> to simulate
<code>MouseDown</code> events <a
href="https://redirect.github.com/Textualize/textual/pull/3495">Textualize/textual#3495</a></li>
<li>Added <code>Pilot.mouse_up</code> to simulate <code>MouseUp</code>
events <a
href="https://redirect.github.com/Textualize/textual/pull/3495">Textualize/textual#3495</a></li>
<li>Added <code>Widget.is_mounted</code> property <a
href="https://redirect.github.com/Textualize/textual/pull/3709">Textualize/textual#3709</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>CSS error reporting will no longer provide links to the files in
question <a
href="https://redirect.github.com/Textualize/textual/pull/3582">Textualize/textual#3582</a></li>
<li>inline CSS error reporting will report widget/class variable where
the CSS was read from <a
href="https://redirect.github.com/Textualize/textual/pull/3582">Textualize/textual#3582</a></li>
<li>Breaking change: Setting <code>Select.value</code> to
<code>None</code> no longer clears the selection (See
<code>Select.BLANK</code> and <code>Select.clear</code>) <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a></li>
<li>Breaking change: <code>Button</code> no longer inherits from
<code>Static</code>, now it inherits directly from <code>Widget</code>
<a
href="https://redirect.github.com/Textualize/textual/issues/3603">Textualize/textual#3603</a></li>
<li>Rich markup in markdown headings is now escaped when building the
TOC <a
href="https://redirect.github.com/Textualize/textual/issues/3689">Textualize/textual#3689</a></li>
<li>Mechanics behind mouse clicks. See <a
href="https://redirect.github.com/Textualize/textual/pull/3495#issue-1934915047">this</a>
for more details. <a
href="https://redirect.github.com/Textualize/textual/pull/3495">Textualize/textual#3495</a></li>
<li>Breaking change: max/min-width/height now includes padding and
border. <a
href="https://redirect.github.com/Textualize/textual/pull/3712">Textualize/textual#3712</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Textualize/textual/blob/main/CHANGELOG.md">textual's
changelog</a>.</em></p>
<blockquote>
<h2>[0.42.0] - 2023-11-22</h2>
<h3>Fixed</h3>
<ul>
<li>Duplicate CSS errors when parsing CSS from a screen <a
href="https://redirect.github.com/Textualize/textual/issues/3581">Textualize/textual#3581</a></li>
<li>Added missing <code>blur</code> pseudo class <a
href="https://redirect.github.com/Textualize/textual/issues/3439">Textualize/textual#3439</a></li>
<li>Fixed visual glitched characters on Windows due to Python limitation
<a
href="https://redirect.github.com/Textualize/textual/issues/2548">Textualize/textual#2548</a></li>
<li>Fixed <code>ScrollableContainer</code> to receive focus <a
href="https://redirect.github.com/Textualize/textual/pull/3632">Textualize/textual#3632</a></li>
<li>Fixed app-level queries causing a crash when the command palette is
active <a
href="https://redirect.github.com/Textualize/textual/issues/3633">Textualize/textual#3633</a></li>
<li>Fixed outline not rendering correctly in some scenarios (e.g. on
Button widgets) <a
href="https://redirect.github.com/Textualize/textual/issues/3628">Textualize/textual#3628</a></li>
<li>Fixed live-reloading of screen CSS <a
href="https://redirect.github.com/Textualize/textual/issues/3454">Textualize/textual#3454</a></li>
<li><code>Select.value</code> could be in an invalid state <a
href="https://redirect.github.com/Textualize/textual/issues/3612">Textualize/textual#3612</a></li>
<li>Off-by-one in CSS error reporting <a
href="https://redirect.github.com/Textualize/textual/issues/3625">Textualize/textual#3625</a></li>
<li>Loading indicators and app notifications overlapped in the wrong
order <a
href="https://redirect.github.com/Textualize/textual/issues/3677">Textualize/textual#3677</a></li>
<li>Widgets being loaded are disabled and have their scrolling
explicitly disabled too <a
href="https://redirect.github.com/Textualize/textual/issues/3677">Textualize/textual#3677</a></li>
<li>Method render on a widget could be called before mounting said
widget <a
href="https://redirect.github.com/Textualize/textual/issues/2914">Textualize/textual#2914</a></li>
</ul>
<h3>Added</h3>
<ul>
<li>Exceptions to <code>textual.widgets.select</code> <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a>
<ul>
<li><code>InvalidSelectValueError</code> for when setting a
<code>Select</code> to an invalid value</li>
<li><code>EmptySelectError</code> when creating/setting a
<code>Select</code> to have no options when <code>allow_blank</code> is
<code>False</code></li>
</ul>
</li>
<li><code>Select</code> methods <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a>
<ul>
<li><code>clear</code></li>
<li><code>is_blank</code></li>
</ul>
</li>
<li>Constant <code>Select.BLANK</code> to flag an empty selection <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a></li>
<li>Added <code>restrict</code>, <code>type</code>,
<code>max_length</code>, and <code>valid_empty</code> to Input <a
href="https://redirect.github.com/Textualize/textual/pull/3657">Textualize/textual#3657</a></li>
<li>Added <code>Pilot.mouse_down</code> to simulate
<code>MouseDown</code> events <a
href="https://redirect.github.com/Textualize/textual/pull/3495">Textualize/textual#3495</a></li>
<li>Added <code>Pilot.mouse_up</code> to simulate <code>MouseUp</code>
events <a
href="https://redirect.github.com/Textualize/textual/pull/3495">Textualize/textual#3495</a></li>
<li>Added <code>Widget.is_mounted</code> property <a
href="https://redirect.github.com/Textualize/textual/pull/3709">Textualize/textual#3709</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>CSS error reporting will no longer provide links to the files in
question <a
href="https://redirect.github.com/Textualize/textual/pull/3582">Textualize/textual#3582</a></li>
<li>inline CSS error reporting will report widget/class variable where
the CSS was read from <a
href="https://redirect.github.com/Textualize/textual/pull/3582">Textualize/textual#3582</a></li>
<li>Breaking change: Setting <code>Select.value</code> to
<code>None</code> no longer clears the selection (See
<code>Select.BLANK</code> and <code>Select.clear</code>) <a
href="https://redirect.github.com/Textualize/textual/pull/3614">Textualize/textual#3614</a></li>
<li>Breaking change: <code>Button</code> no longer inherits from
<code>Static</code>, now it inherits directly from <code>Widget</code>
<a
href="https://redirect.github.com/Textualize/textual/issues/3603">Textualize/textual#3603</a></li>
<li>Rich markup in markdown headings is now escaped when building the
TOC <a
href="https://redirect.github.com/Textualize/textual/issues/3689">Textualize/textual#3689</a></li>
<li>Mechanics behind mouse clicks. See <a
href="https://redirect.github.com/Textualize/textual/pull/3495#issue-1934915047">this</a>
for more details. <a
href="https://redirect.github.com/Textualize/textual/pull/3495">Textualize/textual#3495</a></li>
<li>Breaking change: max/min-width/height now includes padding and
border. <a
href="https://redirect.github.com/Textualize/textual/pull/3712">Textualize/textual#3712</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Textualize/textual/commit/a64a0d21d787016df9dde84287cb36ecda50b787"><code>a64a0d2</code></a>
version bump (<a
href="https://redirect.github.com/Textualize/textual/issues/3731">#3731</a>)</li>
<li><a
href="https://github.com/Textualize/textual/commit/896aa9f9244ce852659946bb3abc8551b38bbb03"><code>896aa9f</code></a>
Merge pull request <a
href="https://redirect.github.com/Textualize/textual/issues/3718">#3718</a>
from Textualize/compositor-ignore-unmounted</li>
<li><a
href="https://github.com/Textualize/textual/commit/a000994b2f09f41b35184ad0d1dd370be00c563c"><code>a000994</code></a>
Compositor ignores non-mounted widgets.</li>
<li><a
href="https://github.com/Textualize/textual/commit/67dd75ae64929d7cdf1bd8340df031afc83d0075"><code>67dd75a</code></a>
Merge pull request <a
href="https://redirect.github.com/Textualize/textual/issues/3715">#3715</a>
from Textualize/widget-compose-example</li>
<li><a
href="https://github.com/Textualize/textual/commit/f5826951bfc8a9b1dba2e1138def7c9761819351"><code>f582695</code></a>
Fix docstring example.</li>
<li><a
href="https://github.com/Textualize/textual/commit/a11ff16519c06d3d31b6e920a0c3e08362714b38"><code>a11ff16</code></a>
fix min width (<a
href="https://redirect.github.com/Textualize/textual/issues/3712">#3712</a>)</li>
<li><a
href="https://github.com/Textualize/textual/commit/ca68b868a62ec73230c961541268a982563459f0"><code>ca68b86</code></a>
feat(widget): add is_mounted property (<a
href="https://redirect.github.com/Textualize/textual/issues/3709">#3709</a>)</li>
<li><a
href="https://github.com/Textualize/textual/commit/ca534a0cc4f467b2edb6f7aa8600a773378b629a"><code>ca534a0</code></a>
Merge pull request <a
href="https://redirect.github.com/Textualize/textual/issues/3632">#3632</a>
from TomJGooding/fix-scrollable-container-receive-focus</li>
<li><a
href="https://github.com/Textualize/textual/commit/81b35e328d655b5ca2a46610dd773cce987669da"><code>81b35e3</code></a>
Merge pull request <a
href="https://redirect.github.com/Textualize/textual/issues/3708">#3708</a>
from davep/main</li>
<li><a
href="https://github.com/Textualize/textual/commit/43de6d7bab2e003e706c1c830d424c8a6d137c4e"><code>43de6d7</code></a>
Merge branch 'Textualize:main' into main</li>
<li>Additional commits viewable in <a
href="https://github.com/Textualize/textual/compare/v0.41.0...v0.42.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=textual&package-manager=pip&previous-version=0.41.0&new-version=0.42.0)](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 23, 2023
1 parent 482dab2 commit 08afa72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
extras = ["riscemu==2.2.5", "wgpu==0.12.0", "textual==0.41.0", "pyclip==0.7"]
extras = ["riscemu==2.2.5", "wgpu==0.12.0", "textual==0.42.0", "pyclip==0.7"]

[project.urls]
Homepage = "https://xdsl.dev/"
Expand Down

0 comments on commit 08afa72

Please sign in to comment.