The NetBSD Project

CVS log for pkgsrc/devel/py-pathvalidate/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pathvalidate

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 15 18:31:32 2025 UTC (16 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -3 lines
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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Apr 12 12:18:00 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jan 4 06:38:28 2025 UTC (22 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
py-pathvalidate: updated to 3.2.3

3.2.3
Fix dot-files validation

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 3 13:47:41 2025 UTC (22 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
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

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:28:17 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Aug 27 09:04:49 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5 lines
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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Nov 27 20:30:58 2023 UTC (2 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -3 lines
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

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 4 18:56:05 2022 UTC (4 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
py-pathvalidate: does not support python 2.7

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Aug 31 09:36:03 2022 UTC (4 years, 2 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
py-pathvalidate: set better HOMEPAGE, do not require any languages

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 31 08:23:29 2022 UTC (4 years, 2 months ago) by sborrill
Branches: MAIN
py-pathvalidate: Add 2.5.2

pathvalidate is a Python library to sanitize/validate a string such
as filenames, file-paths, etc.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>