public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lutris] rawhide: [PATCH] Remove python-magic requirement
@ 2026-11-29 23:52 Steve Cossette
  0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-11-29 23:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/lutris
Branch : rawhide
Commit : bd8767f883f2a23ac12997bc8ae5eaf3af7b92b7
Author : Steve Cossette <farchord@gmail.com>
Date   : 2026-11-29T18:52:10-05:00
Stats  : +28/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/lutris/c/bd8767f883f2a23ac12997bc8ae5eaf3af7b92b7?branch=rawhide

Log:
[PATCH] Remove python-magic requirement

---
diff --git a/lutris-remove-python-magic.patch b/lutris-remove-python-magic.patch
new file mode 100644
index 0000000..cca0657
--- /dev/null
+++ b/lutris-remove-python-magic.patch
@@ -0,0 +1,25 @@
+From 6ff5b5d4ae2132994822260d8a552f20a619d618 Mon Sep 17 00:00:00 2001
+From: Steve <steve@localhost>
+Date: Sun, 29 Nov 2026 18:46:41 -0500
+Subject: [PATCH] Drop python-magic dependency
+
+Lutris bundles its own ctypes libmagic wrapper in lutris/util/magic.py
+and never imports the python-magic package.
+---
+ pyproject.toml | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 748bbc9..0546479 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -22,7 +22,6 @@ dependencies = [
+     "requests",
+     "Pillow",
+     "setproctitle",
+-    "python-magic",
+     "distro",
+     "dbus-python",
+     "evdev",
+-- 
+2.43.0

diff --git a/lutris.spec b/lutris.spec
index bfe0366..9b79b83 100644
--- a/lutris.spec
+++ b/lutris.spec
@@ -9,6 +9,9 @@ License:        GPL-3.0-only
 URL:            http://%{name}.net
 Source0:        https://github.com/%{name}/%{name}/archive/refs/tags/v%{version}.tar.gz
 
+# Remove the python-magic module from the requirements
+Patch0:         lutris-remove-python-magic.patch
+
 BuildRequires:  desktop-file-utils
 BuildRequires:  python3-devel
 Requires:       cabextract

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-29 23:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 23:52 [rpms/lutris] rawhide: [PATCH] Remove python-magic requirement Steve Cossette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox