Sync from SUSE:SLFO:Main python-python-multipart revision f462de83d439194509bb65d2691ceb3b

This commit is contained in:
Adrian Schröter 2024-12-13 12:16:13 +01:00
parent 55d8683621
commit 4464e3b35c
4 changed files with 66 additions and 8 deletions

View File

@ -1,10 +1,67 @@
-------------------------------------------------------------------
Wed Dec 4 10:08:03 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 0.0.19 (bsc#1234115, CVE-2024-53981):
* Don't warn when CRLF is found after last boundary #193
- 0.0.18:
* Hard break if found data after last boundary on MultipartParser #189
-------------------------------------------------------------------
Wed Nov 6 14:13:57 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.0.17
* Handle PermissionError in fallback code for old import name #182
- from version 0.0.16
* Add dunder attributes to `multipart` package #177
- from version 0.0.15
* Replace `FutureWarning` to `PendingDeprecationWarning` #174
* Add missing files to SDist #171
- from version 0.0.14
* Fix import scheme for `multipart` module #168
- from version 0.0.13
* Rename import to `python_multipart` #166
- from version 0.0.12
* Improve error message when boundary character does not match #124
* Add mypy strict typing #140
* Enforce 100% coverage #159
- from version 0.0.11
* Improve performance, especially in data with many CR-LF #137
* Handle invalid CRLF in header name #141
- from version 0.0.10
* Support `on_header_begin` #103
* Improve type hints on `FormParser` #104
* Fix `OnFileCallback` type #106
* Improve type hints #110
* Improve type hints on `File` #111
* Add type hint to helper functions #112
* Minor fix for Field.__repr__ #114
* Fix use of chunk_size parameter #136
* Allow digits and valid token chars in headers #134
* Fix headers being carried between parts #135
- Add python_multipart Python directory to %files section
- Rename README.rst to README.md in %files section
-------------------------------------------------------------------
Fri Mar 1 10:15:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.0.9:
* Add support for Python 3.12 #85.
* Drop support for Python 3.7 #95.
* Add `MultipartState(IntEnum)` #96.
* Add `QuerystringState` #97.
* Add `TypedDict` callbacks #98.
* Add config `TypedDict`s #99.
* Cleanup unused regex patterns
* Check if `Message.get_params` return 3-`tuple` instead of
`str` on `parse_options_header`
-------------------------------------------------------------------
Tue Feb 6 11:19:14 UTC 2024 - pgajdos@suse.com
- version update to 0.0.7
0.0.7 (2024-02-03)
* Refactor header option parser to use the standard library instead of a custom RegEx #75.
[bsc#1219610] CVE-2024-24762
[bsc#1219610] CVE-2024-24762
0.0.6 (2023-02-27)
* Migrate package installation to pyproject.toml (PEP 621) #54.
* Use yaml.safe_load instead of yaml.load #46.
@ -47,7 +104,7 @@ Fri Apr 8 09:51:38 UTC 2022 - pgajdos@suse.com
Fri Feb 4 00:43:33 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-pyyaml-6.patch:
* Support PyYAML 6.0+
* Support PyYAML 6.0+
-------------------------------------------------------------------
Sat Jul 25 06:56:28 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -18,11 +18,11 @@
%{?sle15_python_module_pythons}
Name: python-python-multipart
Version: 0.0.7
Version: 0.0.19
Release: 0
License: Apache-2.0
Summary: Python streaming multipart parser
URL: http://github.com/andrew-d/python-multipart
URL: http://github.com/Kludex/python-multipart
Source: https://files.pythonhosted.org/packages/source/p/python-multipart/python_multipart-%{version}.tar.gz
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
@ -54,9 +54,10 @@ A streaming multipart parser for Python.
%pytest
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE.txt
%{python_sitelib}/multipart
%{python_sitelib}/python_multipart
%{python_sitelib}/python_multipart-%{version}.dist-info
%changelog

BIN
python_multipart-0.0.19.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
python_multipart-0.0.7.tar.gz (Stored with Git LFS)

Binary file not shown.