public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-python-setuptools] rawhide: Rebuild (mingw-python-3.14)
Date: Wed, 23 Sep 2026 16:49:37 GMT	[thread overview]
Message-ID: <179018217756.1.16595130721717835526.rpms-mingw-python-setuptools-cdd3837dce30@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mingw-python-setuptools
Branch : rawhide
Commit : cdd3837dce30dd6aad8936b5a5d1e442e44cdfef
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-09-23T18:49:27+02:00
Stats  : +25/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mingw-python-setuptools/c/cdd3837dce30dd6aad8936b5a5d1e442e44cdfef?branch=rawhide

Log:
Rebuild (mingw-python-3.14)

---
diff --git a/mingw-python-setuptools.spec b/mingw-python-setuptools.spec
index d3721d3..3865549 100644
--- a/mingw-python-setuptools.spec
+++ b/mingw-python-setuptools.spec
@@ -63,6 +63,7 @@ find setuptools -name \*.py | xargs sed -i -e '1 {/^#!\//d}'
 
 
 %install
+# Note: we need -O0 to avoid internal byte-compilation
 ln -fs build_mingw32_host build;
 %mingw32_python3_host setup.py install -O0 --skip-build --root %{buildroot}
 ln -fs build_mingw64_host build;

diff --git a/setuptools_shlibext.patch b/setuptools_shlibext.patch
new file mode 100644
index 0000000..75395a4
--- /dev/null
+++ b/setuptools_shlibext.patch
@@ -0,0 +1,24 @@
+diff -rupN setuptools-84.0.0/setuptools/_distutils/compilers/C/unix.py setuptools-84.0.0-new/setuptools/_distutils/compilers/C/unix.py
+--- setuptools-84.0.0/setuptools/_distutils/compilers/C/unix.py	2026-08-08 20:27:34.817104300 +0200
++++ setuptools-84.0.0-new/setuptools/_distutils/compilers/C/unix.py	2026-09-23 18:01:39.207248030 +0200
+@@ -264,7 +264,8 @@ class Compiler(base.Compiler):
+         if 'RANLIB' in os.environ and self.executables.get('ranlib', None):
+             self.set_executables(ranlib=os.environ['RANLIB'])
+ 
+-        self.shared_lib_extension = shlib_suffix  # type: ignore[misc] # Assigning to ClassVar
++        # NOTE: SHLIB_SUFFIX is set to pyd, but we definitely want to keep dll.a as shared_lib_extension as is default for the UnixCCompiler!
++        # self.shared_lib_extension = shlib_suffix  # type: ignore[misc] # Assigning to ClassVar
+ 
+     def _fix_lib_args(self, libraries, library_dirs, runtime_library_dirs):
+         """Remove standard library path from rpath"""
+diff -rupN setuptools-84.0.0/setuptools/_distutils/util.py setuptools-84.0.0-new/setuptools/_distutils/util.py
+--- setuptools-84.0.0/setuptools/_distutils/util.py	2026-08-08 20:27:34.820238400 +0200
++++ setuptools-84.0.0-new/setuptools/_distutils/util.py	2026-09-22 20:15:23.205933683 +0200
+@@ -328,6 +328,7 @@ def byte_compile(  # noqa: C901
+         with script:
+             script.write(
+                 """\
++import setuptools
+ from distutils.util import byte_compile
+ files = [
+ """

             reply	other threads:[~2026-09-23 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23 16:49 Sandro Mani [this message]
2026-09-23 16:49 [rpms/mingw-python-setuptools] rawhide: Rebuild (mingw-python-3.14) Sandro Mani

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=179018217756.1.16595130721717835526.rpms-mingw-python-setuptools-cdd3837dce30@fedoraproject.org \
    --to=manisandro@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