python-semantic-release 9.16.0__py3-none-any.whl → 9.16.1__py3-none-any.whl
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.
- {python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/METADATA +1 -1
- {python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/RECORD +9 -9
- semantic_release/__init__.py +1 -1
- semantic_release/helpers.py +4 -2
- {python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/AUTHORS.rst +0 -0
- {python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/LICENSE +0 -0
- {python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/WHEEL +0 -0
- {python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/entry_points.txt +0 -0
- {python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/top_level.txt +0 -0
{python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/RECORD
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
semantic_release/__init__.py,sha256=
|
|
1
|
+
semantic_release/__init__.py,sha256=Uuw6q8uKl2tHg0H9Nmlkb_MgTX6uXnS7ttKTo4pyNc0,1229
|
|
2
2
|
semantic_release/__main__.py,sha256=KOIBOvLruqfi5ArXcWK3ucIZ7NB55kfCbycJaxx6aQg,1485
|
|
3
3
|
semantic_release/const.py,sha256=Z1o2QNh60wSLeF-_1TemMBjU3ZXbV0XghnUFsbTVfOs,831
|
|
4
4
|
semantic_release/enums.py,sha256=vrEw1UNRcNrFjPqOFnuUzfeoqKj0ChixVVlyk5fqbng,1744
|
|
5
5
|
semantic_release/errors.py,sha256=PY9rmviSFBZkqawW6VXbUfmF9C_RNOIObcmeGxLefMo,2904
|
|
6
6
|
semantic_release/gitproject.py,sha256=G4XrucN-ZwT1Kj4RMrABcr1vWb0bjKgurEeJjcL-61c,9422
|
|
7
7
|
semantic_release/globals.py,sha256=imI9WKGa6MS2pTRAZiWZ2qIJup2eWnBz3OZmIj2YIHM,158
|
|
8
|
-
semantic_release/helpers.py,sha256=
|
|
8
|
+
semantic_release/helpers.py,sha256=nNm4Pof2nr6D6lixs9CWnwN4bEXCDGgctsT2fNE79hA,7066
|
|
9
9
|
semantic_release/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
semantic_release/changelog/__init__.py,sha256=Bg6Xe5Vt32rWoMscW-hd4sUwiZqzWmsg4CD1EhMesMY,262
|
|
11
11
|
semantic_release/changelog/context.py,sha256=jyVluJq8Vu6TyyzQQrsBIQRKm7kEnh1GZt8ObwibR5k,5374
|
|
@@ -66,10 +66,10 @@ semantic_release/version/algorithm.py,sha256=0cj5LqT8DpBr2zo7Va0-VP8t6a3xAIhFiTL
|
|
|
66
66
|
semantic_release/version/declaration.py,sha256=f6Ld7hIhrqvDrRBapJHr-KDimuyo-4IG8009Zu9BIgU,7357
|
|
67
67
|
semantic_release/version/translator.py,sha256=P1noIsVBn8u6zNOFjG0xKYOWapxqf_PHSMvMeLJ9kXg,3050
|
|
68
68
|
semantic_release/version/version.py,sha256=6PCtSbLP88U1daoxnCwHc--YguZo4waGNLqJ5JfeczE,14175
|
|
69
|
-
python_semantic_release-9.16.
|
|
70
|
-
python_semantic_release-9.16.
|
|
71
|
-
python_semantic_release-9.16.
|
|
72
|
-
python_semantic_release-9.16.
|
|
73
|
-
python_semantic_release-9.16.
|
|
74
|
-
python_semantic_release-9.16.
|
|
75
|
-
python_semantic_release-9.16.
|
|
69
|
+
python_semantic_release-9.16.1.dist-info/AUTHORS.rst,sha256=XOReVvpymEFUPsS2QPH97jlfJBVrxwS2eu8-jVAe4gk,230
|
|
70
|
+
python_semantic_release-9.16.1.dist-info/LICENSE,sha256=NE85nszX252sdQdu0xgS9qwfYES0k8qS6gW3uO4jRGE,1083
|
|
71
|
+
python_semantic_release-9.16.1.dist-info/METADATA,sha256=OocBkzse3jhj4CLVaGPr7y4VwkliK9NZP8xVCluIrxY,3812
|
|
72
|
+
python_semantic_release-9.16.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
73
|
+
python_semantic_release-9.16.1.dist-info/entry_points.txt,sha256=r2Jql3GTQyugQnvf34l2eXk1O_Qx6llR_xixG1ZWgD0,105
|
|
74
|
+
python_semantic_release-9.16.1.dist-info/top_level.txt,sha256=qYA24nyg3eP-ti5UW7Vuj2aXVmM0wqVHx4mREdRZNAA,17
|
|
75
|
+
python_semantic_release-9.16.1.dist-info/RECORD,,
|
semantic_release/__init__.py
CHANGED
semantic_release/helpers.py
CHANGED
|
@@ -69,7 +69,6 @@ def dynamic_import(import_path: str) -> Any:
|
|
|
69
69
|
Dynamically import an object from a conventionally formatted "module:attribute"
|
|
70
70
|
string
|
|
71
71
|
"""
|
|
72
|
-
log.debug("Trying to import %s", import_path)
|
|
73
72
|
module_name, attr = import_path.split(":", maxsplit=1)
|
|
74
73
|
|
|
75
74
|
# Check if the module is a file path, if it can be resolved and exists on disk then import as a file
|
|
@@ -78,10 +77,11 @@ def dynamic_import(import_path: str) -> Any:
|
|
|
78
77
|
module_path = (
|
|
79
78
|
module_filepath.stem
|
|
80
79
|
if Path(module_name).is_absolute()
|
|
81
|
-
else str(Path(module_name).with_suffix("")).replace(os.sep, ".")
|
|
80
|
+
else str(Path(module_name).with_suffix("")).replace(os.sep, ".").lstrip(".")
|
|
82
81
|
)
|
|
83
82
|
|
|
84
83
|
if module_path not in sys.modules:
|
|
84
|
+
log.debug("Loading '%s' from file '%s'", module_path, module_filepath)
|
|
85
85
|
spec = importlib.util.spec_from_file_location(
|
|
86
86
|
module_path, str(module_filepath)
|
|
87
87
|
)
|
|
@@ -96,7 +96,9 @@ def dynamic_import(import_path: str) -> Any:
|
|
|
96
96
|
|
|
97
97
|
# Otherwise, import as a module
|
|
98
98
|
try:
|
|
99
|
+
log.debug("Importing module '%s'", module_name)
|
|
99
100
|
module = importlib.import_module(module_name)
|
|
101
|
+
log.debug("Loading '%s' from module '%s'", attr, module_name)
|
|
100
102
|
return getattr(module, attr)
|
|
101
103
|
except TypeError as err:
|
|
102
104
|
raise ImportError(
|
{python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/AUTHORS.rst
RENAMED
|
File without changes
|
{python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_semantic_release-9.16.0.dist-info → python_semantic_release-9.16.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|