Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pathvalidate
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-pathvalidate: updated to 3.3.1 v3.3.1 - 2025-06-15 Modify to use repr() for value formatting in error messages and validation descriptions v3.3.0 - 2025-06-15 Add value to the INVALID_LENGTH validation error Ensure that the invalids value of INVALID_CHARACTER is unique
Fix PLIST after py-setuptools update; bump depends and revision
py-pathvalidate: updated to 3.2.3 3.2.3 Fix dot-files validation
py-pathvalidate: updated to 3.2.2 3.2.2 Fix the detection logic of the reservation words for the file name on Windows. Drop support for Python 3.7/3.8 Refactor type annotations
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-pathvalidate: updated to 3.2.1 3.2.1 Test Python 3.12 in CIs Bump actions/setup-python from 4 to 5 Bump actions/upload-artifact from 3 to 4 Bump actions/download-artifact from 3 to 4 Fix CI Update the CI workflow to include a job that publishes packages to TestPyPI Fix coverage report Fix sanitize_filename truncation Fix validation functions of filepaths If platform argument is windows or universal, filepaths ending with a space or a period should be detected as an error Fix POSIX-style absolute paths were not detected as errors with platform="windows" or platform="universal" on Python 3.12 and below Add support for Python 3.13 Improve type annotations Add a build and publish workflow Add Sigstore signatures to release assets Update copyright year to include the last update year Add CHANGELOG
py-pathvalidate: updated to 3.2.0 v3.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 v3.1.0 Fix validation error messages to show the target-platform properly Fix README: out of date with the actual error generated by validate_filename 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 v3.0.0 Trim heading spaces in Windows Consider filesystem encoding for length calculations Fix type model Fix sanitizing of filenames that only consist of whitespaces and periods Add validate_unprintable_char function Add validate_after_sanitize keyword argument to sanitize_filename and sanitize_filepath functions Add error codes to ErrorReason Add zip_safe=False to setup Modify to accept pathvalidate.Platform type as platform arguments Rename type alias from Handler to NullValueHandler Remove InvalidLengthError to use ValidationError Improve type annotations Make it possible to import FileNameValidator and FilePathValidator classes from the package root Change constructor arguments of FileNameSanitizer and FilePathSanitizer classes Remove min_len Add validator Remove deprecated functions Modify error messages Refactoring
py-pathvalidate: does not support python 2.7
py-pathvalidate: set better HOMEPAGE, do not require any languages
py-pathvalidate: Add 2.5.2 pathvalidate is a Python library to sanitize/validate a string such as filenames, file-paths, etc.