diff --git a/pathvalidate-2.5.2.tar.gz b/pathvalidate-2.5.2.tar.gz deleted file mode 100644 index 3b54d47..0000000 --- a/pathvalidate-2.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ff57d0fabe5ecb7a4f1e4957bfeb5ad8ab5ab4c0fa71f79c6bbc24bd9b7d14d -size 26715 diff --git a/pathvalidate-3.2.0.tar.gz b/pathvalidate-3.2.0.tar.gz new file mode 100644 index 0000000..a62fe53 --- /dev/null +++ b/pathvalidate-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e8378cf6712bff67fbe7a8307d99fa8c1a0cb28aa477056f8fc374f0dff24ad +size 31246 diff --git a/python-pathvalidate.changes b/python-pathvalidate.changes index 27e571e..7af6b3e 100644 --- a/python-pathvalidate.changes +++ b/python-pathvalidate.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Sat Dec 9 10:06:13 UTC 2023 - Dirk Müller + +- update to 3.2.0: + * Add `reserved_name_handler` argument to `sanitize_filename` + function and `sanitize_filepath` function + * Add `NullValueHandler` class and `ReservedNameHandler` class + * Add `fs_encoding` property and `byte_count` property to + `ValidationError` class + * Add `additional_reserved_names` argument to validate/sanitize + functions to allow custom reserved names + * Modify the return value format of `ValidationError.__str__` + method + * Improve type annotations +- update to 3.1.0: + * Fix validation error messages to show the `target-platform` + properly: #34 (Thanks to @matanster) + * Fix README: out of date with the actual error generated by + `validate_filename` #35 (Thanks to @hXtreme) + * Add `description` property to `ErrorReason` class + * Add `as_slog` method to `ValidationError` class + * Add `docs` extras + * Change the type of the return value of + `ValidationError.reason` from `Optional[ErrorReason]` to + `ErrorReason` + * Update `[build-system]` + * Drop support for Python 3.6 + ------------------------------------------------------------------- Fri Feb 24 12:52:28 UTC 2023 - Daniel Garcia diff --git a/python-pathvalidate.spec b/python-pathvalidate.spec index 102ea4e..8641b47 100644 --- a/python-pathvalidate.spec +++ b/python-pathvalidate.spec @@ -16,9 +16,9 @@ # -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-pathvalidate -Version: 2.5.2 +Version: 3.2.0 Release: 0 Summary: Python library to sanitize/validate a string such as filenames License: MIT