Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions .github/workflows/repo2docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,21 @@ jobs:
repo2docker:
name: Run repo2docker
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
with:
conda-remove-defaults: "true"
conda-solver: libmamba
miniforge-version: latest

- name: Install dependencies
shell: bash -l {0}
run: conda install jupyter-repo2docker
persist-credentials: false

- name: Show installed package
shell: bash -l {0}
run: conda list
- name: Set up Python and install repo2docker
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: "3.13"
pip-install: jupyter-repo2docker
Copy link
Member Author

Choose a reason for hiding this comment

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

Switched from conda install jupyter-repo2docker to pip install jupyter-repo2docker to pull in newer https://pypi.org/project/jupyter-repo2docker/2025.12.0 version since conda-forge is a little behind (xref conda-forge/jupyter-repo2docker-feedstock#16).


- name: Run repo2docker
shell: bash -l {0}
run: jupyter-repo2docker --no-run --ref ${{ github.event.pull_request.head.sha }} https://github.com/${{ github.event.pull_request.head.repo.full_name }}
9 changes: 6 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ dependencies:
- python=3.13
- gmt=6.6.0
- pygmt=0.17.0
- jupyterlab=4.3.6
- jupyter-offlinenotebook=0.3.1
- jupyterlab=4.4.9
- jupyter-offlinenotebook=0.3.2
# Optional dependencies
- geopandas=1.1.1
- geopandas=1.1.2
# Temporary pin libsqlite to workaround `undefined symbol: sqlite3_total_changes64`
# https://github.com/GenericMappingTools/try-gmt/pull/63
- libsqlite=3.50.4