Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ephem for openSUSE:Factory checked in at 2026-03-31 15:23:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ephem (Old) and /work/SRC/openSUSE:Factory/.python-ephem.new.1999 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ephem" Tue Mar 31 15:23:23 2026 rev:12 rq:1343863 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ephem/python-ephem.changes 2025-11-03 18:56:30.033062768 +0100 +++ /work/SRC/openSUSE:Factory/.python-ephem.new.1999/python-ephem.changes 2026-03-31 15:24:47.038555536 +0200 @@ -1,0 +2,11 @@ +Tue Mar 31 08:58:19 UTC 2026 - Dirk Müller <[email protected]> + +- update to 4.2.1: + * The star database now makes the star ‘Albereo’ also available + under its more official spelling ‘Albireo’. + * Classes like Sun and Mercury are now defined using plain + literal class statements, instead of being built dynamically + in a for loop. This should make the classes visible to tools + like editors, debuggers, and type checkers. + +------------------------------------------------------------------- Old: ---- ephem-4.2.tar.gz New: ---- ephem-4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ephem.spec ++++++ --- /var/tmp/diff_new_pack.GvgSqD/_old 2026-03-31 15:24:47.730584336 +0200 +++ /var/tmp/diff_new_pack.GvgSqD/_new 2026-03-31 15:24:47.734584503 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ephem # -# Copyright (c) 2025 SUSE LLC +# 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 @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?sle15_python_module_pythons} Name: python-ephem -Version: 4.2 +Version: 4.2.1 Release: 0 Summary: Scientific-grade astronomy routines for Python License: MIT ++++++ ephem-4.2.tar.gz -> ephem-4.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ephem-4.2/PKG-INFO new/ephem-4.2.1/PKG-INFO --- old/ephem-4.2/PKG-INFO 2025-02-18 15:08:07.634139500 +0100 +++ new/ephem-4.2.1/PKG-INFO 2026-02-28 10:05:02.396511300 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: ephem -Version: 4.2 +Version: 4.2.1 Summary: Compute positions of the planets and stars Home-page: http://rhodesmill.org/pyephem/ Author: Brandon Rhodes @@ -27,6 +27,7 @@ Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3.14 Description-Content-Type: text/x-rst License-File: LICENSE Dynamic: author @@ -36,6 +37,7 @@ Dynamic: description-content-type Dynamic: home-page Dynamic: license +Dynamic: license-file Dynamic: project-url Dynamic: summary diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ephem-4.2/ephem/__init__.py new/ephem-4.2.1/ephem/__init__.py --- old/ephem-4.2/ephem/__init__.py 2025-02-18 15:08:04.000000000 +0100 +++ new/ephem-4.2.1/ephem/__init__.py 2026-02-28 10:04:58.000000000 +0100 @@ -10,7 +10,7 @@ from math import acos, cos, isnan, pi, sin from time import localtime as _localtime -__version__ = '4.2' +__version__ = '4.2.1' # As a favor, compile a regular expression that our C library would # really rather not compile for itself. @@ -85,17 +85,39 @@ uranometria = _libastro.uranometria uranometria2000 = _libastro.uranometria2000 -# We also create a Python class ("Mercury", "Venus", etcetera) for -# each planet and moon for which _libastro offers specific algorithms. - -for index, classname, name in _libastro.builtin_planets(): - exec(''' -class %(name)s(_libastro.%(classname)s): - "Create a Body instance representing %(name)s" - __planet__ = %(index)r -''' % dict(name=name, classname=classname, index=index)) - -del index, classname, name +# These classes used to be generated dynamically from the list of tuples +# returned by _libastro.builtin_planets() but that made the list of +# classes invisible to both IDEs and real-life readers of the code. + +class Mercury(_libastro.Planet): __planet__ = 0 +class Venus(_libastro.Planet): __planet__ = 1 +class Mars(_libastro.Planet): __planet__ = 2 +class Jupiter(_libastro.Planet): __planet__ = 3 +class Saturn(_libastro.Planet): __planet__ = 4 +class Uranus(_libastro.Planet): __planet__ = 5 +class Neptune(_libastro.Planet): __planet__ = 6 +class Pluto(_libastro.Planet): __planet__ = 7 +class Sun(_libastro.Planet): __planet__ = 8 +class Moon(_libastro.Planet): __planet__ = 9 +class Phobos(_libastro.PlanetMoon): __planet__ = 10 +class Deimos(_libastro.PlanetMoon): __planet__ = 11 +class Io(_libastro.PlanetMoon): __planet__ = 12 +class Europa(_libastro.PlanetMoon): __planet__ = 13 +class Ganymede(_libastro.PlanetMoon): __planet__ = 14 +class Callisto(_libastro.PlanetMoon): __planet__ = 15 +class Mimas(_libastro.PlanetMoon): __planet__ = 16 +class Enceladus(_libastro.PlanetMoon): __planet__ = 17 +class Tethys(_libastro.PlanetMoon): __planet__ = 18 +class Dione(_libastro.PlanetMoon): __planet__ = 19 +class Rhea(_libastro.PlanetMoon): __planet__ = 20 +class Titan(_libastro.PlanetMoon): __planet__ = 21 +class Hyperion(_libastro.PlanetMoon): __planet__ = 22 +class Iapetus(_libastro.PlanetMoon): __planet__ = 23 +class Ariel(_libastro.PlanetMoon): __planet__ = 24 +class Umbriel(_libastro.PlanetMoon): __planet__ = 25 +class Titania(_libastro.PlanetMoon): __planet__ = 26 +class Oberon(_libastro.PlanetMoon): __planet__ = 27 +class Miranda(_libastro.PlanetMoon): __planet__ = 28 # We now replace two of the classes we have just created, because # _libastro actually provides separate types for two of the bodies. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ephem-4.2/ephem/doc/CHANGELOG.rst new/ephem-4.2.1/ephem/doc/CHANGELOG.rst --- old/ephem-4.2/ephem/doc/CHANGELOG.rst 2025-02-18 15:08:04.000000000 +0100 +++ new/ephem-4.2.1/ephem/doc/CHANGELOG.rst 2026-02-28 10:04:58.000000000 +0100 @@ -2,6 +2,19 @@ PyEphem CHANGELOG ================= +Version 4.2.1 (2026 February 28) +-------------------------------- + +- The first release that offers wheels for Python 3.14. + +- The star database now makes the star ‘Albereo’ also available under + its more official spelling ‘Albireo’. + +- Classes like ``Sun`` and ``Mercury`` are now defined using plain + literal ``class`` statements, instead of being built dynamically in a + ``for`` loop. This should make the classes visible to tools like + editors, debuggers, and type checkers. + Version 4.2 (2024 February 18) ------------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ephem-4.2/ephem/stars.py new/ephem-4.2.1/ephem/stars.py --- old/ephem-4.2/ephem/stars.py 2025-02-18 15:08:04.000000000 +0100 +++ new/ephem-4.2.1/ephem/stars.py 2026-02-28 10:04:58.000000000 +0100 @@ -34,6 +34,7 @@ Adhara,f|S|B2,6.97709679|2.63,-28.97208374|2.29,1.5 Agena,f|S|B1,14.06372347|-33.96,-60.37303932|-25.06,0.61 Albereo,f|S|K3,19.51202239|-7.09,27.95968112|-5.63,3.05 +Albireo,f|S|K3,19.51202239|-7.09,27.95968112|-5.63,3.05 Alcaid,f|S|B3,13.79234379|-121.23,49.31326512|-15.56,1.85 Alcor,f|S|A5,13.42042721|120.35,54.98795774|-16.94,3.99 Alcyone,f|S|B7,3.79141014|19.35,24.10513714|-43.11,2.85 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ephem-4.2/ephem/tests/test_stars.py new/ephem-4.2.1/ephem/tests/test_stars.py --- old/ephem-4.2/ephem/tests/test_stars.py 2025-02-18 15:08:04.000000000 +0100 +++ new/ephem-4.2.1/ephem/tests/test_stars.py 2026-02-28 10:04:58.000000000 +0100 @@ -29,7 +29,7 @@ def test_catalog_size(self): # Prevent catalog from changing size accidentally during editing. - self.assertEqual(len(ephem.stars.stars), 115) + self.assertEqual(len(ephem.stars.stars), 116) def test_unknown_star(self): self.assertRaises(KeyError, ephem.star, 'Alpha Centauri') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ephem-4.2/ephem.egg-info/PKG-INFO new/ephem-4.2.1/ephem.egg-info/PKG-INFO --- old/ephem-4.2/ephem.egg-info/PKG-INFO 2025-02-18 15:08:07.000000000 +0100 +++ new/ephem-4.2.1/ephem.egg-info/PKG-INFO 2026-02-28 10:05:02.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: ephem -Version: 4.2 +Version: 4.2.1 Summary: Compute positions of the planets and stars Home-page: http://rhodesmill.org/pyephem/ Author: Brandon Rhodes @@ -27,6 +27,7 @@ Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3.14 Description-Content-Type: text/x-rst License-File: LICENSE Dynamic: author @@ -36,6 +37,7 @@ Dynamic: description-content-type Dynamic: home-page Dynamic: license +Dynamic: license-file Dynamic: project-url Dynamic: summary diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ephem-4.2/setup.py new/ephem-4.2.1/setup.py --- old/ephem-4.2/setup.py 2025-02-18 15:08:04.000000000 +0100 +++ new/ephem-4.2.1/setup.py 2026-02-28 10:04:58.000000000 +0100 @@ -80,6 +80,7 @@ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', ], packages = [ 'ephem', 'ephem.tests' ], package_data = { 'ephem': ['doc/*.rst',
