Path.py

Latest version: v12.5.0

Safety actively analyzes 621724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 11

15.0.0

-------

- Removed ``__version__`` property. To determine the version,
use ``importlib.metadata.version('path')``.

14.0.1

-------

- Fixed regression on Python 3.7 and earlier where ``lru_cache``
did not support a user function.

14.0.0

-------

- Removed ``namebase`` property. Use ``stem`` instead.
- Removed ``update`` parameter on method to
``Path.merge_tree``. Instead, to only copy newer files,
provide a wrapped ``copy`` function, as described in the
doc string.
- Removed ``FastPath``. Just use ``Path``.
- Removed ``path.CaseInsensitivePattern``. Instead
use ``path.matchers.CaseInsensitive``.
- Removed ``path.tempdir``. Use ``path.TempDir``.
- 154: Added ``Traversal`` class and support for customizing
the behavior of a ``Path.walk``.

13.3.0

-------

- 186: Fix test failures on Python 3.8 on Windows by relying on
``realpath()`` instead of ``readlink()``.
- 189: ``realpath()`` now honors symlinks on Python 3.7 and
earlier, approximating the behavior found on Python 3.8.
- 187: ``lines()`` no longer relies on the deprecated ``.text()``.

13.2.0

-------

- Require Python 3.6 or later.

13.1.0

-------

- 170: Added ``read_text`` and ``read_bytes`` methods to
align with ``pathlib`` behavior. Deprecated ``text`` method.
If you require newline normalization of ``text``, use
``jaraco.text.normalize_newlines(Path.read_text())``.

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.