public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glsl-analyzer] rawhide: Replace the dependency on pytest-subtests with pytest 9
@ 2026-07-22 14:14
0 siblings, 0 replies; only message in thread
From: @ 2026-07-22 14:14 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-22 14:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 14:14 [rpms/glsl-analyzer] rawhide: Replace the dependency on pytest-subtests with pytest 9
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox