# pyvista-validation — the array/mesh validation helpers PyVista 0.49 split out of # its core. Pure Python, noarch, MIT. # # Packaged ONLY because pyvista 0.49.0 hard-pins `pyvista-validation==0.2.2`. Note # the pin is exact, not a floor: 0.2.3 exists upstream and would NOT satisfy it, so # do not "helpfully" bump this to latest without bumping pyvista to a release that # asks for it. %global pypi_name pyvista-validation %global src_name pyvista_validation Name: python-%{pypi_name} Version: 0.2.2 Release: 1%{?dist} Summary: Array and mesh validation helpers for PyVista License: MIT URL: https://github.com/pyvista/pyvista-validation # PyPI sdist: the GitHub tarball is not what pyvista's pin resolves against. Source0: https://files.pythonhosted.org/packages/source/p/%{src_name}/%{src_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros %global _description %{expand: Validation helpers for PyVista: shape, dtype and range checks for NumPy arrays and mesh inputs, factored out of the PyVista core so they can be reused and version-pinned independently.} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -n %{src_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{src_name} %check %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %changelog * Mon Sep 14 2026 Morgan Hough - 0.2.2-1 - Initial package. - Required at an exact pin by pyvista 0.49.0, which is in turn needed because pyvista 0.48.4 caps at vtk < 9.7 and therefore cannot be installed alongside the COPR's VTK 9.7 — which made 3dslicer-srep uninstallable.