-
Notifications
You must be signed in to change notification settings - Fork 6
Job output transform #548
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
base: master
Are you sure you want to change the base?
Job output transform #548
Changes from all commits
07a27e7
3c1ef15
6d23b4c
d85aa30
b02bb01
d7c727f
b3b4f52
dcde84e
d6b8c6c
b3048bb
a23519e
ee9c208
a8d4473
574314c
0304b3a
4cf0e80
81721dd
e66c582
34cd699
fe71427
71f6f96
34ddd87
5fe2af0
9fedeb7
13d3d17
bc14eac
a837ff0
037a8a4
a658579
38314b6
472ac6b
4ee2247
a71187d
e6143b5
6bfb158
7591617
41147b0
3448038
ce4bbb3
9d823e8
969f76b
42c772d
e4c3194
c3b0db7
7544834
a7fb477
bf1118d
3c24142
7c1ff74
e70233e
32bdb81
a7f8216
c017929
2ce3667
f9aee2f
0bc4822
a2e8eee
216b7ea
11e5546
f2a87a8
c8e7564
ddbe770
2f89e63
e8093ec
c79a22b
2852caf
704e217
7ec5e4f
f3d0d9e
e289017
64db348
bc859d3
555ecc1
a2306c1
8b3b3c4
e2b282c
47d35cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,7 @@ DOCKER_REPO ?= pavics/weaver | |
| # guess OS (Linux, Darwin,...) | ||
| OS_NAME := $(shell uname -s 2>/dev/null || echo "unknown") | ||
| CPU_ARCH := $(shell uname -m 2>/dev/null || uname -p 2>/dev/null || echo "unknown") | ||
| SUDO ?= | ||
|
|
||
| # conda | ||
| CONDA_CMD ?= __EMPTY__ | ||
|
|
@@ -229,10 +230,10 @@ conda-env-export: ## export the conda environment | |
| install: install-all ## alias for 'install-all' target | ||
|
|
||
| .PHONY: install-run | ||
| install-run: conda-install install-sys install-pkg install-raw ## install requirements and application to run locally | ||
| install-run: conda-install install-sys install-pkg install-raw install-dev install-transform ## install requirements and application to run locally | ||
|
|
||
| .PHONY: install-all | ||
| install-all: conda-install install-sys install-pkg install-pip install-dev ## install application with all dependencies | ||
| install-all: conda-install install-sys install-pkg install-pip install-dev install-transform ## install application with all dependencies | ||
|
|
||
| .PHONY: install-doc | ||
| install-doc: install-pip ## install documentation dependencies | ||
|
|
@@ -275,7 +276,7 @@ install-raw: ## install without any requirements or dependencies (suppose everyt | |
| install-npm: ## install npm package manager and dependencies if they cannot be found | ||
| @[ -f "$(shell which npm)" ] || ( \ | ||
| echo "Binary package manager npm not found. Attempting to install it."; \ | ||
| apt-get install npm \ | ||
| $(SUDO) apt-get install npm \ | ||
| ) | ||
|
|
||
| .PHONY: install-npm-stylelint | ||
|
|
@@ -292,6 +293,16 @@ install-npm-remarklint: install-npm ## install remark-lint dependency for 'chec | |
| npm install --save-dev \ | ||
| ) | ||
|
|
||
| .PHONY: install-transform | ||
| install-transform: install-cairo-dependencies # install-transform dependencies | ||
|
|
||
| .PHONY: install-cairo-dependencies | ||
| install-cairo-dependencies: ## install required dependencies for Transformer | ||
| @[ -f "$(shell which cairo)" ] || ( \ | ||
| echo "Binary package manager cairo not found. Attempting to install it."; \ | ||
| $(SUDO) apt-get install libpangocairo-1.0-0 \ | ||
|
Comment on lines
+302
to
+303
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might need other libraries here. https://cairosvg.org/documentation/ |
||
| ) | ||
|
|
||
| .PHONY: install-dev-npm | ||
| install-dev-npm: install-npm install-npm-remarklint install-npm-remarklint ## install all npm development dependencies | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| g++ \ | ||
| git \ | ||
| nodejs \ | ||
| libpangocairo-1.0-0 \ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We will need to validate against libraries listed in https://cairosvg.org/documentation/ that are different... |
||
| && pip install --no-cache-dir --upgrade -r requirements-sys.txt \ | ||
| && pip install --no-cache-dir -r requirements.txt \ | ||
| && pip install --no-cache-dir -e ${APP_DIR} \ | ||
|
|
||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since we already have a Maybe another PR could explore the optional activation of transform capabilities... |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ boto3-stubs[s3] | |
| # https://github.com/celery/billiard/issues/313 | ||
| billiard>2; sys_platform != "win32" # avoid issue with use_2to3 | ||
| billiard>3.2,<3.4; sys_platform == "win32" | ||
| cairosvg | ||
| # pymongo>=4 breaks for some kombu combinations corresponding to pinned Celery | ||
| # - https://github.com/crim-ca/weaver/issues/386 | ||
| # - https://github.com/celery/kombu/pull/1536 | ||
|
|
@@ -52,6 +53,7 @@ duration | |
| esgf-compute-api @ git+https://github.com/ESGF/[email protected] | ||
| # invalid 'zarr' requirement in 'geotiff' dependencies required by 'pywps' fail to install | ||
| # (https://github.com/KipCrossing/geotiff/pull/59) | ||
| fpdf | ||
| geotiff>=0.2.8 | ||
| # gunicorn >20 breaks some config.ini loading parameters (paste) | ||
| # use pserve to continue supporting config.ini with paste settings | ||
|
|
@@ -60,6 +62,7 @@ gunicorn>=22 | |
| # even more reduced dependency constraints (https://github.com/vinitkumar/json2xml/pull/195) | ||
| json2xml==4.1.0 | ||
| jsonschema>=3.0.1 | ||
|
|
||
| # FIXME: kombu for pymongo>=4 not yet released as 5.3.0 (only pre-releases available) | ||
| # - https://github.com/crim-ca/weaver/issues/386 | ||
| # - https://github.com/celery/kombu/pull/1536 | ||
|
|
@@ -70,12 +73,15 @@ mako | |
| # force use of later mistune (https://github.com/common-workflow-language/schema_salad/pull/619#issuecomment-1346025607) | ||
| # employed by cwltool -> schema-salad -> mistune | ||
| #mistune>=2.0.3,<2.1 | ||
| multipagetiff | ||
| mypy_boto3_s3 | ||
| numpy>=1.22.2 | ||
| # esgf-compute-api (cwt) needs oauthlib but doesn't add it in their requirements | ||
| oauthlib | ||
| owslib==0.32.1 | ||
| PasteDeploy>=3.1.0; python_version >= "3.12" | ||
| pandas | ||
| Pillow | ||
| pint | ||
| psutil | ||
| # notes: https://github.com/geopython/pygeofilter | ||
|
|
@@ -103,9 +109,11 @@ pystac | |
| pystac_client | ||
| python-box | ||
| python-dateutil | ||
| python-magic | ||
| pytz | ||
| pywps==4.6.0 | ||
| pyyaml>=5.2 | ||
| rasterio | ||
| rdflib>=5 # pyup: ignore | ||
| requests>=2.32.2 | ||
| requests_file | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.