public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pavel Solovev <daron439@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kitty] f45: Update to 0.48.2
Date: Tue, 22 Sep 2026 13:53:49 GMT	[thread overview]
Message-ID: <179008522949.1.8062888118696582940.rpms-kitty-c1c6c7da2d2b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/kitty
Branch : f45
Commit : c1c6c7da2d2be7b5672439b8af59f033e40cf839
Author : Pavel Solovev <daron439@gmail.com>
Date   : 2026-09-22T16:47:47+03:00
Stats  : +12/-148 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/kitty/c/c1c6c7da2d2be7b5672439b8af59f033e40cf839?branch=f45

Log:
Update to 0.48.2

---
diff --git a/10491.patch b/10491.patch
index 0029cf1..12a66e2 100644
--- a/10491.patch
+++ b/10491.patch
@@ -1,27 +1,5 @@
-From 6a92acdd8411925e35090298251b38d81f2c8109 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Thu, 17 Sep 2026 11:35:52 +0200
-Subject: [PATCH 1/2] Don't use a capturing group in the re.Scanner lexicon
-
-Python 3.15 forbids capturing groups in re.Scanner lexicon patterns and
-raises:
-
-    ValueError: Cannot use capturing groups in re.Scanner
-
-See https://github.com/python/cpython/issues/140797 and
-https://github.com/python/cpython/commit/fa9c3eefd47
-
-Co-Authored-By: Kovid Goyal <kovid@kovidgoyal.net>
-
-Cherry-picked from https://github.com/kovidgoyal/calibre/commit/b80ae9b0e93a1fb73ca87de4698fea1df8fa7fb4
-
-I used LLM to analyze the issue, then @befeleme found the commit from calibre.
----
- kitty/search_query_parser.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
 diff --git a/kitty/search_query_parser.py b/kitty/search_query_parser.py
-index 51a6f7c..6fcab4e 100644
+index dfdc7cfa2..6cdd0e3a3 100644
 --- a/kitty/search_query_parser.py
 +++ b/kitty/search_query_parser.py
 @@ -125,7 +125,7 @@ def lex_scanner() -> Callable[[str], tuple[list[Token], str]]:
@@ -29,44 +7,7 @@ index 51a6f7c..6fcab4e 100644
              (r'@.+?:[^")\s]+', lambda x, t: Token(TokenType.WORD, str(t))),
              (r'[^"()\s]+', lambda x, t: Token(TokenType.WORD, str(t))),
 -            (r'".*?((?<!\\)")', lambda x, t: Token(TokenType.QUOTED_WORD, t[1:-1])),
-+            (r'".*?(?:(?<!\\)")', lambda x, t: Token(TokenType.QUOTED_WORD, t[1:-1])),
-             (r'\s+',              None)
-     ], flags=re.DOTALL).scan
- 
--- 
-2.55.0
-
-
-From b93642152a22d6fe629a86ff0a750679febd70cd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Thu, 17 Sep 2026 11:43:05 +0200
-Subject: [PATCH 2/2] Don't use a non-capturing group in the re.Scanner lexicon
- either
-
-As @encukou pointed out during Fedora PR review in
-https://src.fedoraproject.org/rpms/kitty/pull-request/10#comment-339615
-
-> The parentheses look unnecessary;
-> rather than convert to a non-capturing group they could be removed.
-
-Co-Authored-By: Petr Viktorin <encukou@gmail.com>
----
- kitty/search_query_parser.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/kitty/search_query_parser.py b/kitty/search_query_parser.py
-index 6fcab4e..9ceb8af 100644
---- a/kitty/search_query_parser.py
-+++ b/kitty/search_query_parser.py
-@@ -125,7 +125,7 @@ def lex_scanner() -> Callable[[str], tuple[list[Token], str]]:
-             (r'[()]', lambda x, t: Token(TokenType.OPCODE, t)),
-             (r'@.+?:[^")\s]+', lambda x, t: Token(TokenType.WORD, str(t))),
-             (r'[^"()\s]+', lambda x, t: Token(TokenType.WORD, str(t))),
--            (r'".*?(?:(?<!\\)")', lambda x, t: Token(TokenType.QUOTED_WORD, t[1:-1])),
 +            (r'".*?(?<!\\)"', lambda x, t: Token(TokenType.QUOTED_WORD, t[1:-1])),
              (r'\s+',              None)
-     ], flags=re.DOTALL).scan
+     ], flags=re.DOTALL).scan)
  
--- 
-2.55.0
-

diff --git a/10513.patch b/10513.patch
index a4ea108..94f5037 100644
--- a/10513.patch
+++ b/10513.patch
@@ -1,57 +1,8 @@
-From 9e0d98d48b2e5f2a2cd72e3eac756564fe1d3990 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Tue, 22 Sep 2026 13:34:54 +0200
-Subject: [PATCH] tests: accept coreutils >= 9.12 shell-quoted env output in
- test_ssh_env_vars
-
-Since coreutils 9.12, env shell-quotes values written to a terminal
-by default (a pty counts as one, see coreutils issue #355 for the
-history: https://github.com/coreutils/coreutils/issues/355).
-
-This makes the literal, unquoted match for TSET= in
-test_ssh_env_vars no longer find the value, so the test times out
-waiting for it and eventually surfaces as an EIO reading from the pty
-once the child has already exited. Accept the shlex-quoted form of
-the value as well, since the ssh kitten's own env-passing code does
-not use env and is unaffected.
-
-Observed failure (Fedora rawhide buildroot with coreutils-9.12-1.fc46):
-
-    ======================================================================
-    ERROR: test_ssh_env_vars (kitty_tests.ssh.SSHKitten.test_ssh_env_vars)
-    ----------------------------------------------------------------------
-    Traceback (most recent call last):
-      File "kitty_tests/__init__.py", line 461, in wait_till
-        self.process_input_from_child(timeout=end_time - time.monotonic())
-      File "kitty_tests/__init__.py", line 449, in process_input_from_child
-        data = os.read(self.master_fd, io.DEFAULT_BUFFER_SIZE)
-    OSError: [Errno 5] Input/output error
-
-    The above exception was the direct cause of the following exception:
-
-    Traceback (most recent call last):
-      File "kitty_tests/__init__.py", line 250, in wrapper
-        return func(*args, **kwargs)
-      File "kitty_tests/ssh.py", line 146, in test_ssh_env_vars
-        pty.wait_till(lambda: 'TSET={}'.format(tset.replace('$A', 'AAA')) in pty.screen_contents())
-      File "kitty_tests/__init__.py", line 464, in wait_till
-        raise Exception(f'Failed to read from pty with error: {e}. {self.screen_contents_for_error()}') from e
-    Exception: Failed to read from pty with error: [Errno 5] Input/output error. Screen contents as repr:
-    '...\nA=AAA\nTSET=\'AAA-$(echo no)-`echo no2` !Q5 "something else"\'\n...'
-
-    Ran 337 tests in 19.341s
-    FAILED (errors=1, skipped=3)
-
-Assisted-By: Claude Sonnet 5
----
- kitty_tests/ssh.py | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
 diff --git a/kitty_tests/ssh.py b/kitty_tests/ssh.py
-index 3d930b1..9bbd629 100644
+index 9e126fe29..df5550416 100644
 --- a/kitty_tests/ssh.py
 +++ b/kitty_tests/ssh.py
-@@ -4,6 +4,7 @@
+@@ -5,6 +5,7 @@
  import glob
  import json
  import os
@@ -59,7 +10,7 @@ index 3d930b1..9bbd629 100644
  import shutil
  import subprocess
  import tempfile
-@@ -143,7 +144,13 @@ def test_ssh_env_vars(self):
+@@ -144,7 +145,13 @@ def test_ssh_env_vars(self):
                  pty = self.check_bootstrap(
                      sh, tdir, test_script='env; pwd; exit 0', SHELL_INTEGRATION_VALUE='', conf=conf
                  )
@@ -74,6 +25,3 @@ index 3d930b1..9bbd629 100644
                  self.assertNotIn('COLORTERM', pty.screen_contents())
                  pty.wait_till(lambda: '/cwd' in pty.screen_contents())
                  self.assertTrue(pty.is_echo_on())
--- 
-2.55.0
-

diff --git a/kitty-do-not-treat-DeprecationWarnings-as-errors-in-tests.patch b/kitty-do-not-treat-DeprecationWarnings-as-errors-in-tests.patch
index 47b2760..a789218 100644
--- a/kitty-do-not-treat-DeprecationWarnings-as-errors-in-tests.patch
+++ b/kitty-do-not-treat-DeprecationWarnings-as-errors-in-tests.patch
@@ -1,30 +1,8 @@
-From f36c06ad04f2214cb399df7296fd70e6c61bb305 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Mon, 24 Aug 2026 13:53:25 +0200
-Subject: [PATCH] Don't treat DeprecationWarnings as errors in the test suite
-
-The test runner turns all warnings into errors, both in-process via
-warnings.simplefilter('error') and in spawned subprocesses via
-PYTHONWARNINGS='error'. That makes the suite fail on DeprecationWarnings
-emitted by newer Python versions and their standard library, which is
-not useful for a downstream distribution build.
-
-Downgrade DeprecationWarning back to its default (print, don't raise)
-in both places while keeping every other warning category fatal.
-
-This is a downstream-only change; upstream intentionally treats
-deprecations as errors to catch them early.
-
-Assisted-By: Claude Opus 4.8
----
- kitty_tests/main.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
 diff --git a/kitty_tests/main.py b/kitty_tests/main.py
-index 9315e1746..10ac73ab1 100644
+index 030197874..4cea29986 100644
 --- a/kitty_tests/main.py
 +++ b/kitty_tests/main.py
-@@ -332,7 +332,7 @@ def env_for_python_tests(report_env: bool = False) -> Iterator[None]:
+@@ -324,7 +324,7 @@ def env_for_python_tests(report_env: bool = False) -> Iterator[None]:
          XDG_DATA_DIRS=os.path.join(tdir, '.local', 'xdg'),
          XDG_CACHE_HOME=os.path.join(tdir, '.cache'),
          XDG_RUNTIME_DIR=os.path.join(tdir, '.cache', 'run'),
@@ -33,12 +11,9 @@ index 9315e1746..10ac73ab1 100644
      ):
          if os.path.isdir(gohome):
              os.symlink(gohome, os.path.join(tdir, os.path.basename(gohome)))
-@@ -343,4 +343,5 @@ def main() -> None:
+@@ -335,4 +335,5 @@ def main() -> None:
      import warnings
  
      warnings.simplefilter('error')
 +    warnings.simplefilter('default', DeprecationWarning)
      run_tests()
--- 
-2.55.0
-

diff --git a/kitty.spec b/kitty.spec
index 7d2e562..1d9d8f6 100644
--- a/kitty.spec
+++ b/kitty.spec
@@ -8,7 +8,7 @@
 %endif
 
 Name:           kitty
-Version:        0.47.1
+Version:        0.48.2
 Release:        %autorelease
 Summary:        Cross-platform, fast, feature full, GPU based terminal emulator
 

diff --git a/sources b/sources
index 089bf0c..639919b 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (kitty-0.47.1.tar.xz) = 27555651f58cf5839e2a86124e8df66f977dd8dc9e604a65513d7f8b0612c0ff2a6e06caf3923cb26e2e6e3114ad9cbcb5095dc5586316fc9adfd149964b38ab
-SHA512 (kitty-0.47.1.tar.xz.sig) = 5a7857943ad4bb91edea52765ddb61f54bb09df52e3ec76163b2f4c8c2274635d3cc354b157998bb363906ca128c4dba90cedca76421503bcc15b2349a565267
+SHA512 (kitty-0.48.2.tar.xz) = 3db48d38f47e92c37b715955afb60dbeb7e1f70c0911f4ed37491b07c701f9819bea561efd0f99804e5b6358e31ec74d971020c8bea0f587185cec71ba5c183f
+SHA512 (kitty-0.48.2.tar.xz.sig) = 9126cea1d0fbe4935786656c62df1e73c8194a375a5bc25fc0e43e9d527c85423e9b2dd67459d64283a372416a287665360935b51c2107224f4463941e097014
 SHA512 (NerdFontsSymbolsOnly.tar.xz) = 2d1744affba49a14455a671c9dd19f5b3eb2f97009788bef1d832241aef4ab9149f51e7aa1cfed1436fb3b6db6f4de36bef0883959e7797f74097ceab4689f89
-SHA512 (kitty-vendor.tar.xz) = 8ad589715519e1cd3001893f00126277103f6004c94c6db695303f3d5f1ee424a9a442d1fea1af9058577706667be884dda6e8dc6766bc9fff9f4b8ffd618098
+SHA512 (kitty-vendor.tar.xz) = c70dc712167c203cfd616ea27bed9aea5d65c841f4776acecf51235c82b996eb7a64c78661f79bfdc5c6d4b79ddeb9c76498156f297eeaa78a13943074c3e790

                 reply	other threads:[~2026-09-22 13:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179008522949.1.8062888118696582940.rpms-kitty-c1c6c7da2d2b@fedoraproject.org \
    --to=daron439@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox