From 3f3952c548f6163c5500bf564b5beb6d17deab34 Mon Sep 17 00:00:00 2001 From: ric-evans Date: Fri, 15 Aug 2025 10:36:38 -0500 Subject: [PATCH 1/7] Set Minimum to Python 3.10 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 79794e78f..c3b5124a7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -95,7 +95,7 @@ jobs: - uses: WIPACrepo/wipac-dev-py-setup-action@v5.2 with: mode: PACKAGING - python_min: 3.9 + python_min: '3.10' keywords_comma: "WIPAC, IceCube, Skymap Scanner, Reconstruction, IceTray, EWMS" auto_mypy_option: True From 84387a7d5cb58b346558a62b5bed11e21452e9c2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 15 Aug 2025 15:37:08 +0000 Subject: [PATCH 2/7] update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index abc5668f0..20937de90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ ] dynamic = ["version"] # do not edit — autogenerated by wipac-dev-py-setup-action name = "skymap-scanner" # do not edit — autogenerated by wipac-dev-py-setup-action -requires-python = ">=3.9, <3.14" # do not edit — autogenerated by wipac-dev-py-setup-action +requires-python = ">=3.10, <3.14" # do not edit — autogenerated by wipac-dev-py-setup-action keywords = [ 'WIPAC', 'IceCube', From 926740aeb7d20c876b9f0d84009819efdc262cd3 Mon Sep 17 00:00:00 2001 From: ric-evans Date: Tue, 19 Aug 2025 11:22:41 -0500 Subject: [PATCH 3/7] comment --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c3b5124a7..f8c42d777 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,7 @@ name: ci/cd on: + # only on branch pushes push: branches: - '**' From 1aafe9235a49ff125f165775ea887cccebb30e7e Mon Sep 17 00:00:00 2001 From: ric-evans Date: Tue, 19 Aug 2025 11:32:34 -0500 Subject: [PATCH 4/7] use `WIPACrepo/wipac-dev-workflows/.github/workflows/image-publish.yml@v1.8` --- .github/workflows/publish.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e1f6f2f28..0ab67a0a8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ on: jobs: image-publish: - uses: WIPACrepo/wipac-dev-workflows/.github/workflows/image-publish.yml@v1.6 + uses: WIPACrepo/wipac-dev-workflows/.github/workflows/image-publish.yml@v1.8 permissions: # for GITHUB_TOKEN packages: write with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f8c42d777..9f1ed3b09 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -787,7 +787,7 @@ jobs: test-run-realistic, test-run-single-pixel, ] - uses: WIPACrepo/wipac-dev-workflows/.github/workflows/tag-and-release.yml@v1.5 + uses: WIPACrepo/wipac-dev-workflows/.github/workflows/tag-and-release.yml@v1.8 permissions: # for GITHUB_TOKEN contents: write with: From 55487a4eeedcd54fcd140df6f248962692a68455 Mon Sep 17 00:00:00 2001 From: ric-evans Date: Tue, 19 Aug 2025 12:30:25 -0500 Subject: [PATCH 5/7] misc --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9f1ed3b09..695c667e3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -82,6 +82,7 @@ jobs: python-version: ${{ matrix.py3 }} - uses: WIPACrepo/wipac-dev-mypy-action@v2.0 + ############################################################################# # PACKAGING ############################################################################# From 32b02be1246852f106bd29fac4d2616b247603cd Mon Sep 17 00:00:00 2001 From: ric-evans Date: Tue, 19 Aug 2025 17:10:23 -0500 Subject: [PATCH 6/7] `fetch-depth: 0` --- .github/workflows/tests.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 695c667e3..c02a8dec0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -77,6 +77,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit ('github.ref is dynamic) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: actions/setup-python@v5 with: python-version: ${{ matrix.py3 }} @@ -108,6 +109,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 with: @@ -129,7 +131,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic) - fetch-depth: 0 # git history + tags -> setuptools-scm can get correct version (optional) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 with: @@ -185,6 +187,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 with: @@ -417,6 +420,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 with: @@ -544,6 +548,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 with: @@ -661,6 +666,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 with: @@ -708,6 +714,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic) + fetch-depth: 0 # setuptools-scm needs to access git tags - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 with: From c0a56f7453f385da9b4c9d5b8c0308a6ccd74242 Mon Sep 17 00:00:00 2001 From: ric-evans Date: Wed, 20 Aug 2025 17:34:35 -0500 Subject: [PATCH 7/7] `RUN python --version` --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b2a33578f..17ad28e9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ RUN --mount=type=bind,source=.,target=/src,rw \ pip install /src[rabbitmq] # optional diagnostics +RUN python --version RUN pip freeze RUN ls -la $WORKDIR