public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-neo] f44: Update to 0.14.5
@ 2026-09-03 10:45 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-09-03 10:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-neo
Branch : f44
Commit : 8a5284c96499f0259fe6eb7acdd8a1dfdf6ecf9c
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-09-02T20:27:36-03:00
Stats : +3/-67 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-neo/c/8a5284c96499f0259fe6eb7acdd8a1dfdf6ecf9c?branch=f44
Log:
Update to 0.14.5
Resolves: rhbz#2493043
---
diff --git a/.gitignore b/.gitignore
index a8ac574..13c23fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@
/python-neo-0.14.1.tar.gz
/python-neo-0.14.2.tar.gz
/python-neo-0.14.4.tar.gz
+/python-neo-0.14.5.tar.gz
diff --git a/1849.patch b/1849.patch
deleted file mode 100644
index 41179c1..0000000
--- a/1849.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 4c53f0c729f3443665336b76a96f0084f0300aff Mon Sep 17 00:00:00 2001
-From: Andrew Davison <andrew.davison@cnrs.fr>
-Date: Tue, 12 May 2026 18:47:41 +0200
-Subject: [PATCH] Fix test_time_slice_deepcopy_data failure on numpy 2.4.x
-
-numpy 2.4.x changed assert_array_compare, which in some circumstances causes a shape mismatch IndexError when comparing AnalogSignal objects, instead of the expected AssertionError.
-
-This change tests deepcopy more directly, by taking a snapshot of the object before mutation and asserting it is unchanged afterwards.
-
-Also add numpy 2.4.4 to the core-test CI matrix.
-
-Fixes #1848
----
- .github/workflows/core-test.yml | 4 +++-
- neo/test/coretest/test_analogsignal.py | 14 ++++++++------
- 2 files changed, 11 insertions(+), 7 deletions(-)
-
-diff --git a/.github/workflows/core-test.yml b/.github/workflows/core-test.yml
-index 38e18aba2..1e214a20f 100644
---- a/.github/workflows/core-test.yml
-+++ b/.github/workflows/core-test.yml
-@@ -26,11 +26,13 @@ jobs:
- matrix:
- os: ["ubuntu-latest", "windows-latest", "macos-latest"]
- python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
-- numpy-version: ['1.25.2', '1.26.4', '2.0.2','2.1.3', '2.2.6', '2.3.3']
-+ numpy-version: ['1.25.2', '1.26.4', '2.0.2','2.1.3', '2.2.6', '2.3.3', '2.4.4']
- # 1.25: 3.11, 1.26: 3.12
- exclude:
- - python-version: '3.10'
- numpy-version: '2.3.3'
-+ - python-version: '3.10'
-+ numpy-version: '2.4.4'
- - python-version: '3.12'
- numpy-version: '1.25.2'
- - python-version: '3.13'
-diff --git a/neo/test/coretest/test_analogsignal.py b/neo/test/coretest/test_analogsignal.py
-index b0109df86..b79c17f32 100644
---- a/neo/test/coretest/test_analogsignal.py
-+++ b/neo/test/coretest/test_analogsignal.py
-@@ -545,15 +545,17 @@ def test__time_slice__no_explicit_time(self):
- def test__time_slice_deepcopy_data(self):
- result = self.signal1.time_slice(None, None)
-
-- # Change values of original array
-- self.signal1[2] = 7.3 * self.signal1.units
-+ # Take a copy of sliced array before any modifications
-+ result_data = result.magnitude.copy()
-
-- np.testing.assert_raises(AssertionError, assert_array_equal, self.signal1, result)
-+ # Change values of original array, sliced array should be unaffected (proves deep copy)
-+ self.signal1[2] = 7.3 * self.signal1.units
-+ np.testing.assert_array_equal(result.magnitude, result_data)
-
-- # Change values of sliced array
-+ # Take a copy of original array, then change values of sliced array, original array should be unaffected
-+ signal1_data = self.signal1.magnitude.copy()
- result[3] = 9.5 * result.units
--
-- np.testing.assert_raises(AssertionError, assert_array_equal, self.signal1, result)
-+ np.testing.assert_array_equal(self.signal1.magnitude, signal1_data)
-
- def test__slice_should_change_sampling_period(self):
- result1 = self.signal1[:2, 0]
diff --git a/python-neo.spec b/python-neo.spec
index 995aaee..c477e6b 100644
--- a/python-neo.spec
+++ b/python-neo.spec
@@ -32,7 +32,7 @@ checks for dimensional consistency and automatic unit conversion.
Read the documentation at http://neo.readthedocs.io/}
Name: python-neo
-Version: 0.14.4
+Version: 0.14.5
Release: %autorelease
Summary: Represent electrophysiology data in Python
@@ -43,7 +43,6 @@ Summary: Represent electrophysiology data in Python
License: BSD-3-Clause
URL: %forgeurl
Source: %forgesource
-Patch: https://patch-diff.githubusercontent.com/raw/NeuralEnsemble/python-neo/pull/1849.patch
BuildRequires: git-core
BuildArch: noarch
diff --git a/sources b/sources
index 875f7a1..5234861 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-neo-0.14.4.tar.gz) = 4b4c0a08aeea090e3d86cd1f98f3b56e98d1aee7c0222ed7755ea33129b82c824da089c6a4b423cb061a06094293ee887ecf3777e8cd407519ef8f672af6790d
+SHA512 (python-neo-0.14.5.tar.gz) = db06a125b12d1eeb9130e550e2bda29489ebb74e4235cc1d75f12fbda4981d861ee4f083d0526977709a23fa901eb38304fe55e402314bb9ae128ad4c13a5287
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-03 10:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 10:45 [rpms/python-neo] f44: Update to 0.14.5 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox