public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Cossette <farchord@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lutris] rawhide: [PATCH] Remove python-magic requirement
Date: Sun, 29 Nov 2026 23:52:21 GMT	[thread overview]
Message-ID: <179599634173.1.12313170799791651758.rpms-lutris-bd8767f883f2@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-29 23:52 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=179599634173.1.12313170799791651758.rpms-lutris-bd8767f883f2@fedoraproject.org \
    --to=farchord@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