ae-shell 0.3.18__tar.gz → 0.3.19__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.
@@ -1,4 +1,4 @@
1
- <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.102 -->
1
+ <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.104 -->
2
2
  ### GNU GENERAL PUBLIC LICENSE
3
3
 
4
4
  Version 3, 29 June 2007
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ae_shell
3
- Version: 0.3.18
3
+ Version: 0.3.19
4
4
  Summary: ae namespace module portion shell: shell execution and environment helpers
5
5
  Home-page: https://gitlab.com/ae-group/ae_shell
6
6
  Author: AndiEcker
@@ -64,13 +64,13 @@ Dynamic: summary
64
64
 
65
65
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.110 -->
66
66
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.33 -->
67
- # shell 0.3.18
67
+ # shell 0.3.19
68
68
 
69
69
  [![GitLab develop](https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/develop?logo=python)](
70
70
  https://gitlab.com/ae-group/ae_shell)
71
71
  [![LatestPyPIrelease](
72
- https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/release0.3.18?logo=python)](
73
- https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.18)
72
+ https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/release0.3.19?logo=python)](
73
+ https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.19)
74
74
  [![PyPIVersions](https://img.shields.io/pypi/v/ae_shell)](
75
75
  https://pypi.org/project/ae-shell/#history)
76
76
 
@@ -1,12 +1,12 @@
1
1
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.110 -->
2
2
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.33 -->
3
- # shell 0.3.18
3
+ # shell 0.3.19
4
4
 
5
5
  [![GitLab develop](https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/develop?logo=python)](
6
6
  https://gitlab.com/ae-group/ae_shell)
7
7
  [![LatestPyPIrelease](
8
- https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/release0.3.18?logo=python)](
9
- https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.18)
8
+ https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/release0.3.19?logo=python)](
9
+ https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.19)
10
10
  [![PyPIVersions](https://img.shields.io/pypi/v/ae_shell)](
11
11
  https://pypi.org/project/ae-shell/#history)
12
12
 
@@ -26,13 +26,13 @@ from collections.abc import Callable, Iterator, MutableMapping
26
26
  from contextlib import contextmanager
27
27
  from typing import Any, Sequence, cast, overload
28
28
 
29
- from ae.base import UNSET, UnsetType, dummy_function, env_str, norm_name # type: ignore
29
+ from ae.base import UNSET, URI_SVC_SEP, UnsetType, dummy_function, env_str, norm_name # type: ignore
30
30
  from ae.system import load_env_var_defaults, os_env_venv # type: ignore
31
31
  from ae.core import main_app_instance, AppBase # type: ignore
32
32
  from ae.console import MAIN_SECTION_NAME, ConsoleApp # type: ignore
33
33
 
34
34
 
35
- __version__ = '0.3.18'
35
+ __version__ = '0.3.19'
36
36
 
37
37
 
38
38
  STDERR_BEG_MARKER = 'vvv STDERR vvv' #: :paramref:`ae.shell.run_cmd.output_lines` begin `stderr` lines marker
@@ -139,7 +139,7 @@ def mask_token(text: str | Sequence[str]) -> str | list[str]:
139
139
  else:
140
140
  lines = list(text) # copy to not change text list content
141
141
 
142
- url_beg = 'https://' # PDV_REPO_HOST_PROTOCOL
142
+ url_beg = f"https{URI_SVC_SEP}" # PDV_REPO_HOST_PROTOCOL
143
143
  url_beg_len = len(url_beg)
144
144
  for tok_beg, tok_end in ((':', '@codeberg.org'), ('glpat-', '@gitlab.com'), ('ghp_', '@github.com')):
145
145
  for idx, line in enumerate(lines):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ae_shell
3
- Version: 0.3.18
3
+ Version: 0.3.19
4
4
  Summary: ae namespace module portion shell: shell execution and environment helpers
5
5
  Home-page: https://gitlab.com/ae-group/ae_shell
6
6
  Author: AndiEcker
@@ -64,13 +64,13 @@ Dynamic: summary
64
64
 
65
65
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.110 -->
66
66
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.33 -->
67
- # shell 0.3.18
67
+ # shell 0.3.19
68
68
 
69
69
  [![GitLab develop](https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/develop?logo=python)](
70
70
  https://gitlab.com/ae-group/ae_shell)
71
71
  [![LatestPyPIrelease](
72
- https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/release0.3.18?logo=python)](
73
- https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.18)
72
+ https://img.shields.io/gitlab/pipeline/ae-group/ae_shell/release0.3.19?logo=python)](
73
+ https://gitlab.com/ae-group/ae_shell/-/tree/release0.3.19)
74
74
  [![PyPIVersions](https://img.shields.io/pypi/v/ae_shell)](
75
75
  https://pypi.org/project/ae-shell/#history)
76
76
 
@@ -1,4 +1,4 @@
1
- # THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.102
1
+ # THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.104
2
2
  [build-system]
3
3
  requires = ["setuptools>=42", "wheel"]
4
4
  build-backend = "setuptools.build_meta"
@@ -1,4 +1,4 @@
1
- # THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.102
1
+ # THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.104
2
2
  """ setup of ae namespace module portion shell: shell execution and environment helpers. """
3
3
  import pathlib
4
4
  import sys
@@ -77,7 +77,7 @@ setup_kwargs: dict[str, Any] = {
77
77
  },
78
78
  'python_requires': '>=3.12',
79
79
  'url': 'https://gitlab.com/ae-group/ae_shell',
80
- 'version': '0.3.18',
80
+ 'version': '0.3.19',
81
81
  'zip_safe': True,
82
82
  }
83
83
 
@@ -5,7 +5,7 @@ import sys
5
5
  import subprocess
6
6
  from unittest.mock import PropertyMock, patch
7
7
 
8
- from ae.base import UNSET, camel_to_snake, norm_name, os_path_join, write_file
8
+ from ae.base import UNSET, URI_SVC_SEP, camel_to_snake, norm_name, os_path_join, write_file
9
9
  from ae.system import load_env_var_defaults, os_env_venv
10
10
  from ae.core import DEBUG_LEVEL_DISABLED, DEBUG_LEVEL_ENABLED, DEBUG_LEVEL_VERBOSE
11
11
  from ae.console import MAIN_SECTION_NAME, ConsoleApp
@@ -221,7 +221,7 @@ class TestHelpers:
221
221
  assert os.environ == os_env
222
222
 
223
223
  def test_mask_token(self):
224
- url_prefix_str = "https://" # PDV_REPO_HOST_PROTOCOL
224
+ url_prefix_str = f"https{URI_SVC_SEP}" # PDV_REPO_HOST_PROTOCOL
225
225
 
226
226
  token = "codeberg token does not have a prefix and only contains hex-digits followed by @ and codeberg.org"
227
227
  text = f"a text block containing a codeberg URL with a token: {url_prefix_str}UsaNäm:{token}@codeberg.org"
File without changes