17
0

22 Commits

Author SHA256 Message Date
88c794f3b4 Accepting request 1284621 from devel:languages:python
- Switch to pyproject macros.
- Specify files and directories explicitly in %files.

OBS-URL: https://build.opensuse.org/request/show/1284621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=11
2025-06-11 14:25:30 +00:00
8d553b0428 - Switch to pyproject macros.
- Specify files and directories explicitly in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=21
2025-06-11 06:14:03 +00:00
ea8a658009 Accepting request 1237820 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1237820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=10
2025-01-14 17:40:51 +00:00
af499ca70b - Update to 3.2.3
* Fix dot-files validation
- from version 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=19
2025-01-14 13:36:41 +00:00
b93136367f Accepting request 1198062 from devel:languages:python
- update to 3.2.1:
  * Test Python 3.12 in CIs
  * 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

OBS-URL: https://build.opensuse.org/request/show/1198062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=9
2024-09-02 11:14:28 +00:00
7be160c94a - update to 3.2.1:
* Test Python 3.12 in CIs
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=17
2024-08-31 12:19:37 +00:00
49cd4befeb Accepting request 1132221 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1132221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=8
2023-12-09 21:53:56 +00:00
10b0ac5be1 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=15
2023-12-09 10:07:13 +00:00
f80b81e612 Accepting request 1069155 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1069155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=7
2023-03-03 21:28:37 +00:00
04394bcc60 - Update to version 2.5.2
* Add support for Python 3.11: #22 (Thanks to @hegjon)
- v2.5.1
  * Add __all__ by @eggplants in #24
  * Add DeprecationWarning to deprecated functions
- v2.5.0
  * Add support for Python 3.10
  * Drop support for Python 3.5
  * Add null_value_handler argument to
    sanitize_filename/sanitize_filepath functions: #20 (Thanks to @
    mkbloke)
  * Add AbstractSanitizer/AbstractValidator classes to import path
  * Add replace_ansi_escape function
  * Add setup-ci target to Makefile
  * Modify min_len/max_len to use default values when assigned minus values
- v2.4.1
  * Fix filename validations that include '\' (backslash) on other
    than Windows: #18 (Thanks to @Traktormaster)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=13
2023-02-24 12:57:42 +00:00
65bdc8b375 Accepting request 880616 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/880616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=6
2021-03-24 15:13:51 +00:00
b22ee1c7ef Accepting request 880394 from home:mnhauke
- Update to version 2.4.0
  * Add exclude_symbols argument to replace_symbol function.
  * Fix permissions of files included in sdist package binary.

OBS-URL: https://build.opensuse.org/request/show/880394
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=11
2021-03-22 22:15:52 +00:00
4db08afd05 Accepting request 851317 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/851317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=5
2020-11-29 11:29:21 +00:00
a49dce8d87 Accepting request 850982 from home:jayvdb:branches:devel:languages:python
- Update to v2.3.0
  * Change not to process for "."/".." by sanitization functions
  * Change to normalize with sanitize_filepath in default

OBS-URL: https://build.opensuse.org/request/show/850982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=9
2020-11-27 13:18:06 +00:00
5673f19891 Accepting request 789298 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/789298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=4
2020-03-29 12:27:03 +00:00
Tomáš Chvátal
f97ac96bdf Accepting request 789281 from home:mnhauke
- Update to version 2.2.2
  * Fix __str__ method
  * Fix to avoid raise an exception when an absolute path
    includes "."/".."
  * Modify an error message
  * Modify raising exception from NullNameError to ValidationError
    of validate_pathtype

OBS-URL: https://build.opensuse.org/request/show/789281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=7
2020-03-28 14:10:23 +00:00
24a4e83f10 Accepting request 786978 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=3
2020-03-23 11:50:18 +00:00
Tomáš Chvátal
60ee095639 Accepting request 786959 from home:mnhauke
- Update to version 2.2.1
  * Fix to include py.typed to the package

OBS-URL: https://build.opensuse.org/request/show/786959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=5
2020-03-20 18:27:50 +00:00
1c2600841a Accepting request 774695 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/774695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=2
2020-02-18 09:35:52 +00:00
Tomáš Chvátal
4c1e1a0107 Accepting request 774680 from home:mnhauke
- Update to version 2.2.0
  * Add POSIX as a platform
  * Change platform of validate_filepath_arg/sanitize_filepath_arg
    to 'auto':

OBS-URL: https://build.opensuse.org/request/show/774680
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=3
2020-02-16 12:15:24 +00:00
865512fd90 Accepting request 772623 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/772623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=1
2020-02-10 20:54:17 +00:00
Tomáš Chvátal
43503a8c66 Accepting request 772534 from home:mnhauke
Initial pakckage for python-pathvalidate

OBS-URL: https://build.opensuse.org/request/show/772534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=1
2020-02-10 08:27:18 +00:00