pepperize.cdk-github 0.0.707__tar.gz → 0.0.908__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.
Files changed (18) hide show
  1. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/LICENSE +1 -1
  2. {pepperize.cdk-github-0.0.707/src/pepperize.cdk_github.egg-info → pepperize_cdk_github-0.0.908}/PKG-INFO +6 -1
  3. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/pyproject.toml +1 -1
  4. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/setup.py +4 -4
  5. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908/src/pepperize.cdk_github.egg-info}/PKG-INFO +6 -1
  6. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/src/pepperize.cdk_github.egg-info/SOURCES.txt +1 -1
  7. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/src/pepperize.cdk_github.egg-info/requires.txt +2 -2
  8. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/src/pepperize_cdk_github/__init__.py +20 -2
  9. pepperize_cdk_github-0.0.908/src/pepperize_cdk_github/_jsii/__init__.py +42 -0
  10. pepperize_cdk_github-0.0.908/src/pepperize_cdk_github/_jsii/cdk-github@0.0.908.jsii.tgz +0 -0
  11. pepperize.cdk-github-0.0.707/src/pepperize_cdk_github/_jsii/__init__.py +0 -24
  12. pepperize.cdk-github-0.0.707/src/pepperize_cdk_github/_jsii/cdk-github@0.0.707.jsii.tgz +0 -0
  13. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/MANIFEST.in +0 -0
  14. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/README.md +0 -0
  15. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/setup.cfg +0 -0
  16. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/src/pepperize.cdk_github.egg-info/dependency_links.txt +0 -0
  17. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/src/pepperize.cdk_github.egg-info/top_level.txt +0 -0
  18. {pepperize.cdk-github-0.0.707 → pepperize_cdk_github-0.0.908}/src/pepperize_cdk_github/py.typed +0 -0
