6 Commits

Author SHA256 Message Date
9a8de00125 Accepting request 1316808 from devel:languages:python
- update to 3.0.7:
  * Response.html is now a cached property to improve form
    parsing performance
  * Fix a bug that inputs outside of a <form> tag were considered
    belonging to that form because they had a HTML representation
    identical to some input inside that <form>.
  * Strip <option> text.
  * Detect form fields outside of <form> tag associated via HTML5
    form attribute.

OBS-URL: https://build.opensuse.org/request/show/1316808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebTest?expand=0&rev=41
2025-11-11 18:18:40 +00:00
a194aeeacc - update to 3.0.7:
* Response.html is now a cached property to improve form
    parsing performance
  * Fix a bug that inputs outside of a <form> tag were considered
    belonging to that form because they had a HTML representation
    identical to some input inside that <form>.
  * Strip <option> text.
  * Detect form fields outside of <form> tag associated via HTML5
    form attribute.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=74
2025-11-10 08:09:50 +00:00
472516f6c4 Accepting request 1290717 from devel:languages:python
- update to 3.0.4:
  * Ensure BeautifulSoup 4.13+ compatibility

OBS-URL: https://build.opensuse.org/request/show/1290717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebTest?expand=0&rev=40
2025-07-06 15:04:07 +00:00
303f948a64 - update to 3.0.4:
* Ensure BeautifulSoup 4.13+ compatibility

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=72
2025-07-04 16:27:04 +00:00
c0ba854ac1 Accepting request 1285281 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1285281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebTest?expand=0&rev=39
2025-06-13 16:43:20 +00:00
d2182af859 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=70
2025-06-13 02:56:31 +00:00
4 changed files with 34 additions and 9 deletions

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Nov 10 08:09:44 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.0.7:
* Response.html is now a cached property to improve form
parsing performance
* Fix a bug that inputs outside of a <form> tag were considered
belonging to that form because they had a HTML representation
identical to some input inside that <form>.
* Strip <option> text.
* Detect form fields outside of <form> tag associated via HTML5
form attribute.
-------------------------------------------------------------------
Fri Jul 4 16:26:57 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.0.4:
* Ensure BeautifulSoup 4.13+ compatibility
-------------------------------------------------------------------
Fri Jun 13 02:42:45 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Jan 27 12:27:49 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-WebTest
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +18,10 @@
%{?sle15_python_module_pythons}
Name: python-WebTest
Version: 3.0.3
Version: 3.0.7
Release: 0
Summary: Helper to test WSGI applications
License: MIT
Group: Development/Languages/Python
URL: https://docs.pylonsproject.org/projects/webtest/
Source: https://files.pythonhosted.org/packages/source/w/webtest/webtest-%{version}.tar.gz
Patch0: sphinx-7-fix.patch
@@ -31,10 +30,12 @@ BuildRequires: %{python_module WSGIProxy2}
BuildRequires: %{python_module WebOb >= 1.2}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module cssselect}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyquery}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module waitress >= 3.0.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Documentation build requirements:
@@ -70,11 +71,11 @@ This package contains documentation files for %{name}.
%autosetup -p1 -n webtest-%{version}
%build
%python_build
%pyproject_wheel
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -84,7 +85,7 @@ sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildin
%license license.rst
%doc CHANGELOG.rst README.rst
%{python_sitelib}/webtest/
%{python_sitelib}/WebTest-%{version}*-info
%{python_sitelib}/[Ww]eb[Tt]est-%{version}.dist-info
%files -n %{name}-doc
%doc build/sphinx/html

Binary file not shown.

3
webtest-3.0.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7aeab50f970d46c068e7a36dd162cb242591edf72a1d04efd21374772b931741
size 80260