charmlibs-pathops 1.1.1__tar.gz → 1.2.0__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.
Files changed (20) hide show
  1. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/PKG-INFO +6 -4
  2. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/pyproject.toml +11 -4
  3. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/_container_path.py +3 -2
  4. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/_types.py +1 -1
  5. charmlibs_pathops-1.2.0/src/charmlibs/pathops/_version.txt +1 -0
  6. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs_pathops.egg-info/PKG-INFO +6 -4
  7. charmlibs_pathops-1.1.1/src/charmlibs/pathops/_version.txt +0 -1
  8. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/README.md +0 -0
  9. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/setup.cfg +0 -0
  10. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/__init__.py +0 -0
  11. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/_constants.py +0 -0
  12. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/_errors.py +0 -0
  13. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/_fileinfo.py +0 -0
  14. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/_functions.py +0 -0
  15. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/_local_path.py +0 -0
  16. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs/pathops/py.typed +0 -0
  17. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs_pathops.egg-info/SOURCES.txt +0 -0
  18. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs_pathops.egg-info/dependency_links.txt +0 -0
  19. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs_pathops.egg-info/requires.txt +0 -0
  20. {charmlibs_pathops-1.1.1 → charmlibs_pathops-1.2.0}/src/charmlibs_pathops.egg-info/top_level.txt +0 -0
@@ -1,16 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: charmlibs-pathops
3
- Version: 1.1.1
3
+ Version: 1.2.0
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: Repository, https://github.com/canonical/charmtech-charmlibs
7
- Project-URL: Issues, https://github.com/canonical/charmtech-charmlibs/issues
6
+ Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs
7
+ Project-URL: Repository, https://github.com/canonical/charmlibs
8
+ Project-URL: Issues, https://github.com/canonical/charmlibs/issues
9
+ Project-URL: Changelog, https://github.com/canonical/charmlibs/blob/main/pathops/CHANGELOG.md
8
10
  Classifier: Programming Language :: Python :: 3
9
11
  Classifier: License :: OSI Approved :: Apache Software License
10
12
  Classifier: Intended Audience :: Developers
11
13
  Classifier: Operating System :: POSIX :: Linux
12
14
  Classifier: Development Status :: 5 - Production/Stable
13
- Requires-Python: >=3.8
15
+ Requires-Python: >=3.10
14
16
  Description-Content-Type: text/markdown
15
17
  Requires-Dist: ops<4,>=2.19
16
18
 
@@ -2,7 +2,7 @@
2
2
  name = "charmlibs-pathops"
3
3
  description = "A pathlib-like interface for Juju K8s charms to interact with files in their workload container."
4
4
  readme = "README.md"
5
- requires-python = ">=3.8"
5
+ requires-python = ">=3.10"
6
6
  authors = [
7
7
  {name="The Charm Tech team at Canonical Ltd."},
8
8
  ]
@@ -22,13 +22,17 @@ dependencies = [
22
22
  lint = [
23
23
  "typing_extensions",
24
24
  ]
25
+ unit = []
26
+ functional = []
25
27
  integration = [
26
28
  "jubilant",
27
29
  ]
28
30
 
29
31
  [project.urls]
30
- "Repository" = "https://github.com/canonical/charmtech-charmlibs"
31
- "Issues" = "https://github.com/canonical/charmtech-charmlibs/issues"
32
+ "Documentation" = "https://documentation.ubuntu.com/charmlibs"
33
+ "Repository" = "https://github.com/canonical/charmlibs"
34
+ "Issues" = "https://github.com/canonical/charmlibs/issues"
35
+ "Changelog" = "https://github.com/canonical/charmlibs/blob/main/pathops/CHANGELOG.md"
32
36
 
33
37
  [build-system]
34
38
  requires = [
@@ -46,8 +50,11 @@ src = ["src", "tests/unit", "tests/functional", "tests/integration"] # correctl
46
50
  [tool.pyright]
47
51
  extend = "../pyproject.toml"
48
52
  include = ["src", "tests"]
49
- pythonVersion = "3.8" # check no python > 3.8 features are used
53
+ pythonVersion = "3.10"
50
54
 
51
55
  [tool.charmlibs.functional]
52
56
  pebble = ["v1.1.1","master"]
53
57
  ubuntu = ["22.04", "latest"]
58
+
59
+ [tool.charmlibs.integration]
60
+ tags = ["22.04", "24.04"]
@@ -28,9 +28,10 @@ from . import _constants, _errors, _fileinfo
28
28
 
29
29
  if typing.TYPE_CHECKING:
30
30
  import os
31
- from typing import Generator, Literal
31
+ from collections.abc import Generator
32
+ from typing import Literal, TypeGuard
32
33
 
33
- from typing_extensions import Self, TypeGuard
34
+ from typing_extensions import Self
34
35
 
35
36
 
36
37
  class RelativePathError(ValueError):
@@ -22,7 +22,7 @@ from . import _constants
22
22
 
23
23
  if typing.TYPE_CHECKING:
24
24
  import os
25
- from typing import Generator, Sequence
25
+ from collections.abc import Generator, Sequence
26
26
 
27
27
  from typing_extensions import Self
28
28
 
@@ -1,16 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: charmlibs-pathops
3
- Version: 1.1.1
3
+ Version: 1.2.0
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: Repository, https://github.com/canonical/charmtech-charmlibs
7
- Project-URL: Issues, https://github.com/canonical/charmtech-charmlibs/issues
6
+ Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs
7
+ Project-URL: Repository, https://github.com/canonical/charmlibs
8
+ Project-URL: Issues, https://github.com/canonical/charmlibs/issues
9
+ Project-URL: Changelog, https://github.com/canonical/charmlibs/blob/main/pathops/CHANGELOG.md
8
10
  Classifier: Programming Language :: Python :: 3
9
11
  Classifier: License :: OSI Approved :: Apache Software License
10
12
  Classifier: Intended Audience :: Developers
11
13
  Classifier: Operating System :: POSIX :: Linux
12
14
  Classifier: Development Status :: 5 - Production/Stable
13
- Requires-Python: >=3.8
15
+ Requires-Python: >=3.10
14
16
  Description-Content-Type: text/markdown
15
17
  Requires-Dist: ops<4,>=2.19
16
18