Skip to content

Commit

Permalink
prep for release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Dekkers committed Mar 17, 2023
1 parent ed60130 commit 1f219ab
Show file tree
Hide file tree
Showing 21 changed files with 71 additions and 203 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerx.yml
Expand Up @@ -26,4 +26,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: roboquant/jupyter:1.1.1,roboquant/jupyter:latest
tags: roboquant/jupyter:1.2.0,roboquant/jupyter:latest
5 changes: 3 additions & 2 deletions Dockerfile
@@ -1,5 +1,5 @@
# we use the smaller base-notebook image as a starting point
FROM jupyter/base-notebook:2023-02-28
FROM jupyter/base-notebook:2023-03-13

# Install OpenJDK as root
USER root
Expand All @@ -11,7 +11,8 @@ RUN apt-get update && apt-get install -y openjdk-17-jre-headless libgomp1
USER 1000

# Install the Kotlin kernel in the Jupyter environment
RUN pip install kotlin-jupyter-kernel==0.11.0.255
# RUN pip install kotlin-jupyter-kernel==0.11.0.255
RUN pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.11.0.332

# Make additional Kotlin kernels available with different fixed memory profiles
RUN python -m kotlin_kernel add-kernel --name "Small_0.5GB" --jvm-arg=-Xmx512M
Expand Down
2 changes: 1 addition & 1 deletion bin/dockerbuild.sh
Expand Up @@ -11,4 +11,4 @@ rm -f notebooks/*.nbconvert.ipynb
jupyter nbconvert --clear-output --inplace notebooks/*.ipynb

# Build for AMD64 and ARM64 platforms
docker buildx build --platform linux/amd64,linux/arm64/v8 -t roboquant/jupyter:1.1.1 --push .
docker buildx build --platform linux/amd64,linux/arm64/v8 -t roboquant/jupyter:1.2.0 -t roboquant/jupyter:latest --push .
2 changes: 1 addition & 1 deletion bin/dockerbuild_singleplatform.sh
Expand Up @@ -5,4 +5,4 @@ rm -f notebooks/*.nbconvert.ipynb
jupyter nbconvert --clear-output --inplace notebooks/*.ipynb

# Build for local platform only
docker build -t roboquant/jupyter:1.1.1 .
docker build -t roboquant/jupyter:1.2.0 -t roboquant/jupyter:latest .
5 changes: 2 additions & 3 deletions notebooks/alpaca.ipynb
Expand Up @@ -28,8 +28,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"@file:DependsOn(\"org.roboquant:roboquant-extra:1.1.0\")\n",
"%use roboquant(modules=extra)\n",
"\n",
"import org.roboquant.alpaca.*\n",
"Welcome()"
Expand Down Expand Up @@ -303,7 +302,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions notebooks/backtest.ipynb
Expand Up @@ -19,7 +19,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"%use roboquant\n",
"Welcome()"
]
},
Expand Down Expand Up @@ -295,7 +295,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions notebooks/basic.ipynb
Expand Up @@ -16,7 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"%use roboquant\n",
"Welcome()"
]
},
Expand Down Expand Up @@ -125,7 +125,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down
7 changes: 3 additions & 4 deletions notebooks/binance.ipynb
Expand Up @@ -28,10 +28,9 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"%use roboquant(modules=crypto)\n",
"\n",
"// Load the crypto library and import binance package\n",
"@file:DependsOn(\"org.roboquant:roboquant-crypto:1.1.0\")\n",
"// import binance package\n",
"import org.roboquant.binance.*\n",
"\n",
"Welcome()"
Expand Down Expand Up @@ -321,7 +320,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions notebooks/charts.ipynb
Expand Up @@ -31,7 +31,7 @@
},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"%use roboquant\n",
"Welcome()"
]
},
Expand Down Expand Up @@ -526,7 +526,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down
5 changes: 2 additions & 3 deletions notebooks/crypto.ipynb
Expand Up @@ -16,8 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"@file:DependsOn(\"org.roboquant:roboquant-crypto:1.1.0\")\n",
"%use roboquant(modules=crypto)\n",
"\n",
"import org.roboquant.xchange.*\n",
"Welcome()"
Expand Down Expand Up @@ -168,7 +167,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion notebooks/discord.ipynb
Expand Up @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"%use @http://roboquant.org/roboquant-crypto.json(1.1.0)\n",
"%use roboquant(modules=crypto)\n",
"\n",
"// Load the JDA library and import the required classes\n",
"@file:DependsOn(\"net.dv8tion:JDA:5.0.0-beta.4\")\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/empty.ipynb
Expand Up @@ -16,7 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"%use roboquant\n",
"Welcome()"
]
},
Expand Down Expand Up @@ -50,7 +50,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions notebooks/forex.ipynb
Expand Up @@ -16,7 +16,7 @@
},
"outputs": [],
"source": [
"%use roboquant(1.1.0)\n",
"%use roboquant\n",
"Welcome()"
]
},
Expand Down Expand Up @@ -253,7 +253,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-RC"
"version": "1.8.20-Beta"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 1f219ab

Please sign in to comment.