public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ase] epel10: New upstream release
@ 2026-07-18 16:45 Marcin Dulak
0 siblings, 0 replies; only message in thread
From: Marcin Dulak @ 2026-07-18 16:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-ase
Branch : epel10
Commit : f86dfe3e121bad53d9af6fe63c2b2beac517086e
Author : Marcin Dulak <marcindulak@fedoraproject.org>
Date : 2026-07-18T11:37:59+00:00
Stats : +21/-8 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-ase/c/f86dfe3e121bad53d9af6fe63c2b2beac517086e?branch=epel10
Log:
New upstream release
---
diff --git a/python-ase.spec b/python-ase.spec
index edf004d..cd470b2 100644
--- a/python-ase.spec
+++ b/python-ase.spec
@@ -16,8 +16,8 @@ ase-3.23 requires pyproject.toml setuptools support
%global upstream_name ase
Name: python-ase
-Version: 3.25.0
-Release: 7%{?dist}
+Version: 3.29.0
+Release: 1%{?dist}
Summary: Atomic Simulation Environment
@@ -77,6 +77,16 @@ analyzing simulations, etc.
%prep
%setup -qn %{upstream_name}-%{version}
+%if 0%{?el10}
+# Relax setuptools version to allow EPEL builds
+# https://gitlab.com/ase/ase/-/work_items/1726
+sed -i "s/requires = \['setuptools.*/requires = \['setuptools'\]/" pyproject.toml
+sed -Ei "s/^license = '(.*)'/license = { text = \"\1\" }/" pyproject.toml
+sed -i "/^license-files =/d" pyproject.toml
+# Relax typing-extensions version
+sed -i "s/'typing_extensions.*'/'typing_extensions'/" pyproject.toml
+%endif
+
# https://gitlab.com/ase/ase/-/issues/1461
rm -f ase/test/fio/test_espresso.py
# Fixed some time after 3.25.0
@@ -131,13 +141,13 @@ cat files3.list
%check
-export PYTHONPATH=`pwd`/build/lib
-export PATH=`pwd`/bin:${PATH} # the tests assume Python 3 scripts are named the same as Python 2 scripts
-# the cli tests assume there is /usr/bin/env python
-ln -s `which python3` `pwd`/bin/python
+export PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib}
+export PATH=$RPM_BUILD_ROOT%{_bindir}:${PATH}
+# Don't write pyc files under $RPM_BUILD_ROOT during tests
+export PYTHONDONTWRITEBYTECODE=1
# Ignore pytest deprecation warnings treated as errors https://gitlab.com/ase/ase/-/issues/909
LC_ALL=C.UTF-8 ase test --verbose --pytest -W ignore -W 'once::DeprecationWarning'
-cd -
+rm -rf $RPM_BUILD_ROOT%{python3_sitelib}/%{upstream_name}/test/.pytest_cache
%files -n python3-ase -f files3.list
@@ -149,6 +159,9 @@ cd -
%changelog
+* Fri Jul 17 2026 Marcin Dulak <marcindulak@fedoraproject.org> - 3.29.0-1
+- New upstream release
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index e493bc3..14c7162 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ase-3.25.0.tar.gz) = 9e224358b61dc76e3a704c8a475d2b15c7f077af68d15eff4deb261871176c6ead36ce1d46d68325896c717f1259da9b42541f4c0c251bacda1a7df8f473b47e
+SHA512 (ase-3.29.0.tar.gz) = 975062919e43c049cc2818acb08165801d88b0721781dcd5d5aeb88aa617200e36d13ab98aa3b18a1f236921b07eda133921cd0c0c598be13c02033b4549ec20
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-18 16:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-18 16:45 [rpms/python-ase] epel10: New upstream release Marcin Dulak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox