From 1f6dae3b55f7c41a3c569cce69d49b088ff37ad2 Mon Sep 17 00:00:00 2001 From: Matthew Ballance Date: Sun, 28 Jun 2026 20:25:34 +0000 Subject: [PATCH 1/2] CI: install importlib_metadata backport for ivpm on Python 3.9 The newly-released ivpm imports the importlib_metadata backport on Python < 3.10 but does not declare it as a dependency, so `ivpm update` crashed at startup. Install it explicitly alongside ivpm. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f3f94e..70d97d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,10 @@ jobs: python-version: '3.9' - name: Configure Python run: | - # Install dependencies required to load ivpm.yaml file - python3 -m pip install ivpm + # Install dependencies required to load ivpm.yaml file. + # importlib_metadata is needed because ivpm imports the backport on + # Python < 3.10 but does not declare it as a dependency. + python3 -m pip install ivpm importlib_metadata export PYTHONPATH=./src python3 -m ivpm update ./packages/python/bin/python3 -m pip install setuptools --upgrade From eb88378911ee31c776086f0e1ef9e15ce3dcaa98 Mon Sep 17 00:00:00 2001 From: Matthew Ballance Date: Sun, 28 Jun 2026 20:26:41 +0000 Subject: [PATCH 2/2] setup.py: drop unused setuptools_scm setup_requires The version is set explicitly (hardcoded + BUILD_NUM); setuptools_scm was never used (no use_scm_version). Its newest release pulls a vcs_versioning package the egg-fetch fails to resolve, breaking the build. Remove it. Co-Authored-By: Claude Opus 4.8 (1M context) --- setup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.py b/setup.py index 8626efa..f8b9b88 100644 --- a/setup.py +++ b/setup.py @@ -26,9 +26,6 @@ 'astbuilder = astbuilder.__main__:main' ] }, - setup_requires=[ - 'setuptools_scm' - ], install_requires=[ 'pyyaml', 'toposort'