Skip to content

Commit bc78f2d

Browse files
authored
feat(docker): Enable python builds for x64 (#6671)
1 parent c20bb62 commit bc78f2d

File tree

4 files changed

+31
-152
lines changed

4 files changed

+31
-152
lines changed

packages/cubejs-backend-native/bin/post-install

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/cubejs-backend-native/js/post-install.ts

Lines changed: 0 additions & 138 deletions
This file was deleted.

packages/cubejs-backend-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"native:build-release": "npm run native:build -- --release",
1818
"native:build-debug-python": "npm run native:build -- --features python",
1919
"native:build-release-python": "npm run native:build -- --release --features python",
20-
"install": "node-pre-gyp install || echo 'Your system is not supported by @cubejs-backend/native, some feature will be unavailable.'",
20+
"postinstall": "post-installer || echo 'Your system is not supported by @cubejs-backend/native, some feature will be unavailable.'",
2121
"upload-binary-cross": "mkdir -p native && cp index.node native/index.node && node-pre-gyp package --target_arch=$PACKAGE_TARGET_ARCH --target_platform=$PACKAGE_TARGET_PLATFORM --target_libc=$PACKAGE_TARGET_LIBC && node-pre-gyp-github publish",
2222
"upload-binary": "mkdir -p native && cp index.node native/index.node && node-pre-gyp package && node-pre-gyp-github publish",
2323
"test:server": "CUBEJS_NATIVE_INTERNAL_DEBUG=true CUBESQL_LOG_LEVEL=trace CUBESQL_PG_PORT=5555 node dist/test/server.js",
@@ -30,7 +30,6 @@
3030
"node": "^14.0.0 || ^16.0.0 || >=17.0.0"
3131
},
3232
"files": [
33-
"bin",
3433
"dist/js"
3534
],
3635
"devDependencies": {
@@ -44,6 +43,7 @@
4443
"typescript": "~4.9.5"
4544
},
4645
"dependencies": {
46+
"@cubejs-infra/post-installer": "^0.0.7",
4747
"@cubejs-backend/cubesql": "^0.33.11",
4848
"@cubejs-backend/shared": "^0.33.21",
4949
"@mapbox/node-pre-gyp": "^1"

yarn.lock

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3881,6 +3881,26 @@
38813881
resolved "https://registry.yarnpkg.com/@cubejs-backend/dotenv/-/dotenv-9.0.2.tgz#c3679091b702f0fd38de120c5a63943fcdc0dcbf"
38823882
integrity sha512-yC1juhXEjM7K97KfXubDm7WGipd4Lpxe+AT8XeTRE9meRULrKlw0wtE2E8AQkGOfTBn+P1SCkePQ/BzIbOh1VA==
38833883

3884+
"@cubejs-backend/[email protected]":
3885+
version "0.33.20"
3886+
resolved "https://registry.yarnpkg.com/@cubejs-backend/shared/-/shared-0.33.20.tgz#3d9fa60041599cca9fe4c04df05daa4b8ab8675f"
3887+
integrity sha512-PANWng9VLr6+55QVHQv23TyDO2o1nwEWMAXd/ujUmD7AyyCHih7UllgoHYZW18vyyQm3qPxR/J7TLOACW2OcLw==
3888+
dependencies:
3889+
"@oclif/color" "^0.1.2"
3890+
bytes "^3.1.0"
3891+
cli-progress "^3.9.0"
3892+
cross-spawn "^7.0.3"
3893+
decompress "^4.2.1"
3894+
env-var "^6.3.0"
3895+
fs-extra "^9.1.0"
3896+
http-proxy-agent "^4.0.1"
3897+
moment-range "^4.0.1"
3898+
moment-timezone "^0.5.33"
3899+
node-fetch "^2.6.1"
3900+
shelljs "^0.8.5"
3901+
throttle-debounce "^3.0.1"
3902+
uuid "^8.3.2"
3903+
38843904
"@cubejs-infra/node-pre-gyp-github@^1.0.3":
38853905
version "1.0.3"
38863906
resolved "https://registry.yarnpkg.com/@cubejs-infra/node-pre-gyp-github/-/node-pre-gyp-github-1.0.3.tgz#5385b5f3ed4225b3e3664db8a4be37883fce0362"
@@ -3890,6 +3910,14 @@
38903910
commander "^7.1.0"
38913911
mime-types "^2.1.28"
38923912

3913+
"@cubejs-infra/post-installer@^0.0.7":
3914+
version "0.0.7"
3915+
resolved "https://registry.yarnpkg.com/@cubejs-infra/post-installer/-/post-installer-0.0.7.tgz#a28d2d03e5b7b69a64020d75194a7078cf911d2d"
3916+
integrity sha512-9P2cY8V0mqH+FvzVM/Z43fJmuKisln4xKjZaoQi1gLygNX0wooWzGcehibqBOkeKVMg31JBRaAQrxltIaa2rYA==
3917+
dependencies:
3918+
"@cubejs-backend/shared" "0.33.20"
3919+
source-map-support "^0.5.21"
3920+
38933921
"@cypress/listr-verbose-renderer@^0.4.1":
38943922
version "0.4.1"
38953923
resolved "https://registry.yarnpkg.com/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#a77492f4b11dcc7c446a34b3e28721afd33c642a"
@@ -26201,7 +26229,7 @@ [email protected]:
2620126229
buffer-from "^1.0.0"
2620226230
source-map "^0.6.0"
2620326231

26204-
source-map-support@^0.5.10, source-map-support@^0.5.19, source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@~0.5.12, source-map-support@~0.5.19, source-map-support@~0.5.20:
26232+
source-map-support@^0.5.10, source-map-support@^0.5.19, source-map-support@^0.5.21, source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@~0.5.12, source-map-support@~0.5.19, source-map-support@~0.5.20:
2620526233
version "0.5.21"
2620626234
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
2620726235
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==

0 commit comments

Comments
 (0)