Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add s3 url support in MVTiles Layer #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

james-willis
Copy link
Collaborator

I'm just creating this pull request to see how the tests run

@james-willis james-willis force-pushed the s3-tile-layer-support branch from 9da5a4a to 62cacb9 Compare March 7, 2024 20:05
@@ -31,7 +32,7 @@ setup-env:
test `command -v python3` || echo Please install python3
test `command -v yarn` || echo Please install yarn
test `command -v python3` && test `command -v yarn`
python3 -m venv env
python3 -m venv $(WORKON_HOME)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was made to allow local installations to put the venv outside of the project directory. This is in order to avoid the following error when running make prepare-jupyter:

ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/Volumes/CaseSensitive/deck.gl/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
    at file:///Volumes/CaseSensitive/deck.gl/bindings/pydeck/env/lib/python3.8/site-packages/jupyterlab/node-version-check.js:6:13
    at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
    at async loadESM (node:internal/process/esm_loader:34:7)
    at async handleMainPromise (node:internal/modules/run_main:106:12)

I do not understand why this occurs only on local and not in the github actions test run.

@james-willis james-willis changed the title [DO NOT MERGE] add s3 url support in MVTiles Layer add s3 url support in MVTiles Layer Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant