public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyroaring] rawhide: Update to 1.1.0
Date: Tue, 10 Nov 2026 09:39:18 GMT [thread overview]
Message-ID: <179430355841.1.13519939156027587365.rpms-python-pyroaring-ba7919f9ceba@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pyroaring
Branch : rawhide
Commit : ba7919f9cebaf8bb1738ece30891e17e244afa96
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-08T14:33:38+01:00
Stats : +39/-78 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyroaring/c/ba7919f9cebaf8bb1738ece30891e17e244afa96?branch=rawhide
Log:
Update to 1.1.0
---
diff --git a/0001-Do-not-build-bundled-croaring-library-link-libroarin.patch b/0001-Do-not-build-bundled-croaring-library-link-libroarin.patch
new file mode 100644
index 0000000..71fcd58
--- /dev/null
+++ b/0001-Do-not-build-bundled-croaring-library-link-libroarin.patch
@@ -0,0 +1,36 @@
+From a23a893c6855d6cdca3c45fd454ffe6b1fbc8ea5 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Thu, 8 Oct 2026 13:29:45 +0100
+Subject: [PATCH] Do not build bundled croaring library; link libroaring
+
+Removing the bundled copy and dealing with include paths are outside the
+scope of this patch.
+---
+ setup.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 3b828f1..829b763 100755
+--- a/setup.py
++++ b/setup.py
+@@ -65,6 +65,7 @@ pyroaring_module = Extension(
+ sources=[os.path.join(PKG_DIR, 'pyroaring.pyx')],
+ extra_compile_args=ext_compile_args,
+ language='c++',
++ libraries = ['roaring'],
+ )
+
+ # roaring.c is compiled as a separate static library because it must be compiled
+@@ -80,7 +81,8 @@ libraries = [(
+ setup(
+ name='pyroaring',
+ ext_modules=[pyroaring_module],
+- libraries=libraries,
++ # https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling
++ # libraries=libraries,
+ package_data={'pyroaring': ['py.typed', '__init__.pyi']},
+ packages=['pyroaring'],
+ version=VERSION,
+--
+2.55.0
+
diff --git a/0001-Respect-system-compiler-flags-no-O3.patch b/0001-Respect-system-compiler-flags-no-O3.patch
deleted file mode 100644
index 8b19e54..0000000
--- a/0001-Respect-system-compiler-flags-no-O3.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 28694e93817bbfff0b04e2a72ce71b51dcbcb104 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Thu, 8 Oct 2026 13:25:11 +0100
-Subject: [PATCH 1/2] Respect system compiler flags (no -O3)
-
----
- setup.py | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 68e663b..9105dc3 100755
---- a/setup.py
-+++ b/setup.py
-@@ -47,8 +47,9 @@ else:
- compile_args.append('-mmacosx-version-min=10.14')
- if 'DEBUG' in os.environ:
- compile_args.extend(['-O0', '-g'])
-- else:
-- compile_args.append('-O3')
-+ # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags
-+ # else:
-+ # compile_args.append('-O3')
- if 'ARCHI' in os.environ:
- if os.environ['ARCHI'] != "generic":
- compile_args.extend(['-march=%s' % os.environ['ARCHI']])
---
-2.55.0
-
diff --git a/0002-Do-not-build-bundled-croaring-library-link-libroarin.patch b/0002-Do-not-build-bundled-croaring-library-link-libroarin.patch
deleted file mode 100644
index 4f1f6aa..0000000
--- a/0002-Do-not-build-bundled-croaring-library-link-libroarin.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From a0051e78b077dbc083f5743a6a9616bc9d1fc287 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Thu, 8 Oct 2026 13:29:45 +0100
-Subject: [PATCH 2/2] Do not build bundled croaring library; link libroaring
-
-Removing the bundled copy and dealing with include paths are outside the
-scope of this patch.
----
- setup.py | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 9105dc3..93c49a4 100755
---- a/setup.py
-+++ b/setup.py
-@@ -66,6 +66,8 @@ else:
- sources=[os.path.join(PKG_DIR, 'pyroaring.pyx')],
- extra_compile_args=compile_args + ["-std=c++11"],
- language='c++',
-+ # https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling
-+ libraries = ['roaring'],
- )
-
- # Because we compile croaring with a c compiler with sometimes incompatible arguments,
-@@ -78,7 +80,8 @@ else:
- "extra_compile_args": compile_args + ["-std=c11"],
- },
- )
-- libraries = [croaring]
-+ # https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling
-+ libraries = None
-
- setup(
- name='pyroaring',
---
-2.55.0
-
diff --git a/python-pyroaring.spec b/python-pyroaring.spec
index ff38fab..a6fddfc 100644
--- a/python-pyroaring.spec
+++ b/python-pyroaring.spec
@@ -2,7 +2,7 @@
%bcond benchmarks 0
Name: python-pyroaring
-Version: 1.0.4
+Version: 1.1.0
Release: %autorelease
Summary: Library for handling efficiently sorted integer sets
@@ -14,16 +14,6 @@ SourceLicense: %{license} AND (Apache-2.0 OR MIT)
URL: https://github.com/Ezibenroc/PyRoaringBitMap
Source: %{url}/archive/%{version}/PyRoaringBitMap-%{version}.tar.gz
-# Respect system compiler flags (no -O3)
-#
-# Downstream-only because upstream validly wants to add -O3, but we have not
-# proven it is justified. A casual comparative benchmark on x86_64 showed no
-# consistent and measurable improvement, and perhaps a small loss in some
-# microbenchmarks. This makes sense because we use the system croaring library,
-# and if there are any routines that benefit from -O3, they are likely to be in
-# those inner “hot” loops, not in the surrounding “glue” in the Python
-# extension.
-Patch: 0001-Respect-system-compiler-flags-no-O3.patch
# Do not build bundled croaring library; link libroaring
#
# Removing the bundled copy and dealing with include paths are outside the
@@ -32,7 +22,7 @@ Patch: 0001-Respect-system-compiler-flags-no-O3.patch
# Downstream-only for now; it would be nice to suggest an easy way to use a
# system copy upstream, but it’s not immediately obvious how best to do this in
# an upstreamable way.
-Patch: 0002-Do-not-build-bundled-croaring-library-link-libroarin.patch
+Patch: 0001-Do-not-build-bundled-croaring-library-link-libroarin.patch
BuildSystem: pyproject
BuildOption(generate_buildrequires): --tox --toxenv=cython3
diff --git a/sources b/sources
index b725a4d..2302d26 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (PyRoaringBitMap-1.0.4.tar.gz) = 1c0d81beadd7da20bb67cbb868b23bbfdf4b98f163325abcdbf03220bca013d6c9ceb4be6913dc014638326cf0b5db3c4847b9e1ea749b364c2290c696aa61d3
+SHA512 (PyRoaringBitMap-1.1.0.tar.gz) = b125a48e124b57c1be7cec55cdf84afde8333712b3b96d64f4a0e6b86d909b275a1a9be7f5ca269d062b5774e43c301e2542fd2444ecb2496eea94b5801158f9
reply other threads:[~2026-11-10 9:39 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=179430355841.1.13519939156027587365.rpms-python-pyroaring-ba7919f9ceba@fedoraproject.org \
--to=code@musicinmybrain.net \
--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