Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 2065603 Details for
Bug 2334210
Review Request: python-einops - Deep learning operations reinvented
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh109 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
Migrated Products
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The .spec file difference from Copr build 8474966 to 8506086
spec-from-8474966-to-8506086.diff (text/plain), 3.19 KB, created by
Fedora Review Service
on 2025-01-12 05:19:01 UTC
(
hide
)
Description:
The .spec file difference from Copr build 8474966 to 8506086
Filename:
MIME Type:
Creator:
Fedora Review Service
Created:
2025-01-12 05:19:01 UTC
Size:
3.19 KB
patch
obsolete
>--- https://copr.fedorainfracloud.org/coprs/build/8474966 >+++ https://copr.fedorainfracloud.org/coprs/build/8506086 >@@ -1,8 +1,5 @@ > %global pypi_name einops > %global pypi_version 0.8.0 >- >-# pips to test, use mock --enable-network >-%bcond_with test > > Name: python-%{pypi_name} > Version: %{pypi_version} >@@ -14,6 +11,8 @@ > Source0: %{url}/archive/v%{version}.tar.gz#/%{pypi_name}-%{pypi_version}.tar.gz > > BuildArch: noarch >+# Pytorch only on X86_64 and aarch64 >+ExclusiveArch: x86_64 aarch64 > > BuildRequires: python3-devel > BuildRequires: python3dist(numpy) >@@ -23,6 +22,15 @@ > BuildRequires: python3dist(pillow) > BuildRequires: python3dist(pytest) > BuildRequires: python3dist(torch) >+ >+# For test >+BuildRequires: jupyterlab >+BuildRequires: python3dist(notebook) >+BuildRequires: python3dist(hatchling) >+BuildRequires: python3dist(ipython) >+BuildRequires: python3dist(ipywidgets) >+BuildRequires: python3dist(ipykernel) >+BuildRequires: python3dist(jupyter-console) > > %description > Flexible and powerful tensor operations for readable and reliable code. >@@ -49,21 +57,16 @@ > rm einops/layers/paddle.py > rm einops/layers/tensorflow.py > >-# Do not use a bare python in the test >-sed -i -e 's@python -m@%__python3 -m@' test.py >-# Remove some tests >-# if sys.version_info >= (3, 13): >-# > raise RuntimeError("Dynamo is not supported on Python 3.13+") >-# E RuntimeError: Dynamo is not supported on Python 3.13+ >-rm tests/test_other.py >-rm tests/test_ops.py >-rm tests/test_examples.py >-# def test_pack_unpack_array_api(): >-# from einops import array_api as AA >-#> import numpy.array_api as xp >-#E ModuleNotFoundError: No module named 'numpy.array_api' >-rm tests/test_packing.py >-rm tests/test_notebooks.py >+# numpy 2 >+# import numpy.array_api as -> import numpy as >+# Fixed in the upstream with >+# commit 11680b457ce2216d9827330d0b794565946847d7 >+# Author: Alex Rogozhnikov <iamfullofspam@gmail.com> >+# Date: Wed Aug 7 17:35:43 2024 -0700 >+# >+# fix tests for numpy regression (see https://github.com/numpy/numpy/issues/27137) >+# >+sed -i -e 's@import numpy.array_api as@import numpy as@' tests/*.py > > %generate_buildrequires > %pyproject_buildrequires -t >@@ -77,10 +80,19 @@ > > %check > %pyproject_check_import >-%if %{with test} > export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python3_sitelib}/%{pypi_name} >-%__python3 test.py torch >-%endif >+# AttributeError: 'numpy.int64' object has no attribute '__dlpack__' >+k="${k-}${k+ and }not (test_ops and test_reduce_array_api)" >+# ImportError: attempted relative import with no known parent package >+k="${k-}${k+ and }not (test_notebooks and test_notebook_1)" >+k="${k-}${k+ and }not (test_notebooks and test_notebook_2_with_all_backends)" >+k="${k-}${k+ and }not (test_notebooks and test_notebook_3)" >+k="${k-}${k+ and }not (test_notebooks and test_notebook_4)" >+# RuntimeError: Dynamo is not supported on Python 3.13+ >+k="${k-}${k+ and }not (test_other and test_torch_compile)" >+k="${k-}${k+ and }not (test_ops and test_torch_compile_with_dynamic_shape)" >+EINOPS_TEST_BACKENDS=numpy %pytest -k "${k-}" tests >+EINOPS_TEST_BACKENDS=torch %pytest -k "${k-}" tests > > %files -n python3-%{pypi_name} -f %{pyproject_files} > %doc README.md
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2334210
:
2064884
|
2065094
| 2065603