charmlibs-pathops 1.2.0__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/PKG-INFO +2 -2
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/pyproject.toml +2 -2
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_types.py +3 -3
- charmlibs_pathops-1.2.1/src/charmlibs/pathops/_version.txt +1 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/PKG-INFO +2 -2
- charmlibs_pathops-1.2.0/src/charmlibs/pathops/_version.txt +0 -1
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/README.md +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/setup.cfg +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/__init__.py +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_constants.py +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_container_path.py +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_errors.py +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_fileinfo.py +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_functions.py +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_local_path.py +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/py.typed +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/SOURCES.txt +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/dependency_links.txt +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/requires.txt +0 -0
- {charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: charmlibs-pathops
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: A pathlib-like interface for Juju K8s charms to interact with files in their workload container.
|
|
5
5
|
Author: The Charm Tech team at Canonical Ltd.
|
|
6
|
-
Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs
|
|
6
|
+
Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs/reference/charmlibs/pathops/
|
|
7
7
|
Project-URL: Repository, https://github.com/canonical/charmlibs
|
|
8
8
|
Project-URL: Issues, https://github.com/canonical/charmlibs/issues
|
|
9
9
|
Project-URL: Changelog, https://github.com/canonical/charmlibs/blob/main/pathops/CHANGELOG.md
|
|
@@ -29,7 +29,7 @@ integration = [
|
|
|
29
29
|
]
|
|
30
30
|
|
|
31
31
|
[project.urls]
|
|
32
|
-
"Documentation" = "https://documentation.ubuntu.com/charmlibs"
|
|
32
|
+
"Documentation" = "https://documentation.ubuntu.com/charmlibs/reference/charmlibs/pathops/"
|
|
33
33
|
"Repository" = "https://github.com/canonical/charmlibs"
|
|
34
34
|
"Issues" = "https://github.com/canonical/charmlibs/issues"
|
|
35
35
|
"Changelog" = "https://github.com/canonical/charmlibs/blob/main/pathops/CHANGELOG.md"
|
|
@@ -48,7 +48,7 @@ extend = "../pyproject.toml"
|
|
|
48
48
|
src = ["src", "tests/unit", "tests/functional", "tests/integration"] # correctly sort local imports in tests
|
|
49
49
|
|
|
50
50
|
[tool.pyright]
|
|
51
|
-
|
|
51
|
+
extends = "../pyproject.toml"
|
|
52
52
|
include = ["src", "tests"]
|
|
53
53
|
pythonVersion = "3.10"
|
|
54
54
|
|
|
@@ -22,7 +22,7 @@ from . import _constants
|
|
|
22
22
|
|
|
23
23
|
if typing.TYPE_CHECKING:
|
|
24
24
|
import os
|
|
25
|
-
from collections.abc import
|
|
25
|
+
from collections.abc import Iterator, Sequence
|
|
26
26
|
|
|
27
27
|
from typing_extensions import Self
|
|
28
28
|
|
|
@@ -244,7 +244,7 @@ class PathProtocol(typing.Protocol):
|
|
|
244
244
|
"""
|
|
245
245
|
...
|
|
246
246
|
|
|
247
|
-
def iterdir(self) ->
|
|
247
|
+
def iterdir(self) -> Iterator[Self]:
|
|
248
248
|
"""Yield objects of the same type corresponding to the directory's contents.
|
|
249
249
|
|
|
250
250
|
There are no guarantees about the order of the children. The special entries
|
|
@@ -261,7 +261,7 @@ class PathProtocol(typing.Protocol):
|
|
|
261
261
|
# NOTE: Not supported -- (Python 3.12) ``case_sensitive`` argument
|
|
262
262
|
# NOTE: Not supported -- (Python 3.13) ``pattern`` can be path-like
|
|
263
263
|
# NOTE: Not supported -- (Python 3.13) ``recurse_symlinks``
|
|
264
|
-
def glob(self, pattern: str) ->
|
|
264
|
+
def glob(self, pattern: str) -> Iterator[Self]:
|
|
265
265
|
r"""Iterate over this directory and yield all paths matching the provided pattern.
|
|
266
266
|
|
|
267
267
|
For example, ``path.glob('*.txt')``, ``path.glob('*/foo.txt')``.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.2.1
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: charmlibs-pathops
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: A pathlib-like interface for Juju K8s charms to interact with files in their workload container.
|
|
5
5
|
Author: The Charm Tech team at Canonical Ltd.
|
|
6
|
-
Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs
|
|
6
|
+
Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs/reference/charmlibs/pathops/
|
|
7
7
|
Project-URL: Repository, https://github.com/canonical/charmlibs
|
|
8
8
|
Project-URL: Issues, https://github.com/canonical/charmlibs/issues
|
|
9
9
|
Project-URL: Changelog, https://github.com/canonical/charmlibs/blob/main/pathops/CHANGELOG.md
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_container_path.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/requires.txt
RENAMED
|
File without changes
|
{charmlibs_pathops-1.2.0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/top_level.txt
RENAMED
|
File without changes
|