public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-meshio] f45: Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
@ 2026-08-18 13:27 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-18 13:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-meshio
Branch : f45
Commit : 61a6e3c4e74f1c6657a7ba6ce370f5c391a80983
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2026-08-18T15:27:33+02:00
Stats  : +1/-292 in 8 file(s)
URL    : https://src.fedoraproject.org/rpms/python-meshio/c/61a6e3c4e74f1c6657a7ba6ce370f5c391a80983?branch=f45

Log:
Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473

---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 9c99294..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/meshio-5.3.5.tar.gz
-/meshio-test-files-5.3.5.tar.gz

diff --git a/.packit.yaml b/.packit.yaml
deleted file mode 100644
index b53a8b5..0000000
--- a/.packit.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-upstream_project_url: https://github.com/nschloe/meshio
-copy_upstream_release_description: false
- 
-jobs:
-  - job: pull_from_upstream
-    trigger: release
-    dist_git_branches:
-      - fedora-rawhide
-  - job: koji_build
-    trigger: commit
-    dist_git_branches:
-      - fedora-all
-

diff --git a/1513.patch b/1513.patch
deleted file mode 100644
index 960520d..0000000
--- a/1513.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From 005750e3bdacc90781dad4d98341ec54539f5b53 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 17 Mar 2025 12:10:45 +0100
-Subject: [PATCH 1/2] Fix formatting output data with NumPy 2.x
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fix the common `_write_data()` function to use a regular formatting
-rather than `repr()` when writing numbers to a file.  With NumPy 2.x,
-the latter resulted in literal `np.float64(…)` ending up in the data
-file.
-
-Part of bug #1499
----
- src/meshio/gmsh/common.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/meshio/gmsh/common.py b/src/meshio/gmsh/common.py
-index 717e82ee2..adcae2411 100644
---- a/src/meshio/gmsh/common.py
-+++ b/src/meshio/gmsh/common.py
-@@ -273,7 +273,7 @@ def _write_data(fh, tag, name, data, binary):
-         tmp.tofile(fh)
-         fh.write(b"\n")
-     else:
--        fmt = " ".join(["{}"] + ["{!r}"] * num_components) + "\n"
-+        fmt = " ".join(["{}"] * (num_components + 1)) + "\n"
-         # TODO unify
-         if num_components == 1:
-             for k, x in enumerate(data):
-
-From ce61c9bc0627707e03890fac0d7fc36c2030f975 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 17 Mar 2025 12:17:40 +0100
-Subject: [PATCH 2/2] Fix other formatters using `repr()` as well
-
----
- src/meshio/dolfin/_dolfin.py | 2 +-
- src/meshio/mdpa/_mdpa.py     | 2 +-
- src/meshio/ugrid/_ugrid.py   | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/meshio/dolfin/_dolfin.py b/src/meshio/dolfin/_dolfin.py
-index e43dbd546..0a2c1eaa7 100644
---- a/src/meshio/dolfin/_dolfin.py
-+++ b/src/meshio/dolfin/_dolfin.py
-@@ -207,7 +207,7 @@ def _write_cell_data(filename, dim, cell_data):
-     )
- 
-     for k, value in enumerate(cell_data):
--        ET.SubElement(mesh_function, "entity", index=str(k), value=repr(value))
-+        ET.SubElement(mesh_function, "entity", index=str(k), value=str(value))
- 
-     tree = ET.ElementTree(dolfin)
-     tree.write(filename)
-diff --git a/src/meshio/mdpa/_mdpa.py b/src/meshio/mdpa/_mdpa.py
-index afa39eca1..e49358af0 100644
---- a/src/meshio/mdpa/_mdpa.py
-+++ b/src/meshio/mdpa/_mdpa.py
-@@ -418,7 +418,7 @@ def _write_data(fh, tag, name, data, binary):
-         data = data[:, 0]
- 
-     # Actually write the data
--    fmt = " ".join(["{}"] + ["{!r}"] * num_components) + "\n"
-+    fmt = " ".join(["{}"] * (num_components + 1)) + "\n"
-     # TODO unify
-     if num_components == 1:
-         for k, x in enumerate(data):
-diff --git a/src/meshio/ugrid/_ugrid.py b/src/meshio/ugrid/_ugrid.py
-index 6fa57c09f..f1d5818df 100644
---- a/src/meshio/ugrid/_ugrid.py
-+++ b/src/meshio/ugrid/_ugrid.py
-@@ -145,7 +145,7 @@ def read_buffer(f, file_type):
- def _write_section(f, file_type, array, dtype):
-     if file_type["type"] == "ascii":
-         ncols = array.shape[1]
--        fmt = " ".join(["%r"] * ncols)
-+        fmt = " ".join(["%s"] * ncols)
-         np.savetxt(f, array, fmt=fmt)
-     else:
-         array.astype(dtype).tofile(f)

diff --git a/README-test-files.md b/README-test-files.md
deleted file mode 100644
index 0a06a2f..0000000
--- a/README-test-files.md
+++ /dev/null
@@ -1,30 +0,0 @@
-## Test files for meshio
-
-Upstream makes use of [Git Large File Storage](https://git-lfs.com/) for storing various test files. The files present in tests/meshes are placeholders for downloading the actual files.
-
-### How to obtain / update test files
-
-1. Install `git-lfs` (available from Fedora repos)
-2. Checkout the sources:  
-   `git clone git@github.com:nschloe/meshio.git`
-3. `cd meshio`
-4. Fetch the meta data with  
-   `git lfs fetch --include tests/meshes origin 5.3.5`  
-   (use the current version of the package)
-5. Checkout the files with `git lfs checkout tests/meshes`
-6. Check that the files are no longer plain ASCII, e.g.:  
-```
-$ file tests/meshes/ply/tet.ply 
-tests/meshes/ply/tet.ply: PLY model, ASCII, version 1.0
-```
-
-7. Archive the test/meshes folder:  
-   `git archive --format=tar.gz -o meshio-test-files-5.3.5.tar.gz v5.3.5 tests/meshes`  
-   (again, use the current version of the package)
-8. Add the updated tarball with `fedpkg new-sources`
-
-### Update frequency
-
-I guess the test files will not need updating with every (minor) update of `meshio`. As long as the tests succed, having the test files lag behind the package version should be fine.
-
-However, whenever updating the test files, they should be on par with the version of the package. In other words, they should be checked out from the same ref as the sources, e.g. not from the main branch.

diff --git a/README.md b/README.md
deleted file mode 100644
index cacdb47..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# python-meshio
-
-The python-meshio package

diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..d035a64
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473

diff --git a/python-meshio.spec b/python-meshio.spec
deleted file mode 100644
index df4b935..0000000
--- a/python-meshio.spec
+++ /dev/null
@@ -1,160 +0,0 @@
-%global pypi_name meshio
-
-# The base package is arched, since we need the ParaView plugin to be
-# arched, so it is installed into the correct %%_libdir.
-%global debug_package %{nil}
-
-Name:           python-%{pypi_name}
-Version:        5.3.5
-Release:        %{autorelease}
-Summary:        I/O for many mesh formats
-
-%global forgeurl https://github.com/nschloe/meshio
-%forgemeta
-
-License:        MIT
-URL:            %forgeurl
-Source0:        %forgesource
-# See README-test-files.md in dist-git for an explanation and instructions
-Source1:        %{pypi_name}-test-files-5.3.5.tar.gz
-
-# Do not rely on repr() of np.float64
-# https://github.com/nschloe/meshio/pull/1506
-#
-# Partial fix for:
-#
-# [BUG] Tests fail with NumPy 2.2.0
-# https://github.com/nschloe/meshio/issues/1499
-Patch:          %{forgeurl}/pull/1513.patch
-
-ExcludeArch:    %{ix86}
-
-BuildRequires:  python3-devel
-BuildRequires:  python3dist(pytest)
-BuildRequires:  help2man
-
-%global _description %{expand:
-There are various mesh formats available for representing unstructured
-meshes. meshio can read and write all of the following and smoothly
-converts between them:
-
-  Abaqus (.inp), ANSYS msh (.msh), AVS-UCD (.avs), CGNS (.cgns),
-  DOLFIN XML (.xml), Exodus (.e, .exo), FLAC3D (.f3grid), H5M (.h5m),
-  Kratos/MDPA (.mdpa), Medit (.mesh, .meshb), MED/Salome (.med),
-  Nastran (bulk data, .bdf, .fem, .nas), Netgen (.vol, .vol.gz),
-  Neuroglancer precomputed format,
-  Gmsh (format versions 2.2, 4.0, and 4.1, .msh), OBJ(.obj), OFF (.off),
-  PERMAS (.post, .post.gz, .dato, .dato.gz),
-  PLY (.ply), STL (.stl), Tecplot .dat, TetGen .node/.ele,
-  SVG (2D output only) (.svg), SU2 (.su2), UGRID (.ugrid),
-  VTK (.vtk), VTU (.vtu), WKT (TIN) (.wkt), XDMF (.xdmf, .xmf).}
-
-%description %_description
-
-
-%package -n python3-%{pypi_name}
-BuildArch:      noarch
-Summary:        %{summary}
-Recommends:     (paraview-%{pypi_name} if paraview)
-
-%description -n python3-%{pypi_name} %_description
-
-
-%package -n paraview-%{pypi_name}
-Summary:        ParaView plugin for %{pypi_name}
-Requires:       python3-%{pypi_name} = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires:       paraview
-
-%description -n paraview-%{pypi_name}
-Package provides a ParaView plugin for viewing all meshio supported files.
-
-
-%pyproject_extras_subpkg -a -n python3-%{pypi_name} all
-
-
-%prep
-%forgeautosetup -p1
-
-# Install test files
-tar xzvf %{SOURCE1}
-
-
-%generate_buildrequires
-%pyproject_buildrequires -x all
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files -l %{pypi_name}
-
-# Create and install man pages
-mkdir -p %{buildroot}%{_mandir}/man1
-%{py3_test_envvars} \
-  help2man --no-info --version-string '%{pypi_name} %{version}' \
-  -o %{buildroot}%{_mandir}/man1/%{pypi_name}.1 --no-discard-stderr \
-  %{buildroot}%{_bindir}/%{pypi_name}
-# sub commands
-for SUBCMD in convert info compress decompress ascii binary; do \
-  %{py3_test_envvars} \
-    help2man --no-info --version-string '%{pypi_name} %{version}' \
-    -o %{buildroot}%{_mandir}/man1/%{pypi_name}-${SUBCMD}.1 --no-discard-stderr \
-    %{buildroot}%{_bindir}/%{pypi_name}\ ${SUBCMD}; \
-done
-
-# Install ParaView plugin
-for plugindir in \
-  '%{buildroot}%{_libdir}/paraview/paraview/plugins' \
-  '%{buildroot}%{_libdir}/mpich/lib/paraview/paraview/plugins' \
-  '%{buildroot}%{_libdir}/openmpi/lib/paraview/paraview/plugins'
-do
-  install -t "${plugindir}/%{pypi_name}" -D -m 0644 -p 'tools/paraview-meshio-plugin.py'
-  %py_byte_compile %{python3} "${plugindir}/%{pypi_name}"
-done
-
-
-%check
-%pytest -r fEs
-
-
-%files -n python3-%{pypi_name} -f %{pyproject_files}
-%doc README.md CHANGELOG.md CITATION.cff
-%{_bindir}/%{pypi_name}
-%{_mandir}/man1/%{pypi_name}*
-
-
-%files -n paraview-%{pypi_name}
-# paraview: co-own plugin directory and necessary parents
-%dir %{_libdir}/paraview
-%dir %{_libdir}/paraview/paraview
-%dir %{_libdir}/paraview/paraview/plugins
-%dir %{_libdir}/paraview/paraview/plugins/%{pypi_name}
-%dir %{_libdir}/paraview/paraview/plugins/%{pypi_name}/__pycache__
-%pycached %{_libdir}/paraview/paraview/plugins/%{pypi_name}/paraview-meshio-plugin.py
-
-# paraview-mpich: co-own plugin directory and necessary parents
-%dir %{_libdir}/mpich
-%dir %{_libdir}/mpich/lib
-%dir %{_libdir}/mpich/lib/paraview
-%dir %{_libdir}/mpich/lib/paraview/paraview
-%dir %{_libdir}/mpich/lib/paraview/paraview/plugins
-%dir %{_libdir}/mpich/lib/paraview/paraview/plugins/%{pypi_name}
-%dir %{_libdir}/mpich/lib/paraview/paraview/plugins/%{pypi_name}/__pycache__
-%pycached %{_libdir}/mpich/lib/paraview/paraview/plugins/%{pypi_name}/paraview-meshio-plugin.py
-
-# paraview-openmpi: co-own plugin directory and necessary parents
-%dir %{_libdir}/openmpi
-%dir %{_libdir}/openmpi/lib
-%dir %{_libdir}/openmpi/lib/paraview
-%dir %{_libdir}/openmpi/lib/paraview/paraview
-%dir %{_libdir}/openmpi/lib/paraview/paraview/plugins
-%dir %{_libdir}/openmpi/lib/paraview/paraview/plugins/%{pypi_name}
-%dir %{_libdir}/openmpi/lib/paraview/paraview/plugins/%{pypi_name}/__pycache__
-%pycached %{_libdir}/openmpi/lib/paraview/paraview/plugins/%{pypi_name}/paraview-meshio-plugin.py
-
-
-%changelog
-%autochangelog

diff --git a/sources b/sources
deleted file mode 100644
index cc72cf2..0000000
--- a/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA512 (meshio-5.3.5.tar.gz) = 4085e0eeefa13f9a846a5fd2ec3c1fb6ac1ab24109be091008bca16e747cddc8b3a6aed91287cda2be91a97e25f5d05969e56b96806e046fa2c9e629116078a5
-SHA512 (meshio-test-files-5.3.5.tar.gz) = 0d5943a6b7b1cc25dbfd92e5b60dc902a285559b6127f8adda8429c82ab7dc8c8a09a2e63a4820a3b4ee4ee5031aeae108030023109208b411c1a9edbe4aa670

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-18 13:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 13:27 [rpms/python-meshio] f45: Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox