!20 update to version 2.0.3
From: @wang--ge Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
fb60b907ec
BIN
1.0.1.tar.gz
BIN
1.0.1.tar.gz
Binary file not shown.
BIN
Werkzeug-2.0.3.tar.gz
Normal file
BIN
Werkzeug-2.0.3.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-werkzeug
|
Name: python-werkzeug
|
||||||
Version: 1.0.1
|
Version: 2.0.3
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: The comprehensive WSGI web application library.
|
Summary: The comprehensive WSGI web application library.
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://palletsprojects.com/p/werkzeug/
|
URL: https://palletsprojects.com/p/werkzeug/
|
||||||
Source0: https://github.com/pallets/werkzeug/archive/1.0.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/6c/a8/60514fade2318e277453c9588545d0c335ea3ea6440ce5cdabfca7f73117/Werkzeug-2.0.3.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-werkzeug
|
BuildRequires: python3-werkzeug
|
||||||
|
|
||||||
@ -122,7 +122,12 @@ providing more structure and patterns for defining powerful
|
|||||||
applications.
|
applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n werkzeug-1.0.1
|
%autosetup -n Werkzeug-%{version}
|
||||||
|
#remove test case which depend on xprocess
|
||||||
|
sed -i '/from xprocess import ProcessStarter/, +141d' tests/conftest.py
|
||||||
|
sed -i '/@pytest.mark.filterwarnings/, +221d' tests/test_serving.py
|
||||||
|
sed -i '/@pytest.mark.filterwarnings/, +40d' tests/middleware/test_http_proxy.py
|
||||||
|
sed -i '/@pytest.mark.filterwarnings/, +11d' tests/test_debug.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -156,7 +161,10 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib}
|
depath=`pwd`
|
||||||
|
depath=$depath/src/
|
||||||
|
#export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||||
|
export PYTHONPATH=$PYTHONPATH:$depath
|
||||||
/usr/bin/pytest -p no:unraisableexception
|
/usr/bin/pytest -p no:unraisableexception
|
||||||
|
|
||||||
%files -n python3-werkzeug -f filelist.lst
|
%files -n python3-werkzeug -f filelist.lst
|
||||||
@ -166,6 +174,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 25 2022 Ge Wang <wange20@h-partners.com> - 2.0.3-1
|
||||||
|
- Upgrade to version 2.0.3
|
||||||
|
|
||||||
* Tue Dec 21 2021 liwu <liwu13@huawei.com> - 1.2.1-2
|
* Tue Dec 21 2021 liwu <liwu13@huawei.com> - 1.2.1-2
|
||||||
- fix test failures due to unhandled exceptions being thrown without being propagated to caller
|
- fix test failures due to unhandled exceptions being thrown without being propagated to caller
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user