pulumi-kafka 3.8.2__py3-none-any.whl → 3.8.3__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-kafka might be problematic. Click here for more details.

@@ -89,12 +89,16 @@ def _get_semver_version():
89
89
  elif pep440_version.pre_tag == 'rc':
90
90
  prerelease = f"rc.{pep440_version.pre}"
91
91
  elif pep440_version.dev is not None:
92
+ # PEP440 has explicit support for dev builds, while semver encodes them as "prerelease" versions. To bridge
93
+ # between the two, we convert our dev build version into a prerelease tag. This matches what all of our other
94
+ # packages do when constructing their own semver string.
92
95
  prerelease = f"dev.{pep440_version.dev}"
96
+ elif pep440_version.local is not None:
97
+ # PEP440 only allows a small set of prerelease tags, so when converting an arbitrary prerelease,
98
+ # PypiVersion in /pkg/codegen/python/utilities.go converts it to a local version. Therefore, we need to
99
+ # do the reverse conversion here and set the local version as the prerelease tag.
100
+ prerelease = pep440_version.local
93
101
 
94
- # The only significant difference between PEP440 and semver as it pertains to us is that PEP440 has explicit support
95
- # for dev builds, while semver encodes them as "prerelease" versions. In order to bridge between the two, we convert
96
- # our dev build version into a prerelease tag. This matches what all of our other packages do when constructing
97
- # their own semver string.
98
102
  return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease)
99
103
 
100
104
 
pulumi_kafka/get_topic.py CHANGED
@@ -102,13 +102,13 @@ def get_topic(name: Optional[str] = None,
102
102
  partitions=pulumi.get(__ret__, 'partitions'),
103
103
  replication_factor=pulumi.get(__ret__, 'replication_factor'))
104
104
  def get_topic_output(name: Optional[pulumi.Input[str]] = None,
105
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicResult]:
105
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTopicResult]:
106
106
  """
107
107
  Use this data source to access information about an existing resource.
108
108
  """
109
109
  __args__ = dict()
110
110
  __args__['name'] = name
111
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
111
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
112
112
  __ret__ = pulumi.runtime.invoke_output('kafka:index:getTopic', __args__, opts=opts, typ=GetTopicResult)
113
113
  return __ret__.apply(lambda __response__: GetTopicResult(
114
114
  config=pulumi.get(__response__, 'config'),
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "kafka",
4
- "version": "3.8.2"
4
+ "version": "3.8.3"
5
5
  }
@@ -1,15 +1,15 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pulumi_kafka
3
- Version: 3.8.2
3
+ Version: 3.8.3
4
4
  Summary: A Pulumi package for creating and managing Kafka.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-kafka
8
8
  Keywords: pulumi,kafka
9
- Requires-Python: >=3.8
9
+ Requires-Python: >=3.9
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: parver>=0.2.1
12
- Requires-Dist: pulumi<4.0.0,>=3.136.0
12
+ Requires-Dist: pulumi<4.0.0,>=3.142.0
13
13
  Requires-Dist: semver>=2.8.1
14
14
  Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
15
15
 
@@ -1,9 +1,9 @@
1
1
  pulumi_kafka/__init__.py,sha256=2fx2CAxtcoc4r8E5SweqzjqQVL5mEUcGPtuJ5SLqWWw,1372
2
- pulumi_kafka/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
2
+ pulumi_kafka/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
3
3
  pulumi_kafka/acl.py,sha256=klUDB6ZYLSIQQJ7sct7G6rEBqhBSaHRW7WmlrLGH8_g,23291
4
- pulumi_kafka/get_topic.py,sha256=gHlmhiij-uzeBuIhA7s0wEeAQrpwGGWW62EGQV8st20,4355
4
+ pulumi_kafka/get_topic.py,sha256=FvXO65SbBE6xpOMmTzkp9n420c-6fsrOKZuSVpzJ77o,4396
5
5
  pulumi_kafka/provider.py,sha256=U6PgXSx4qe4x6DHY26_maTRyCzXYVOrSmG_PApSDl2A,34153
6
- pulumi_kafka/pulumi-plugin.json,sha256=yg_jvcwN4RsRbmwbDwP8B6yZ4CTnDVmnYI9LBXwWqEM,64
6
+ pulumi_kafka/pulumi-plugin.json,sha256=bsXMIWEOQf2jG5p4fgDPEj5HYYChQRa9tokiEfN03KQ,64
7
7
  pulumi_kafka/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  pulumi_kafka/quota.py,sha256=8hH-J-bL8a9nvLWgGN1ghjtC5Pjj3acQZQSJ8ZPmqO4,10608
9
9
  pulumi_kafka/topic.py,sha256=SsT7pBToxrPfHPcykWXF14ouun_hN8In-Rdqfok4oHE,12721
@@ -11,7 +11,7 @@ pulumi_kafka/user_scram_credential.py,sha256=AF-ZxKp6UoKLErZeIXZy-SzCIk3uLV4YeI5
11
11
  pulumi_kafka/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
12
12
  pulumi_kafka/config/__init__.pyi,sha256=9Ot5LeNbjmLMI7K4-lyY1Ga2ucl0kJ0pRJrmNrK6LgI,2564
13
13
  pulumi_kafka/config/vars.py,sha256=RCk693NGnygdIDyiyhKlXIy5fmq_XhWzgT3Lsu2-UEQ,5237
14
- pulumi_kafka-3.8.2.dist-info/METADATA,sha256=gkYnApVpB2_5D0jlyNEDN1XOKKSMYFnKLXl9KojwbTw,3482
15
- pulumi_kafka-3.8.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
16
- pulumi_kafka-3.8.2.dist-info/top_level.txt,sha256=HCtqWX3HYffzpLjMDhzwthd93lraTV-_-aUkZQZOveU,13
17
- pulumi_kafka-3.8.2.dist-info/RECORD,,
14
+ pulumi_kafka-3.8.3.dist-info/METADATA,sha256=Wf4ICCnW5AriCCFcHASgg2IOSvUHna4b764-CFzfjcI,3482
15
+ pulumi_kafka-3.8.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
16
+ pulumi_kafka-3.8.3.dist-info/top_level.txt,sha256=HCtqWX3HYffzpLjMDhzwthd93lraTV-_-aUkZQZOveU,13
17
+ pulumi_kafka-3.8.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5