Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jplephem for openSUSE:Factory
checked in at 2026-04-25 21:38:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jplephem (Old)
and /work/SRC/openSUSE:Factory/.python-jplephem.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jplephem"
Sat Apr 25 21:38:01 2026 rev:10 rq:1349210 version:2.24
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jplephem/python-jplephem.changes
2025-10-06 18:09:26.974600399 +0200
+++
/work/SRC/openSUSE:Factory/.python-jplephem.new.11940/python-jplephem.changes
2026-04-25 21:42:56.551440741 +0200
@@ -1,0 +2,9 @@
+Sat Apr 25 09:12:16 UTC 2026 - Dirk Müller <[email protected]>
+
+- Update to 2.24:
+ * To avoid deprecation warnings from recent versions of NumPy,
+ assignments to array .shape attributes have been replaced with
+ calls to the array method .reshape().
+- fix-version-dependency.patch: add to fix tests
+
+-------------------------------------------------------------------
Old:
----
jplephem-2.23.tar.gz
New:
----
fix-version-dependency.patch
jplephem-2.24.tar.gz
----------(New B)----------
New: calls to the array method .reshape().
- fix-version-dependency.patch: add to fix tests
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jplephem.spec ++++++
--- /var/tmp/diff_new_pack.FJ5fnM/_old 2026-04-25 21:42:57.419476155 +0200
+++ /var/tmp/diff_new_pack.FJ5fnM/_new 2026-04-25 21:42:57.419476155 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jplephem
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,15 @@
Name: python-jplephem
-Version: 2.23
+Version: 2.24
Release: 0
Summary: Planet position predictor using a JPL ephemeris
License: MIT
Group: Development/Languages/Python
URL: https://github.com/brandon-rhodes/python-jplephem/
Source:
https://github.com/brandon-rhodes/python-jplephem/archive/%{version}.tar.gz#/jplephem-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM:
https://github.com/brandon-rhodes/python-jplephem/commit/810ff57244f82bb55624aa201b4a9706419c4800
+Patch: fix-version-dependency.patch
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -41,7 +43,7 @@
Solar System body. It only needs NumPy <http://www.numpy.org/>`.
%prep
-%setup -q -n python-jplephem-%{version}
+%autosetup -p1 -n python-jplephem-%{version}
%build
%pyproject_wheel
++++++ fix-version-dependency.patch ++++++
>From 810ff57244f82bb55624aa201b4a9706419c4800 Mon Sep 17 00:00:00 2001
From: Brandon Rhodes <[email protected]>
Date: Sun, 1 Feb 2026 11:40:40 -0500
Subject: [PATCH] =?UTF-8?q?Fix:=20=E2=80=98excerpt=E2=80=99=20test=20was?=
=?UTF-8?q?=20jplephem=20version=20sensitive?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Drat. I should have run the tests one final time after bumping the
version for the 2.24 release. Brought to my attention by the test
failure at: conda-forge/jplephem-feedstock#35
---
jplephem/test.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/jplephem/test.py b/jplephem/test.py
index 39cc1ae..fb2a06d 100644
--- a/jplephem/test.py
+++ b/jplephem/test.py
@@ -17,7 +17,7 @@
from doctest import DocTestSuite, ELLIPSIS
from functools import partial
from io import BytesIO
-from jplephem import Ephemeris, commandline
+from jplephem import __version__, Ephemeris, commandline
from jplephem.exceptions import OutOfRangeError
from jplephem.daf import DAF, FTPSTR, NAIF_DAF
from jplephem.pck import PCK
@@ -571,13 +571,14 @@ def test_excerpt_command(self):
preface = """\
;
-; This is an ephemeris excerpt created by jplephem 2.23, which was
+; This is an ephemeris excerpt created by jplephem {}, which was
; asked to narrow the ephemeris to Julian dates 2460179.5 - 2460180.5
; (proleptic Gregorian dates 2023-08-23 through 2023-08-24).
;
; Here is the comments area from the original ephemeris file:
; ----------------------------------------------------------------------
-"""
+""".format(__version__)
+
output1 = commandline.main(['comment', 'de421.bsp'])
output2 = commandline.main(['comment', 'de421_excerpt.bsp'])
self.assertEqual(preface + output1, output2)
++++++ jplephem-2.23.tar.gz -> jplephem-2.24.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-jplephem/jplephem-2.23.tar.gz
/work/SRC/openSUSE:Factory/.python-jplephem.new.11940/jplephem-2.24.tar.gz
differ: char 13, line 1