https://bugzilla.redhat.com/show_bug.cgi?id=1975046
Robert-André Mauchin 🐧 <zebob.m(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(zebob.m(a)gmail.com |needinfo?(sergio.pasra@gmai
|) |l.com)
--- Comment #7 from Robert-André Mauchin 🐧 <zebob.m(a)gmail.com> ---
I don't really have time for review these days.
No tests in the tarball from PyPI
Use the github tarball in that case.
The Python packaging guidelines have changed, here a sample spec with test
deactivated for now
# Disabled by default
%bcond_with check
%global pypi_name aesara
%global fullversion rel-%{version}
Name: python-%{pypi_name}
Version: 2.3.3
Release: %autorelease
Summary: Optimizing compiler for evaluating mathematical expressions on
CPUs and GPUs
# These files are under MIT
# aesara/graph/sched.py
# aesara/misc/ordered_set.py
# aesara/scalar/c_code/Faddeeva.cc
# aesara/scalar/c_code/Faddeeva.hh
License: BSD and MIT
URL:
https://github.com/aesara-devs/aesara
Source0:
%{url}/archive/%{fullversion}/%{pypi_name}-%{fullversion}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%global _description %{expand:
Aesara is a Python library that allows you to define, optimize, and
efficiently evaluate mathematical expressions involving multi-dimensional
arrays. It is built on top of NumPy.}
%description %_description
%package -n python3-%{pypi_name}
Summary: %{summary}
Requires: gcc-c++
Requires: flexiblas-devel
Recommends: %{py3_dist pygpu}
%description -n python3-%{pypi_name} %_description
%prep
%autosetup -p1 -n %{pypi_name}-%{fullversion}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%generate_buildrequires
%pyproject_buildrequires
%if %{with check}
echo 'gcc-c++'
echo 'flexiblas-devel'
echo '%{py3_dist pytest}'
echo '%{py3_dist numpy}'
echo '%{py3_dist filelock}'
echo '%{py3_dist scipy}'
echo '%{py3_dist pygpu}'
echo '%{py3_dist cons}'
echo '%{py3_dist etuples}'
echo '%{py3_dist logical-unification}'
echo '%{py3_dist minikanren}'
%endif
%build
%pyproject_wheel
%install
%pyproject_install
rm -rvf %{buildroot}%{python3_sitelib}/bin
%pyproject_save_files %{pypi_name}
%if %{with check}
%check
%pytest
%endif
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE.txt doc/LICENSE.txt
%doc README.rst
%{_bindir}/aesara-cache
%changelog
%autochangelog
You have missing dependencies to install the package correctly:
Error:
Problem: conflicting requests
- nothing provides python3.10dist(cons) needed by
python3-aesara-2.3.3-2.fc36.noarch
- nothing provides python3.10dist(etuples) needed by
python3-aesara-2.3.3-2.fc36.noarch
- nothing provides python3.10dist(logical-unification) needed by
python3-aesara-2.3.3-2.fc36.noarch
- nothing provides python3.10dist(minikanren) needed by
python3-aesara-2.3.3-2.fc36.noarch
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1975046