public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-eccodes] rawhide: move to upstream release 2.47.0
@ 2026-06-15 14:10 Jos de Kloe
0 siblings, 0 replies; only message in thread
From: Jos de Kloe @ 2026-06-15 14:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-eccodes
Branch : rawhide
Commit : fb0f24e38453c8f2ebb6fe35f65364d208b280de
Author : Jos de Kloe <josdekloe@gmail.com>
Date : 2026-06-15T16:08:11+02:00
Stats : +48/-14 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-eccodes/c/fb0f24e38453c8f2ebb6fe35f65364d208b280de?branch=rawhide
Log:
move to upstream release 2.47.0
---
diff --git a/python-eccodes-disable-findlibs.patch b/python-eccodes-disable-findlibs.patch
index b40f1b4..e01e6f7 100644
--- a/python-eccodes-disable-findlibs.patch
+++ b/python-eccodes-disable-findlibs.patch
@@ -1,5 +1,5 @@
---- eccodes-2.45.0.p1p2/gribapi/bindings.py 2026-01-28 10:38:53.435292423 +0100
-+++ eccodes-2.45.0.p1p2p3/gribapi/bindings.py 2026-01-28 10:45:39.610424912 +0100
+--- eccodes-2.47.0.p1p2/gribapi/bindings.py 2026-06-14 17:20:28.893267960 +0200
++++ eccodes-2.47.0.p1p2p3/gribapi/bindings.py 2026-06-14 17:20:46.581587153 +0200
@@ -99,7 +99,8 @@ def find_binary_libs(name):
return foundlib
@@ -10,8 +10,8 @@
if library_path is None:
raise RuntimeError("Cannot find the ecCodes library")
---- eccodes-2.45.0.p1p2/setup.py 2026-01-28 10:38:53.442694648 +0100
-+++ eccodes-2.45.0.p1p2p3/setup.py 2026-01-28 10:45:39.616453423 +0100
+--- eccodes-2.47.0.p1p2/setup.py 2026-06-14 17:20:28.896897740 +0200
++++ eccodes-2.47.0.p1p2p3/setup.py 2026-06-14 17:20:46.598894481 +0200
@@ -91,7 +91,7 @@ elif sys.version_info < (3, 9):
install_requires += [
"attrs",
@@ -21,8 +21,8 @@
]
# only add eccodeslib as dependency if building a distribution that should depend on it
---- eccodes-2.45.0.p1p2/eccodes.egg-info/requires.txt 2026-01-28 10:38:53.434989473 +0100
-+++ eccodes-2.45.0.p1p2p3/eccodes.egg-info/requires.txt 2026-01-28 10:45:39.609938928 +0100
+--- eccodes-2.47.0.p1p2/eccodes.egg-info/requires.txt 2026-06-14 17:20:28.893094100 +0200
++++ eccodes-2.47.0.p1p2p3/eccodes.egg-info/requires.txt 2026-06-14 17:20:46.581340977 +0200
@@ -1,7 +1,3 @@
numpy
attrs
diff --git a/python-eccodes-setup.patch b/python-eccodes-setup.patch
index 541a779..6776f0a 100644
--- a/python-eccodes-setup.patch
+++ b/python-eccodes-setup.patch
@@ -1,5 +1,5 @@
---- eccodes-2.45.0.unchanged/setup.py 2026-01-15 17:26:54.000000000 +0100
-+++ eccodes-2.45.0.p1/setup.py 2026-01-28 10:34:45.210872341 +0100
+--- eccodes-2.47.0.unchanged/setup.py 2026-04-22 13:29:53.000000000 +0200
++++ eccodes-2.47.0.p1/setup.py 2026-06-14 17:19:58.866917796 +0200
@@ -110,6 +110,8 @@ setuptools.setup(
license="Apache License Version 2.0",
url="https://github.com/ecmwf/eccodes-python",
diff --git a/python-eccodes-sphinx-config.patch b/python-eccodes-sphinx-config.patch
index a999aca..d07d222 100644
--- a/python-eccodes-sphinx-config.patch
+++ b/python-eccodes-sphinx-config.patch
@@ -1,6 +1,16 @@
---- eccodes-2.45.0.p1/docs/conf.py 2026-01-28 10:34:45.205154454 +0100
-+++ eccodes-2.45.0.p1p2/docs/conf.py 2026-01-28 10:38:53.433162834 +0100
-@@ -32,7 +32,7 @@ source_suffix = ".rst"
+--- eccodes-2.47.0.p1/docs/conf.py 2026-06-15 08:33:36.121067204 +0200
++++ eccodes-2.47.0.p1p2/docs/conf.py 2026-06-15 15:59:26.628778139 +0200
+@@ -4,7 +4,8 @@
+ import os
+ import sys
+
+-import pkg_resources
++#import pkg_resources
++import importlib.metadata
+
+ # Get the project root dir, which is the parent dir of this
+ cwd = os.getcwd()
+@@ -32,7 +33,7 @@ source_suffix = ".rst"
master_doc = "index"
# General information about the project.
@@ -9,3 +19,24 @@
copyright = "2017-, European Centre for Medium-Range Weather Forecasts (ECMWF)."
# The version info for the project you're documenting, acts as replacement
+@@ -40,10 +41,13 @@ copyright = "2017-, European Centre for
+ # the built documents.
+ #
+ # The full version, including alpha/beta/rc tags.
+-release = pkg_resources.get_distribution("eccodes").version
++#release = pkg_resources.get_distribution("eccodes").version
++release = importlib.metadata.version("eccodes")
++
+ # The short X.Y version.
+ version = ".".join(release.split(".")[:2])
+
++
+ # The language for content autogenerated by Sphinx. Refer to documentation
+ # for a list of supported languages.
+ # language = None
+@@ -165,4 +169,4 @@ html_static_path = ["_static"]
+ # html_file_suffix = None
+
+ # Output file base name for HTML help builder.
+-htmlhelp_basename = "cfgribdoc"
++htmlhelp_basename = "eccodes-python"
diff --git a/python-eccodes.spec b/python-eccodes.spec
index a2b97a3..e0b7f0d 100644
--- a/python-eccodes.spec
+++ b/python-eccodes.spec
@@ -1,6 +1,6 @@
Name: python-eccodes
-Version: 2.45.0
-Release: 3%{?dist}
+Version: 2.47.0
+Release: 1%{?dist}
Summary: Python interface to the ecCodes GRIB and BUFR decoder/encoder
License: Apache-2.0
@@ -22,12 +22,12 @@ Patch3: python-eccodes-disable-findlibs.patch
# note that the fast bindings are arch dependent
BuildRequires: eccodes-devel
BuildRequires: python3-devel
-BuildRequires: python3-pkg-resources
# needed to build the fast bindings
BuildRequires: python3-cffi
# needed for checks/tests
BuildRequires: python3-pytest
BuildRequires: python3-numpy
+
# these next 2 seem not actually used, although they are mentioned as
# test dependencies in the setup.py file:
#BuildRequires: python3-pytest-cov
@@ -106,6 +106,9 @@ rm -rf %sphinx_doc_path/.doctrees
%changelog
+* Mon Jun 15 2026 Jos de Kloe <josdekloe@gmail.com> 2.47.0-1
+- move to upstream release 2.47.0
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 2.45.0-3
- Rebuilt for Python 3.15
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 14:10 [rpms/python-eccodes] rawhide: move to upstream release 2.47.0 Jos de Kloe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox