diff --git a/python-xarray.spec b/python-xarray.spec index 880d00e7251ef010d8638abd0d406a1dcbbe71f7..9861fecfcb3b9d0099fcc195288f6ada87035489 100644 --- a/python-xarray.spec +++ b/python-xarray.spec @@ -1,6 +1,6 @@ %global _empty_manifest_terminate_build 0 Name: python-xarray -Version: 2025.9.1 +Version: 2025.11.0 Release: 1 Summary: N-D labeled arrays and datasets in Python License: Apache-2.0 @@ -20,6 +20,7 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip python3-wheel BuildRequires: python3-hatchling python3-hatch-vcs +BuildRequires: ca-certificates Requires: python3-numpy Requires: python3-pandas Requires: python3-packaging @@ -40,6 +41,21 @@ concise, and less error-prone developer experience. %autosetup -n xarray-%{version} %build +# SSL 证书最终解决方案 +export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt +export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt +export PIP_CERT=/etc/pki/tls/certs/ca-bundle.crt + +# 如果上述路径不存在,使用提取的pem文件 +if [ ! -f "$SSL_CERT_FILE" ]; then + export SSL_CERT_FILE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem + export REQUESTS_CA_BUNDLE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem + export PIP_CERT=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem +fi + +# 构建环境设置 +export SETUPTOOLS_USE_DISTUTILS=stdlib +export PIP_DISABLE_PIP_VERSION_CHECK=1 %pyproject_build %install @@ -60,6 +76,9 @@ if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi %{_docdir}/* %changelog +* Tue Nov 18 2025 zhangchaorui - 2025.11.0-1 +- update package to 2025.11.0 + * Tue Oct 07 2025 panzhe - 2025.9.1-1 - Update package to version 2025.9.1 - DataTree.from_dict supports passing in DataArray and nested dictionary values diff --git a/xarray-2025.9.1.tar.gz b/xarray-2025.11.0.tar.gz similarity index 30% rename from xarray-2025.9.1.tar.gz rename to xarray-2025.11.0.tar.gz index e7342c47838f3e0a8ec7aff5bda1589e06e8552b..2133341a80c335fdb96f94f4350643b66590b1c4 100644 Binary files a/xarray-2025.9.1.tar.gz and b/xarray-2025.11.0.tar.gz differ