pulumi-mysql 3.3.0a1706747774__py3-none-any.whl → 3.3.0a1706812143__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.

Potentially problematic release.


This version of pulumi-mysql might be problematic. Click here for more details.

@@ -8,7 +8,6 @@ import importlib.util
8
8
  import inspect
9
9
  import json
10
10
  import os
11
- import pkg_resources
12
11
  import sys
13
12
  import typing
14
13
 
@@ -19,6 +18,11 @@ from pulumi.runtime.sync_await import _sync_await
19
18
  from semver import VersionInfo as SemverVersion
20
19
  from parver import Version as PEP440Version
21
20
 
21
+ if sys.version_info >= (3, 8):
22
+ from importlib import metadata
23
+ else:
24
+ import importlib_metadata as metadata
25
+
22
26
 
23
27
  def get_env(*args):
24
28
  for v in args:
@@ -72,7 +76,7 @@ def _get_semver_version():
72
76
  # to receive a valid semver string when receiving requests from the language host, so it's our
73
77
  # responsibility as the library to convert our own PEP440 version into a valid semver string.
74
78
 
75
- pep440_version_string = pkg_resources.require(root_package)[0].version
79
+ pep440_version_string = metadata.version(root_package)
76
80
  pep440_version = PEP440Version.parse(pep440_version_string)
77
81
  (major, minor, patch) = pep440_version.release
78
82
  prerelease = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_mysql
3
- Version: 3.3.0a1706747774
3
+ Version: 3.3.0a1706812143
4
4
  Summary: A Pulumi package for creating and managing mysql cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -11,6 +11,7 @@ Description-Content-Type: text/markdown
11
11
  Requires-Dist: parver >=0.2.1
12
12
  Requires-Dist: pulumi <4.0.0,>=3.0.0a1
13
13
  Requires-Dist: semver >=2.8.1
14
+ Requires-Dist: importlib-metadata <7.0.0,>=6.0.0 ; python_version < "3.8"
14
15
 
15
16
  [![Actions Status](https://github.com/pulumi/pulumi-mysql/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-mysql/actions)
16
17
  [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com)
@@ -1,5 +1,5 @@
1
1
  pulumi_mysql/__init__.py,sha256=HpeSw9x132gS_rWPEzx8HVb37OYcEv3KOANsymLLQ2c,1478
2
- pulumi_mysql/_utilities.py,sha256=nNKRJyG0bkCleVzIGnszB5TSQOVUqAHks2baneWhujg,9249
2
+ pulumi_mysql/_utilities.py,sha256=jMbim532bPc1u3rZevJSaM4zw6tbQPf2c85Dkyq_7_g,9327
3
3
  pulumi_mysql/database.py,sha256=mWfzgAbZ0vrbpk7Cl_9ccP8OliG6COnsqOfid7FS6xk,17426
4
4
  pulumi_mysql/grant.py,sha256=OVtlHGcP0cve5lr1Psktr7aWB41Nk4fX5lMtR4JnBJ0,26896
5
5
  pulumi_mysql/provider.py,sha256=yFNevFaLc1S3QB0VOFSa1c-z9mCIP7ZGfXl2GuA0OfY,10003
@@ -11,7 +11,7 @@ pulumi_mysql/user_password.py,sha256=WLBjf44bTcCyx7pqtoJA6uK0WAiLQGqIb8RT7GvIg0k
11
11
  pulumi_mysql/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
12
12
  pulumi_mysql/config/__init__.pyi,sha256=HmdkBXPTE8cgrNVMZHM8dPzQYoURF0SbXvFZCQGXQ6c,553
13
13
  pulumi_mysql/config/vars.py,sha256=M465O9gtM399IIhjqxxgo3M4zvTGVmihUM2ZTh7pmw0,1367
14
- pulumi_mysql-3.3.0a1706747774.dist-info/METADATA,sha256=jUXZSSlTU1STc80ERyxo8yz9gzDeuMcv3IJHUN0HMP8,3203
15
- pulumi_mysql-3.3.0a1706747774.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
16
- pulumi_mysql-3.3.0a1706747774.dist-info/top_level.txt,sha256=YQuDOT73Hwh07Tv1JBugii-IBZGk7_h6aYILJIDAh7w,13
17
- pulumi_mysql-3.3.0a1706747774.dist-info/RECORD,,
14
+ pulumi_mysql-3.3.0a1706812143.dist-info/METADATA,sha256=aQeEs58LZAz0HgGernuHm41O7xLYH0X6ozcbmuTIFg4,3277
15
+ pulumi_mysql-3.3.0a1706812143.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
16
+ pulumi_mysql-3.3.0a1706812143.dist-info/top_level.txt,sha256=YQuDOT73Hwh07Tv1JBugii-IBZGk7_h6aYILJIDAh7w,13
17
+ pulumi_mysql-3.3.0a1706812143.dist-info/RECORD,,