public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pygsl] f45: Version 2.6.7
@ 2026-10-30 21:13 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-10-30 21:13 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pygsl
            Branch : f45
            Commit : c2958a3cf7dd24ea9724d66208ce7be34354f2aa
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-10-30T14:26:07-06:00
            Stats  : +4/-130 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/pygsl/c/c2958a3cf7dd24ea9724d66208ce7be34354f2aa?branch=f45

            Log:
            Version 2.6.7

- Drop 2 upstreamed patches
- Minor spec file cleanups

---
diff --git a/105.patch b/105.patch
deleted file mode 100644
index 1d4a8be..0000000
--- a/105.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From b7c237378cd360a1d3caf993f5e22d56975d5fae Mon Sep 17 00:00:00 2001
-From: Jerry James <loganjerry@gmail.com>
-Date: Mon, 14 Sep 2026 15:40:48 -0600
-Subject: [PATCH 1/2] Typo fix: set_avmax -> get_avmax
-
----
- src/callback/gsl_multifit_nlinear.i | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/callback/gsl_multifit_nlinear.i b/src/callback/gsl_multifit_nlinear.i
-index 521947c..eac5734 100644
---- a/src/callback/gsl_multifit_nlinear.i
-+++ b/src/callback/gsl_multifit_nlinear.i
-@@ -341,7 +341,7 @@ typedef struct {
-     double get_factor_down(void) {
- 	return self->factor_down;
-     }
--    double set_avmax(void) {
-+    double get_avmax(void) {
- 	return self->avmax;
-     }
-     double get_h_df(void){
-
-From 89e976a68b4cf86936903ddc7ec2f0d4360a0d5d Mon Sep 17 00:00:00 2001
-From: Jerry James <loganjerry@gmail.com>
-Date: Mon, 14 Sep 2026 15:46:03 -0600
-Subject: [PATCH 2/2] Avoid nonexistent const gsl_vector * typemap
-
----
- src/callback/gsl_multifit_nlinear.i | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/callback/gsl_multifit_nlinear.i b/src/callback/gsl_multifit_nlinear.i
-index eac5734..d8d2f29 100644
---- a/src/callback/gsl_multifit_nlinear.i
-+++ b/src/callback/gsl_multifit_nlinear.i
-@@ -479,7 +479,7 @@ typedef struct {
- }
- 
- 
--%apply const gsl_vector *IN {const gsl_vector * weights};
-+%apply gsl_vector *IN {const gsl_vector * weights};
- 
- %extend pygsl_multifit_nlinear_workspace{
-     pygsl_multifit_nlinear_workspace(

diff --git a/pygsl-format-mismatch.patch b/pygsl-format-mismatch.patch
deleted file mode 100644
index 5b9fa75..0000000
--- a/pygsl-format-mismatch.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-Fixes warnings like this:
-
-  In file included from ../src/init/initmodule.c:20:
-  ../src/init/block_helpers_numpy.ic: In function ‘PyGSL_numpy_convert’:
-  ../Include/pygsl/utils.h:48:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
-     48 |         "In Function %s from File %s at line %d "  mess      "\n" ,  \
-        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-  ../src/init/block_helpers_numpy.ic:112:6: note: in expansion of macro ‘DEBUG_MESS’
-    112 |      DEBUG_MESS(4, "Got an array @ %p with refcnt %ld", (void *)a_array,
-        |      ^~~~~~~~~~
-
---- pygsl-2.6.4/src/init/block_helpers.c.orig	2025-11-02 03:11:24.000000000 -0700
-+++ pygsl-2.6.4/src/init/block_helpers.c	2025-11-02 06:54:04.725418184 -0700
-@@ -666,7 +666,7 @@ PyGSL_vector_check(PyObject *src, PyGSL_
- 	  }
- 
-      }/* number of tries */
--     DEBUG_MESS(7, "Checking refcount src obj @ %p had %ld cts and array @ %p has now %ld cts",
-+     DEBUG_MESS(7, "Checking refcount src obj @ %p had %u cts and array @ %p has now %u cts",
- 		(void *) src,  src->ob_refcnt, (void *)a_array,
- 		PyGSL_PY_ARRAY_GET_REFCNT(a_array));
- 
---- pygsl-2.6.4/src/init/block_helpers_numpy.ic.orig	2025-11-02 03:11:24.000000000 -0700
-+++ pygsl-2.6.4/src/init/block_helpers_numpy.ic	2025-11-02 06:53:40.773574411 -0700
-@@ -109,7 +109,7 @@ PyGSL_numpy_convert(PyObject *src, int a
- 	  line = __LINE__ - 1;
-      }
- 
--     DEBUG_MESS(4, "Got an array @ %p with refcnt %ld", (void *)a_array,
-+     DEBUG_MESS(4, "Got an array @ %p with refcnt %u", (void *)a_array,
- 		PyGSL_PY_ARRAY_GET_REFCNT(a_array));
-      FUNC_MESS_END();
- 
-@@ -186,7 +186,7 @@ PyGSL_PyArray_prepare_gsl_matrix_view(Py
-      if(PyGSL_PyArray_Check(a_array, array_type, flag,  2, dimensions, argnum, info) != GSL_SUCCESS)
- 	  goto fail;
- 
--     DEBUG_MESS(3, "a_array @ %p is a matrix with refcnt %ld", (void *) a_array,
-+     DEBUG_MESS(3, "a_array @ %p is a matrix with refcnt %u", (void *) a_array,
- 		PyGSL_PY_ARRAY_GET_REFCNT(a_array));
-      FUNC_MESS_END();
-      return a_array;
---- pygsl-2.6.4/src/rng/rng_helpers.c.orig	2025-11-02 03:11:24.000000000 -0700
-+++ pygsl-2.6.4/src/rng/rng_helpers.c	2025-11-02 06:56:29.155747994 -0700
-@@ -1169,14 +1169,14 @@ PyGSL_pdf_dA_to_uint_or_dA(PyObject *sel
- 	  goto fail;
-      }
-      k = PyArray_DIM(array_p, 0);
--     DEBUG_MESS(4, "Building Matrix. Input Object @ %p with refcount %ld!", (void *) tmp1, tmp1->ob_refcnt);
-+     DEBUG_MESS(4, "Building Matrix. Input Object @ %p with refcount %u!", (void *) tmp1, tmp1->ob_refcnt);
-      ainfo = PyGSL_BUILD_ARRAY_INFO(PyGSL_NON_CONTIGUOUS | PyGSL_INPUT_ARRAY, type_3darg, 1, 2);
-      array_n = PyGSL_matrix_check(tmp1, -1, k, ainfo,  NULL, NULL, NULL);
-      if(array_n == NULL){
- 	  line = __LINE__ - 2;
- 	  goto fail;
-      }
--     DEBUG_MESS(4, "Built Matrix. Object @ %p with refcount %ld!", (void *) array_n, PyGSL_PY_ARRAY_GET_REFCNT(array_n));
-+     DEBUG_MESS(4, "Built Matrix. Object @ %p with refcount %u!", (void *) array_n, PyGSL_PY_ARRAY_GET_REFCNT(array_n));
-      dimension = PyArray_DIM(array_n, 0);
- 
-      FUNC_MESS("New Array ...");
---- pygsl-2.6.4/src/rng/rng_multinomial.ic.orig	2025-11-02 03:11:24.000000000 -0700
-+++ pygsl-2.6.4/src/rng/rng_multinomial.ic	2025-11-02 06:57:01.539241447 -0700
-@@ -37,7 +37,7 @@ PyGSL_rng_multinomial_hand(PyGSL_rng *rn
- 	  line = __LINE__ - 2;
- 	  goto fail;
-      }
--     DEBUG_MESS(4, "Built Matrix object @ %p with refcount %ld dims = [%ld, %ld], dim= %ld, k = %ld",
-+     DEBUG_MESS(4, "Built Matrix object @ %p with refcount %u dims = [%ld, %ld], dim= %ld, k = %ld",
- 		(void *) array_n, PyGSL_PY_ARRAY_GET_REFCNT(array_n),
- 		(long) PyArray_DIM(array_n, 0), (long) PyArray_DIM(array_n, 1), dim, (long) k);
- 

diff --git a/pygsl.spec b/pygsl.spec
index 9b85c6c..37f6ed0 100644
--- a/pygsl.spec
+++ b/pygsl.spec
@@ -1,5 +1,3 @@
-%global sum GNU Scientific Library Interface for python
-
 # Put all the documentation in one place
 %global _docdir_fmt %{name}
 
@@ -7,9 +5,9 @@
 %global _python_bytecompile_errors_terminate_build 0
 
 Name:           pygsl
-Version:        2.6.6
+Version:        2.6.7
 Release:        %autorelease
-Summary:        %{sum}
+Summary:        GNU Scientific Library Interface for python
 
 License:        GPL-2.0-or-later
 URL:            https://github.com/pygsl/pygsl
@@ -21,14 +19,10 @@ Patch:          %{name}-flexiblas.patch
 # Fix the multinomial rng test
 # See https://github.com/pygsl/pygsl/pull/58
 Patch:          %{name}-rng-test.patch
-# Fix warnings due to printf format mismatches
-Patch:          %{name}-format-mismatch.patch
 # Fix autodoc failure due to deleting a nonexistent variable
 Patch:          %{name}-del.patch
 # Fix autodoc errors on the API page
 Patch:          %{name}-api.patch
-# Fix some swig errors
-Patch:          %{url}/pull/105.patch
 
 # Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
@@ -50,7 +44,7 @@ BuildRequires:  %{py3_dist sphinx-rtd-theme}
 This project provides a python interface for the GNU scientific library (gsl).
 
 %package -n python3-pygsl
-Summary:       %{sum}
+Summary:       %{summary}
 # This can be removed when F44 reaches EOL
 Obsoletes:     pygsl < 2.4.0-2
 Provides:      pygsl = %{version}-%{release}
@@ -79,9 +73,6 @@ Reference manual for pygsl.
 %prep
 %autosetup -p1
 
-# Fix version number for the 2.6.6 release
-sed -i 's/2\.6\.6rc1/2.6.6/' pyproject.toml
-
 %conf
 fixtimestamp() {
   touch -r $1.orig $1

diff --git a/sources b/sources
index edbb058..c1ba042 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (pygsl-2.6.6.tar.gz) = f54e389398a2e6593bfa23206ec78d1f40819d13529c7f821abe9c89aa09e45127e0613dbce63ca4263f5c10a73ab50d7242c5b05dd40d418dfd9d5f2c23457b
+SHA512 (pygsl-2.6.7.tar.gz) = c9bd92a75a69f850ece6836d444ee1667ea671bc8ab4c3af6aa4b9d6b3110234fe4891f61f7e2c28d8dbf4521a767f4c9d8e8a6edfb99b22440aee677927f81d
 SHA512 (objects.inv) = f54bc27fd49b560f1d8586fea0f727a2a3045fb7377d915926a7d53b7ed60aa504cc81815fce8b967b4cf3ec09d9dbf6842bd4e3b246efc3cdeb186bb54f1b37

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

only message in thread, other threads:[~2026-10-30 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 21:13 [rpms/pygsl] f45: Version 2.6.7 Jerry James

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