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
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- [ ] I have read the `CONTRIBUTING.rst` document.
- [ ] I have updated the docstrings accordingly.
- [ ] I have updated `CHANGES.md`.
- [ ] I have updated `CHANGELOG.md`.
- [ ] I have added tests which give complete coverage for my changes.
- [ ] I have provided a usage example for my changes.
- [ ] All new and existing tests pass.
6 changes: 3 additions & 3 deletions .github/workflows/conda-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Micromamba
uses: mamba-org/setup-micromamba@v2
uses: mamba-org/setup-micromamba@v3
with:
environment-file: conda/environment.yaml
environment-file: conda/environment.yml
environment-name: uw-2.17
generate-run-shell: true
cache-environment: true
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/issue-metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Monthly issue metrics - Underworld
on:
workflow_dispatch:
schedule:
- cron: "30 22 25 * *" # 22:30 on the 25th every month

permissions:
contents: read

jobs:
build:
name: issue metrics
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: read
steps:
- name: Get dates for last month
shell: bash
run: |
# Calculate the first day of the previous month
first_day=$(date -d "last month" +%Y-%m-01)

# Calculate the last day of the previous month
last_day=$(date -d "$first_day +1 month -1 day" +%Y-%m-%d)

#Set an environment variable with the date range
echo "$first_day..$last_day"
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"

- name: Run issue-metrics tool
uses: github-community-projects/issue-metrics@v4
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SEARCH_QUERY: 'repo:underworldcode/underworld2 repo:underworldcode/underworld3 is:issue created:${{ env.last_month }} -reason:"not planned"'

- name: Create issue
uses: peter-evans/create-issue-from-file@v5
with:
title: Monthly issue metrics report
token: ${{ secrets.GH_TOKEN }}
content-filepath: ./issue_metrics.md
assignees: julesghub
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Micromamba
uses: mamba-org/setup-micromamba@v2
with:
environment-file: conda/environment.yaml
environment-file: conda/environment.yml
environment-name: uw-2.17
generate-run-shell: true
cache-environment: true
Expand Down Expand Up @@ -53,29 +53,3 @@ jobs:
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

## Currently need access from jmansour to this testpypi project
# publish-to-testpypi:
# name: Publish Python 🐍 distribution 📦 to TestPyPI
# needs:
# - build
# runs-on: ubuntu-latest

# environment:
# name: testpypi
# url: https://test.pypi.org/p/testuw

# permissions:
# id-token: write # IMPORTANT: mandatory for trusted publishing

# steps:
# - name: Download all the dists
# uses: actions/download-artifact@v4
# with:
# name: python-package-distributions
# path: dist/
# - name: Publish distribution 📦 to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
9 changes: 9 additions & 0 deletions CHANGES.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
CHANGES: Underworld2
=======================
Release 2.17.1 [2026-02-01]
---------------------------
Changes:
* Support python 3.9-3.12.

Fixes:
* Swarm checkpoint fix - `proc_offset` is no longer a h5py attribute. #749


Release 2.17 [2025-07-08]
-------------------------
New:
Expand Down
2 changes: 1 addition & 1 deletion Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Remember to take note of the Jupyterlab token from the start up messages. It wil

.. code:: bash
http://127.0.0.1:8888/lab?token=e79006f4e441cf781440a9ea0cad8cf2a0dfd3b9c236a0ca
http://127.0.0.1:20000/lab?token=e79006f4e441cf781440a9ea0cad8cf2a0dfd3b9c236a0ca
The value must be copy-pasted into the jupyterlab launch page the first time.

Expand Down
17 changes: 0 additions & 17 deletions actions/globalprotect/.github/workflows/main.yml

This file was deleted.

14 changes: 0 additions & 14 deletions actions/globalprotect/Dockerfile

This file was deleted.

Loading