public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael J Gruber <mjg@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-PyMuPDF] rawhide: build against limited python API
Date: Sun, 19 Jul 2026 14:05:53 GMT	[thread overview]
Message-ID: <178446995347.1.15746687274186897714.rpms-python-PyMuPDF-faf6ff3b7a42@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-PyMuPDF
            Branch : rawhide
            Commit : faf6ff3b7a421b287d9d1be4d69ed61467dab113
            Author : Michael J Gruber <mjg@fedoraproject.org>
            Date   : 2026-07-16T20:14:06+02:00
            Stats  : +0/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-PyMuPDF/c/faf6ff3b7a421b287d9d1be4d69ed61467dab113?branch=rawhide

            Log:
            build against limited python API

This is upstream's default now and works on all current Fedoras (it used
not to on some), so we follow it.

---
diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec
index 5444571..c9953d9 100644
--- a/python-PyMuPDF.spec
+++ b/python-PyMuPDF.spec
@@ -90,8 +90,6 @@ export PYMUPDF_SETUP_MUPDF_BUILD_TYPE='release'
 export PYMUPDF_SETUP_MUPDF_BUILD=''
 # build rebased implementation only:
 export PYMUPDF_SETUP_IMPLEMENTATIONS='b'
-# build breaks on F39/EL9 with limited API, and we depend on py version anyways:
-export PYMUPDF_SETUP_PY_LIMITED_API=0
 CFLAGS="$CFLAGS -I/usr/include -I/usr/include/freetype2 -I/usr/include/mupdf"
 LDFLAGS="$LDFLAGS -lfreetype -lmupdf"
 %pyproject_wheel

                 reply	other threads:[~2026-07-19 14:05 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=178446995347.1.15746687274186897714.rpms-python-PyMuPDF-faf6ff3b7a42@fedoraproject.org \
    --to=mjg@fedoraproject.org \
    --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