diff --git a/.github/workflows/docker-base-image.yml b/.github/workflows/docker-base-image.yml index ba32c65..6ead70c 100644 --- a/.github/workflows/docker-base-image.yml +++ b/.github/workflows/docker-base-image.yml @@ -7,6 +7,7 @@ on: env: IMAGE_NAME: gnzsnz/jupyter-quant + GH_IMAGE_NAME: ghcr.io/quantbelt/jupyter-quant BASE_IMAGE: python PLATFORMS: linux/amd64,linux/arm64 @@ -49,12 +50,12 @@ jobs: with: images: | ${{ env.IMAGE_NAME }} - ghcr.io/${{ env.IMAGE_NAME }} + ${{ env.GH_IMAGE_NAME }} flavor: | latest=true - name: Build Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: push: false load: false @@ -119,12 +120,12 @@ jobs: with: images: | ${{ env.IMAGE_NAME }} - ghcr.io/${{ env.IMAGE_NAME }} + ${{ env.GH_IMAGE_NAME }} flavor: | latest=true - name: Build Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 if: ${{ steps.create_issue.outputs.dup_issue == 'no' }} with: push: false diff --git a/.github/workflows/docker-build-n-test.yml b/.github/workflows/docker-build-n-test.yml index e3eabaf..71502a3 100644 --- a/.github/workflows/docker-build-n-test.yml +++ b/.github/workflows/docker-build-n-test.yml @@ -7,6 +7,7 @@ on: branches: [ "master" ] env: IMAGE_NAME: gnzsnz/jupyter-quant + GH_IMAGE_NAME: ghcr.io/quantbelt/jupyter-quant PLATFORMS: linux/amd64,linux/arm64 jobs: @@ -42,12 +43,12 @@ jobs: with: images: | ${{ env.IMAGE_NAME }} - ghcr.io/${{ env.IMAGE_NAME }} + ${{ env.GH_IMAGE_NAME }} flavor: | latest=true - name: Build Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: push: false load: false diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f1daead..343055f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -6,6 +6,7 @@ on: env: IMAGE_NAME: gnzsnz/jupyter-quant + GH_IMAGE_NAME: ghcr.io/quantbelt/jupyter-quant PLATFORMS: linux/amd64,linux/arm64 jobs: @@ -39,7 +40,7 @@ jobs: with: images: | ${{ env.IMAGE_NAME }} - ghcr.io/${{ env.IMAGE_NAME }} + ${{ env.GH_IMAGE_NAME }} flavor: | latest=true @@ -57,7 +58,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true diff --git a/Dockerfile b/Dockerfile index 016ee0a..871ca8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,8 @@ RUN if [ -n "$APT_PROXY" ]; then \ apt-get clean && rm -rf /var/lib/apt/lists/* && \ # # TA-Lib cd /tmp && \ - curl -LO https://github.com/gnzsnz/jupyter-quant/releases/download/ta-lib-0.4.0-linux/ta-lib-0.4.0-linux_"$(uname -m)".tgz && \ - curl -LO https://github.com/gnzsnz/jupyter-quant/releases/download/ta-lib-0.4.0-linux/ta-lib-0.4.0-linux_"$(uname -m)".tgz.sha256 && \ + curl -LO https://github.com/quantbelt/jupyter-quant/releases/download/ta-lib-0.4.0-linux/ta-lib-0.4.0-linux_"$(uname -m)".tgz && \ + curl -LO https://github.com/quantbelt/jupyter-quant/releases/download/ta-lib-0.4.0-linux/ta-lib-0.4.0-linux_"$(uname -m)".tgz.sha256 && \ sha256sum -c ta-lib-0.4.0-linux_"$(uname -m)".tgz.sha256 && \ cd / && tar xzf /tmp/ta-lib-0.4.0-linux_"$(uname -m)".tgz && \ export PREFIX=/usr/local/ta-lib && \ @@ -112,8 +112,8 @@ WORKDIR ${JUPYTER_SERVER_ROOT} CMD ["jupyter-lab", "--no-browser", "--ip=0.0.0.0"] ENTRYPOINT ["/entrypoint.sh"] -LABEL org.opencontainers.image.source=https://github.com/gnzsnz/jupyter-quant -LABEL org.opencontainers.image.url=https://github.com/gnzsnz/jupyter-quant/pkgs/container/jupyter-quant +LABEL org.opencontainers.image.source=https://github.com/quantbelt/jupyter-quant +LABEL org.opencontainers.image.url=https://github.com/quantbelt/jupyter-quant/pkgs/container/jupyter-quant LABEL org.opencontainers.image.description="A dockerized Jupyter quant research enviroment. " LABEL org.opencontainers.image.licenses="Apache License Version 2.0" LABEL org.opencontainers.image.version=${IMAGE_VERSION} diff --git a/requirements.txt b/requirements.txt index 855b238..f92f1cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ bambi==0.13.0 bcolz-zipline @ git+https://github.com/stefan-jansen/bcolz-zipline.git@main black==24.4.2 bottleneck==1.3.8 -dask[dataframe,distributedd]==2024.5.2 +dask[dataframe,distributed]==2024.6.0 exchange_calendars==4.5.4 formulae==0.5.3 graphviz==0.20.3 @@ -19,9 +19,9 @@ jupyterlab==4.2.2 jupyterlab-lsp==5.1.0 jupyterlab_code_formatter==2.2.1 jupyterlab_widgets==3.0.11 -lightgbm==4.3.0 +lightgbm==4.4.0 matplotlib==3.9.0 -numba==0.59.1 +numba==0.60.0 numexpr==2.10.0 numpy==1.26.4 optuna==3.6.1 @@ -43,7 +43,7 @@ sdepy==1.2.0 seaborn==0.13.2 shap==0.45.1 statsmodels==0.14.2 -TA-Lib==0.4.30 +TA-Lib==0.4.31 tzdata==2024.1 yellowbrick==1.5 yfinance==0.2.40