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 2024-03-25 21:12:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jplephem (Old)
 and      /work/SRC/openSUSE:Factory/.python-jplephem.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jplephem"

Mon Mar 25 21:12:55 2024 rev:7 rq:1161412 version:2.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jplephem/python-jplephem.changes  
2021-02-22 14:40:34.776632246 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jplephem.new.1905/python-jplephem.changes    
    2024-03-25 21:19:57.783345611 +0100
@@ -1,0 +2,31 @@
+Sun Mar 24 11:47:39 UTC 2024 - Ben Greiner <[email protected]>
+
+- Update to 2.21
+  * Tweaked an import to avoid a fatal exception under Python 2, in
+    case anyone is still using it.
+- Version 2.20
+  * Each segment is now protected by a lock, in case two threads
+    simultaneously trigger the code that performs the initial load
+    of the segment’s data; the symptom was a rare exception
+    ``ValueError: cannot reshape array``.
+- Version 2.19
+  * Fixed a bug in the ``excerpt`` command that was causing it to
+    truncate its output when the input ephemeris had more than
+    about two dozen segments.  The command’s output should now
+    include all matching segments from even a very large ephemeris.
+  * Fixed the ``excerpt`` command so the calendar dates specified
+    on the command line produce Julian dates ending with the
+    fraction ``.5``, which makes excerpt endpoints more exact.
+- Version 2.18
+  * Added support for big-endian processors, and created a GitHub
+    Actions CI build that includes both a big- and a little-endian
+    architecture.
+- Version 2.17
+  * Fixed an ``AttributeError`` in the ``excerpt`` command.
+- Version 2.16
+  * Fixed a ``ValueError`` raised in the ``excerpt`` command when
+    an ephemeris segment needs to be entirely skipped because it
+    has no overlap with the user-specified range of dates.
+  * Added a ``__version__`` constant to the package’s top level.
+
+-------------------------------------------------------------------

Old:
----
  de430.bsp
  python-jplephem-2.15.tar.gz
  testpo.430

New:
----
  jplephem-2.21.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jplephem.spec ++++++
--- /var/tmp/diff_new_pack.7Q6Wgk/_old  2024-03-25 21:20:00.475444622 +0100
+++ /var/tmp/diff_new_pack.7Q6Wgk/_new  2024-03-25 21:20:00.487445064 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jplephem
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,18 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python36 1
 Name:           python-jplephem
-Version:        2.15
+Version:        2.21
 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/v%{version}.tar.gz#/python-jplephem-%{version}.tar.gz
-# Test files
-Source10:       
http://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de430.bsp
-Source11:       ftp://ssd.jpl.nasa.gov/pub/eph/planets/test-data/430/testpo.430
-BuildRequires:  %{python_module devel}
+Source:         
https://github.com/brandon-rhodes/python-jplephem/archive/%{version}.tar.gz#/jplephem-%{version}.tar.gz
 BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-numpy
@@ -46,26 +42,22 @@
 
 %prep
 %setup -q -n python-jplephem-%{version}
-cp %{SOURCE10} ci
-cp %{SOURCE11} ci
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 pushd ci
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-$python -m jplephem.jpltest
-}
+%pyunittest -v test
 popd
 
 %files %{python_files}
 %doc README.md
 %license LICENSE.txt
 %{python_sitelib}/jplephem
-%{python_sitelib}/jplephem-%{version}-py*.egg-info
+%{python_sitelib}/jplephem-%{version}.dist-info
 

Reply via email to