jsii-pacmak 1.95.0 → 1.96.0
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.
- package/lib/targets/python.js +12 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +3 -3
- package/package.json +12 -12
package/lib/targets/python.js
CHANGED
|
@@ -1165,6 +1165,18 @@ class PythonModule {
|
|
|
1165
1165
|
};
|
|
1166
1166
|
// Before we write anything else, we need to write out our module headers, this
|
|
1167
1167
|
// is where we handle stuff like imports, any required initialization, etc.
|
|
1168
|
+
// If multiple packages use the same namespace (in Python, a directory) it
|
|
1169
|
+
// depends on how they are laid out on disk if deep imports of multiple packages
|
|
1170
|
+
// will succeed. `pip` merges all packages into the same directory, and deep
|
|
1171
|
+
// imports work automatically. `bazel` puts packages into different directories,
|
|
1172
|
+
// and `import aws_cdk.subpackage` will fail if `aws_cdk/__init__.py` and
|
|
1173
|
+
// `aws_cdk/subpackage/__init__.py` are not in the same directory.
|
|
1174
|
+
//
|
|
1175
|
+
// We can get around this by using `pkgutil` to extend the search path for the
|
|
1176
|
+
// current module (`__path__`) with all packages found on `sys.path`.
|
|
1177
|
+
code.line('from pkgutil import extend_path');
|
|
1178
|
+
code.line('__path__ = extend_path(__path__, __name__)');
|
|
1179
|
+
code.line();
|
|
1168
1180
|
code.line('import abc');
|
|
1169
1181
|
code.line('import builtins');
|
|
1170
1182
|
code.line('import datetime');
|
package/lib/version.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The short version number for this jsii-pacmak release (e.g: `X.Y.Z`) */
|
|
2
2
|
export declare const VERSION: string;
|
|
3
3
|
/** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
|
|
4
|
-
export declare const VERSION_DESC = "1.
|
|
4
|
+
export declare const VERSION_DESC = "1.96.0 (build 921e240)";
|
|
5
5
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/version.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Generated at 2024-03-
|
|
2
|
+
// Generated at 2024-03-22T17:45:29Z by generate.sh
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.VERSION_DESC = exports.VERSION = void 0;
|
|
5
5
|
/** The short version number for this jsii-pacmak release (e.g: `X.Y.Z`) */
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
7
|
-
exports.VERSION = '1.
|
|
7
|
+
exports.VERSION = '1.96.0';
|
|
8
8
|
/** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
|
|
9
|
-
exports.VERSION_DESC = '1.
|
|
9
|
+
exports.VERSION_DESC = '1.96.0 (build 921e240)';
|
|
10
10
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsii-pacmak",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.96.0",
|
|
4
4
|
"description": "A code generation framework for jsii backend languages",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,33 +37,33 @@
|
|
|
37
37
|
"package": "package-js"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@jsii/check-node": "1.
|
|
41
|
-
"@jsii/spec": "^1.
|
|
40
|
+
"@jsii/check-node": "1.96.0",
|
|
41
|
+
"@jsii/spec": "^1.96.0",
|
|
42
42
|
"clone": "^2.1.2",
|
|
43
|
-
"codemaker": "^1.
|
|
43
|
+
"codemaker": "^1.96.0",
|
|
44
44
|
"commonmark": "^0.30.0",
|
|
45
45
|
"escape-string-regexp": "^4.0.0",
|
|
46
46
|
"fs-extra": "^10.1.0",
|
|
47
|
-
"jsii-reflect": "^1.
|
|
48
|
-
"jsii-rosetta": "^1.
|
|
47
|
+
"jsii-reflect": "^1.96.0",
|
|
48
|
+
"jsii-rosetta": "^1.96.0",
|
|
49
49
|
"semver": "^7.5.4",
|
|
50
50
|
"spdx-license-list": "^6.8.0",
|
|
51
51
|
"xmlbuilder": "^15.1.1",
|
|
52
52
|
"yargs": "^16.2.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@jsii/dotnet-runtime": "^1.
|
|
56
|
-
"@jsii/java-runtime": "^1.
|
|
57
|
-
"@jsii/go-runtime": "^1.
|
|
58
|
-
"@scope/jsii-calc-lib": "^1.
|
|
55
|
+
"@jsii/dotnet-runtime": "^1.96.0",
|
|
56
|
+
"@jsii/java-runtime": "^1.96.0",
|
|
57
|
+
"@jsii/go-runtime": "^1.96.0",
|
|
58
|
+
"@scope/jsii-calc-lib": "^1.96.0",
|
|
59
59
|
"@types/clone": "^2.1.4",
|
|
60
60
|
"@types/diff": "^5.0.8",
|
|
61
61
|
"@types/commonmark": "^0.27.9",
|
|
62
62
|
"@types/fs-extra": "^9.0.13",
|
|
63
63
|
"@types/semver": "^7.5.5",
|
|
64
64
|
"diff": "^5.1.0",
|
|
65
|
-
"jsii": "^1.
|
|
66
|
-
"jsii-build-tools": "^1.
|
|
65
|
+
"jsii": "^1.96.0",
|
|
66
|
+
"jsii-build-tools": "^1.96.0",
|
|
67
67
|
"jsii-calc": "^3.20.120",
|
|
68
68
|
"pyright": "^1.1.332"
|
|
69
69
|
},
|