pulumi-nomad 2.2.0a1707287664__py3-none-any.whl → 2.2.0a1707546822__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.
- pulumi_nomad/_utilities.py +2 -6
- {pulumi_nomad-2.2.0a1707287664.dist-info → pulumi_nomad-2.2.0a1707546822.dist-info}/METADATA +2 -3
- {pulumi_nomad-2.2.0a1707287664.dist-info → pulumi_nomad-2.2.0a1707546822.dist-info}/RECORD +5 -5
- {pulumi_nomad-2.2.0a1707287664.dist-info → pulumi_nomad-2.2.0a1707546822.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.2.0a1707287664.dist-info → pulumi_nomad-2.2.0a1707546822.dist-info}/top_level.txt +0 -0
pulumi_nomad/_utilities.py
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
import asyncio
|
7
|
+
import importlib.metadata
|
7
8
|
import importlib.util
|
8
9
|
import inspect
|
9
10
|
import json
|
@@ -18,11 +19,6 @@ from pulumi.runtime.sync_await import _sync_await
|
|
18
19
|
from semver import VersionInfo as SemverVersion
|
19
20
|
from parver import Version as PEP440Version
|
20
21
|
|
21
|
-
if sys.version_info >= (3, 8):
|
22
|
-
from importlib import metadata
|
23
|
-
else:
|
24
|
-
import importlib_metadata as metadata
|
25
|
-
|
26
22
|
|
27
23
|
def get_env(*args):
|
28
24
|
for v in args:
|
@@ -76,7 +72,7 @@ def _get_semver_version():
|
|
76
72
|
# to receive a valid semver string when receiving requests from the language host, so it's our
|
77
73
|
# responsibility as the library to convert our own PEP440 version into a valid semver string.
|
78
74
|
|
79
|
-
pep440_version_string = metadata.version(root_package)
|
75
|
+
pep440_version_string = importlib.metadata.version(root_package)
|
80
76
|
pep440_version = PEP440Version.parse(pep440_version_string)
|
81
77
|
(major, minor, patch) = pep440_version.release
|
82
78
|
prerelease = None
|
{pulumi_nomad-2.2.0a1707287664.dist-info → pulumi_nomad-2.2.0a1707546822.dist-info}/METADATA
RENAMED
@@ -1,17 +1,16 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pulumi_nomad
|
3
|
-
Version: 2.2.
|
3
|
+
Version: 2.2.0a1707546822
|
4
4
|
Summary: A Pulumi package for creating and managing nomad cloud resources.
|
5
5
|
License: Apache-2.0
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|
7
7
|
Project-URL: Repository, https://github.com/pulumi/pulumi-nomad
|
8
8
|
Keywords: pulumi,nomad
|
9
|
-
Requires-Python: >=3.
|
9
|
+
Requires-Python: >=3.8
|
10
10
|
Description-Content-Type: text/markdown
|
11
11
|
Requires-Dist: parver >=0.2.1
|
12
12
|
Requires-Dist: pulumi <4.0.0,>=3.0.0
|
13
13
|
Requires-Dist: semver >=2.8.1
|
14
|
-
Requires-Dist: importlib-metadata <7.0.0,>=6.0.0 ; python_version < "3.8"
|
15
14
|
|
16
15
|
[](https://github.com/pulumi/pulumi-nomad/actions)
|
17
16
|
[](https://slack.pulumi.com)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
pulumi_nomad/__init__.py,sha256=QUArXGICF8dmn0esax2QRn_bSJNVdbfnLlaahZRlmAU,4332
|
2
2
|
pulumi_nomad/_inputs.py,sha256=hDpVMghbzcMFDY7JD0jYRNLNUIJqqWv-vHAik_NH104,71991
|
3
|
-
pulumi_nomad/_utilities.py,sha256=
|
3
|
+
pulumi_nomad/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
|
4
4
|
pulumi_nomad/acl_auth_method.py,sha256=Tp3ow4U8qa-kg4g-3Qzu87h_GW2YqNg5tSijMKcm71E,23599
|
5
5
|
pulumi_nomad/acl_binding_rule.py,sha256=7YZsOVUoabSUsThSiusJBju9S5kYcQGAclPqqRjj3PY,16396
|
6
6
|
pulumi_nomad/acl_policy.py,sha256=t1coaWYlkmx7IZIpG3eza4tq8Z_vzZgbjEgYukO_lvA,13550
|
@@ -48,7 +48,7 @@ pulumi_nomad/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi0
|
|
48
48
|
pulumi_nomad/config/__init__.pyi,sha256=xqQrj9Co22MZN1IMoQwefoce6b6zI5nQfuA4L_uqw3Q,1865
|
49
49
|
pulumi_nomad/config/outputs.py,sha256=EJXQtJx8CPqK4-XlVBLC4rbjzI1AVUBUrOjFgyxwtuk,1003
|
50
50
|
pulumi_nomad/config/vars.py,sha256=pNNlDdaVJeMKr6TPOOJ4wW-_KPneYFizgpPjUIxa9rU,3432
|
51
|
-
pulumi_nomad-2.2.
|
52
|
-
pulumi_nomad-2.2.
|
53
|
-
pulumi_nomad-2.2.
|
54
|
-
pulumi_nomad-2.2.
|
51
|
+
pulumi_nomad-2.2.0a1707546822.dist-info/METADATA,sha256=lD8zvnduad72ejCFCHTUcMHiMcg-KBqC-hNzXSPVIO0,4730
|
52
|
+
pulumi_nomad-2.2.0a1707546822.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
53
|
+
pulumi_nomad-2.2.0a1707546822.dist-info/top_level.txt,sha256=1JxoZWssmXqN-8vVDXtedeoWtI703uNWUOzlm8Byv-o,13
|
54
|
+
pulumi_nomad-2.2.0a1707546822.dist-info/RECORD,,
|
File without changes
|
{pulumi_nomad-2.2.0a1707287664.dist-info → pulumi_nomad-2.2.0a1707546822.dist-info}/top_level.txt
RENAMED
File without changes
|