Upgrade babel to Version 2.15.0 to Fix Package Tests (#9408)
This commit is contained in:
Родитель
77b17181ac
Коммит
daea85da14
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"Babel-2.12.1.tar.gz": "cc2d99999cd01d44420ae725a21c9e3711b3aadc7976d6147f622d8581963455"
|
||||
"babel-2.15.0.tar.gz": "8daf0e265d05768bc6c7a314cf1321e9a123afc328cc635c18622a2f30a04413"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
Summary: An integrated collection of utilities that assist in internationalizing and localizing Python applications
|
||||
Name: babel
|
||||
Version: 2.12.1
|
||||
Version: 2.15.0
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Azure Linux
|
||||
Group: Development/Languages/Python
|
||||
URL: https://babel.pocoo.org
|
||||
Source0: https://files.pythonhosted.org/packages/ba/42/54426ba5d7aeebde9f4aaba9884596eb2fe02b413ad77d62ef0b0422e205/Babel-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/15/d2/9671b93d623300f0aef82cde40e25357f11330bdde91743891b22a555bed/%{name}-%{version}.tar.gz
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytz
|
||||
|
@ -19,6 +19,8 @@ BuildRequires: openssl-devel
|
|||
BuildRequires: python3-attrs
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pluggy
|
||||
%endif
|
||||
Requires: python3
|
||||
Requires: python3-pytz
|
||||
|
@ -34,7 +36,7 @@ The functionality Babel provides for internationalization (I18n) and localizatio
|
|||
2.A Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc.
|
||||
|
||||
%prep
|
||||
%autosetup -n Babel-%{version}
|
||||
%autosetup -n babel-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
@ -44,8 +46,8 @@ The functionality Babel provides for internationalization (I18n) and localizatio
|
|||
ln -sfv pybabel %{buildroot}/%{_bindir}/pybabel3
|
||||
|
||||
%check
|
||||
pip3 install pytest freezegun funcsigs pathlib2 pluggy utils
|
||||
%{python3} setup.py test
|
||||
pip3 install freezegun funcsigs pathlib2 utils iniconfig
|
||||
%pytest
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
@ -55,6 +57,10 @@ pip3 install pytest freezegun funcsigs pathlib2 pluggy utils
|
|||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 14 2024 Sam Meluch <sammeluch@microsoft.com> - 2.15.0-1
|
||||
- fix package tests
|
||||
- upgrade to 2.15.0 for python 3.12 support
|
||||
|
||||
* Thu Nov 02 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.12.1-1
|
||||
- Auto-upgrade to 2.12.1 - Azure Linux 3.0 - package upgrades
|
||||
|
||||
|
|
|
@ -895,8 +895,8 @@
|
|||
"type": "other",
|
||||
"other": {
|
||||
"name": "babel",
|
||||
"version": "2.12.1",
|
||||
"downloadUrl": "https://files.pythonhosted.org/packages/ba/42/54426ba5d7aeebde9f4aaba9884596eb2fe02b413ad77d62ef0b0422e205/Babel-2.12.1.tar.gz"
|
||||
"version": "2.15.0",
|
||||
"downloadUrl": "https://files.pythonhosted.org/packages/15/d2/9671b93d623300f0aef82cde40e25357f11330bdde91743891b22a555bed/babel-2.15.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче