public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/glsl-analyzer] rawhide: Replace the dependency on pytest-subtests with pytest 9
Date: Wed, 22 Jul 2026 14:14:30 GMT	[thread overview]
Message-ID: <178472967031.1.14777235784341570241.rpms-glsl-analyzer-c9eb17d29668@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/glsl-analyzer
Branch : rawhide
Commit : c9eb17d29668a8a1c331ba325663e105a198c4d9
Author : Tomáš Hrnčiar <thrnciar@redhat.com>
Date   : 2026-07-22T15:15:29+02:00
Stats  : +63/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/glsl-analyzer/c/c9eb17d29668a8a1c331ba325663e105a198c4d9?branch=rawhide

Log:
Replace the dependency on pytest-subtests with pytest 9

---
diff --git a/93.patch b/93.patch
new file mode 100644
index 0000000..041f34b
--- /dev/null
+++ b/93.patch
@@ -0,0 +1,61 @@
+From 746f6d3402fbc4fe1fd14ee2b4996d19c8254df0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
+Date: Mon, 13 Apr 2026 12:32:18 +0200
+Subject: [PATCH] Replace the dependency on pytest-subtests with pytest 9
+
+---
+ tests/requirements.txt   | 3 +--
+ tests/test_format_cli.py | 2 +-
+ tests/test_lsp.py        | 2 +-
+ tests/test_parser.py     | 2 +-
+ 4 files changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/tests/requirements.txt b/tests/requirements.txt
+index 2d94bf2..8685d0a 100644
+--- a/tests/requirements.txt
++++ b/tests/requirements.txt
+@@ -1,4 +1,3 @@
+-pytest
++pytest>=9
+ pytest-lsp
+-pytest-subtests
+ typeguard
+diff --git a/tests/test_format_cli.py b/tests/test_format_cli.py
+index d1d4c09..9d15c19 100644
+--- a/tests/test_format_cli.py
++++ b/tests/test_format_cli.py
+@@ -2,7 +2,7 @@
+ from pathlib import Path
+ 
+ import pytest
+-import pytest_subtests
++import _pytest.subtests as pytest_subtests
+ 
+ 
+ base_directory = Path(__file__).parent.resolve()
+diff --git a/tests/test_lsp.py b/tests/test_lsp.py
+index be02fa1..050c693 100644
+--- a/tests/test_lsp.py
++++ b/tests/test_lsp.py
+@@ -6,7 +6,7 @@
+ import lsprotocol.types as lspt
+ 
+ import pytest
+-import pytest_subtests
++import _pytest.subtests as pytest_subtests
+ import pytest_lsp
+ 
+ 
+diff --git a/tests/test_parser.py b/tests/test_parser.py
+index ff57ed2..2770ff2 100644
+--- a/tests/test_parser.py
++++ b/tests/test_parser.py
+@@ -2,7 +2,7 @@
+ from pathlib import Path
+ 
+ import pytest
+-import pytest_subtests
++import _pytest.subtests as pytest_subtests
+ 
+ 
+ base_directory = Path(__file__).parent.resolve()

diff --git a/glsl-analyzer.spec b/glsl-analyzer.spec
index 5726862..e5e7161 100644
--- a/glsl-analyzer.spec
+++ b/glsl-analyzer.spec
@@ -16,13 +16,14 @@ Patch:          0002-update-to-zig-0.15.2.patch
 # Updates to 0.16.0
 # https://github.com/nolanderc/glsl_analyzer/pull/94
 Patch:          0003-update-to-zig-0.16.0.patch
+# compatibility with pytest 9
+Patch:          https://github.com/nolanderc/glsl_analyzer/pull/93.patch
 
 BuildRequires:  (zig >= 0.16 with zig < 0.17)
 BuildRequires:  zig-rpm-macros
 # testing
 BuildRequires:  pytest
 BuildRequires:  python3-lsprotocol
-BuildRequires:  python3-pytest-subtests
 BuildRequires:  python3-pytest-lsp
 BuildRequires:  python3-typeguard
 

                 reply	other threads:[~2026-07-22 14:14 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=178472967031.1.14777235784341570241.rpms-glsl-analyzer-c9eb17d29668@fedoraproject.org \
    --to=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