@@ -1,4 +1,4 @@
1
- Copyright (c) 2023 Pepperize UG (haftungsbeschränkt)
1
+ Copyright (c) 2024 Pepperize UG (haftungsbeschränkt)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pepperize.cdk-github
3
- Version: 0.0.707
3
+ Version: 0.0.908
4
4
  Summary: Manage GitHub resources like repositories, teams, members, integrations and workflows with the AWS CDK as Custom Resources in CloudFormation with [cdk-github](https://github.com/pepperize/cdk-github).
5
5
  Home-page: https://github.com/pepperize/cdk-github.git
6
6
  Author: Patrick Florek<patrick.florek@gmail.com>
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
20
20
  Requires-Python: ~=3.8
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.48.0
24
+ Requires-Dist: constructs<11.0.0,>=10.0.5
25
+ Requires-Dist: jsii<2.0.0,>=1.106.0
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
23
28
 
24
29
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
25
30
  [![GitHub](https://img.shields.io/github/license/pepperize/cdk-github?style=flat-square)](https://github.com/pepperize/cdk-github/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=67.3.2", "wheel~=0.42"]
2
+ requires = ["setuptools~=70.0.0", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "pepperize.cdk-github",
8
- "version": "0.0.707",
8
+ "version": "0.0.908",
9
9
  "description": "Manage GitHub resources like repositories, teams, members, integrations and workflows with the AWS CDK as Custom Resources in CloudFormation with [cdk-github](https://github.com/pepperize/cdk-github).",
10
10
  "license": "MIT",
11
11
  "url": "https://github.com/pepperize/cdk-github.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "pepperize_cdk_github._jsii": [
29
- "cdk-github@0.0.707.jsii.tgz"
29
+ "cdk-github@0.0.908.jsii.tgz"
30
30
  ],
31
31
  "pepperize_cdk_github": [
32
32
  "py.typed"
@@ -36,9 +36,9 @@ kwargs = json.loads(
36
36
  "install_requires": [
37
37
  "aws-cdk-lib>=2.48.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
- "jsii>=1.93.0, <2.0.0",
39
+ "jsii>=1.106.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
- "typeguard~=2.13.3"
41
+ "typeguard>=2.13.3,<4.3.0"
42
42
  ],
43
43
  "classifiers": [
44
44
  "Intended Audience :: Developers",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pepperize.cdk-github
3
- Version: 0.0.707
3
+ Version: 0.0.908
4
4
  Summary: Manage GitHub resources like repositories, teams, members, integrations and workflows with the AWS CDK as Custom Resources in CloudFormation with [cdk-github](https://github.com/pepperize/cdk-github).
5
5
  Home-page: https://github.com/pepperize/cdk-github.git
6
6
  Author: Patrick Florek<patrick.florek@gmail.com>
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
20
20
  Requires-Python: ~=3.8
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.48.0
24
+ Requires-Dist: constructs<11.0.0,>=10.0.5
25
+ Requires-Dist: jsii<2.0.0,>=1.106.0
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
23
28
 
24
29
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
25
30
  [![GitHub](https://img.shields.io/github/license/pepperize/cdk-github?style=flat-square)](https://github.com/pepperize/cdk-github/blob/main/LICENSE)
@@ -11,4 +11,4 @@ src/pepperize.cdk_github.egg-info/top_level.txt
11
11
  src/pepperize_cdk_github/__init__.py
12
12
  src/pepperize_cdk_github/py.typed
13
13
  src/pepperize_cdk_github/_jsii/__init__.py
14
- src/pepperize_cdk_github/_jsii/cdk-github@0.0.707.jsii.tgz
14
+ src/pepperize_cdk_github/_jsii/cdk-github@0.0.908.jsii.tgz
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.48.0
2
2
  constructs<11.0.0,>=10.0.5
3
- jsii<2.0.0,>=1.93.0
3
+ jsii<2.0.0,>=1.106.0
4
4
  publication>=0.0.3
5
- typeguard~=2.13.3
5
+ typeguard<4.3.0,>=2.13.3
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
3
3
  [![GitHub](https://img.shields.io/github/license/pepperize/cdk-github?style=flat-square)](https://github.com/pepperize/cdk-github/blob/main/LICENSE)
4
4
  [![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-github?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-github)
@@ -326,6 +326,9 @@ new GithubActionsSecretRepository(scope, "GithubRepo", {
326
326
 
327
327
  See [GitHub Developer Guide](https://docs.github.com/de/rest/actions/secrets#create-or-update-a-repository-secret), [API Reference](https://github.com/pepperize/cdk-github/blob/main/API.md)
328
328
  '''
329
+ from pkgutil import extend_path
330
+ __path__ = extend_path(__path__, __name__)
331
+
329
332
  import abc
330
333
  import builtins
331
334
  import datetime
@@ -336,7 +339,22 @@ import jsii
336
339
  import publication
337
340
  import typing_extensions
338
341
 
339
- from typeguard import check_type
342
+ import typeguard
343
+ from importlib.metadata import version as _metadata_package_version
344
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
345
+
346
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
347
+ if TYPEGUARD_MAJOR_VERSION <= 2:
348
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
349
+ else:
350
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
351
+ pass
352
+ else:
353
+ if TYPEGUARD_MAJOR_VERSION == 3:
354
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
355
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
356
+ else:
357
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
340
358
 
341
359
  from ._jsii import *
342
360
 
@@ -0,0 +1,42 @@
1
+ from pkgutil import extend_path
2
+ __path__ = extend_path(__path__, __name__)
3
+
4
+ import abc
5
+ import builtins
6
+ import datetime
7
+ import enum
8
+ import typing
9
+
10
+ import jsii
11
+ import publication
12
+ import typing_extensions
13
+
14
+ import typeguard
15
+ from importlib.metadata import version as _metadata_package_version
16
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17
+
18
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19
+ if TYPEGUARD_MAJOR_VERSION <= 2:
20
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21
+ else:
22
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23
+ pass
24
+ else:
25
+ if TYPEGUARD_MAJOR_VERSION == 3:
26
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28
+ else:
29
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
30
+
31
+ import aws_cdk._jsii
32
+ import constructs._jsii
33
+
34
+ __jsii_assembly__ = jsii.JSIIAssembly.load(
35
+ "@pepperize/cdk-github", "0.0.908", __name__[0:-6], "cdk-github@0.0.908.jsii.tgz"
36
+ )
37
+
38
+ __all__ = [
39
+ "__jsii_assembly__",
40
+ ]
41
+
42
+ publication.publish()
@@ -1,24 +0,0 @@
1
- import abc
2
- import builtins
3
- import datetime
4
- import enum
5
- import typing
6
-
7
- import jsii
8
- import publication
9
- import typing_extensions
10
-
11
- from typeguard import check_type
12
-
13
- import aws_cdk._jsii
14
- import constructs._jsii
15
-
16
- __jsii_assembly__ = jsii.JSIIAssembly.load(
17
- "@pepperize/cdk-github", "0.0.707", __name__[0:-6], "cdk-github@0.0.707.jsii.tgz"
18
- )
19
-
20
- __all__ = [
21
- "__jsii_assembly__",
22
- ]
23
-
24
- publication.publish()