From ac0bba9bd5f1bbd65d36174805d89a3924db4833 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Wed, 6 Aug 2025 17:53:14 +0100 Subject: [PATCH 1/2] ci: bump actions/setup-python to v5 I noticed looking at recent workflow runs that there's a number of warnings where the cache has failed to save/restore. Apparently old versions of the actions cache service are now deprecated (https://github.com/actions/setup-python/pull/1007). Bumping actions/setup-python to v5 should hopefully fix the caching and help speed up CI runs! --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 54d5a26d0f..0a77242851 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -29,7 +29,7 @@ jobs: - name: Install Poetry run: pipx install poetry==1.7.1 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4.7.1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "poetry" From 4bb21e22494720e448206124879becc92839809c Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:01:29 +0100 Subject: [PATCH 2/2] chore: remove trailing spaces in Button CSS --- src/textual/widgets/_button.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/textual/widgets/_button.py b/src/textual/widgets/_button.py index df73e7f0d8..e36085b7c6 100644 --- a/src/textual/widgets/_button.py +++ b/src/textual/widgets/_button.py @@ -65,10 +65,10 @@ class Button(Widget, can_focus=True): border: none !important; } - &:disabled { + &:disabled { text-opacity: 0.6; } - + &:focus { text-style: $button-focus-text-style; background-tint: $foreground 5%;