From 871d63dc07874c91ff43f4365a8fd85c094bd9ea Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 27 Oct 2025 14:47:08 -0700 Subject: [PATCH 1/4] fix: pin Python to 3.12 As of Ubuntu 24.04 LTS, the default version of Python is 3.12. Whereas, Ubuntu 22.04 LTS used Python 3.10, which is reaching End-of-Life next week. Apparently, I already had created a .python-version file locally, but it was gitignored without my knowledge. This should helps us control upgrades to Python version while some dependencies, namely `pygit2`, need extra time to add support for the new Python versions. It also helps avoid disruption for users that are not aware of our use of a Python venv. --- .gitignore | 3 --- .python-version | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 .python-version diff --git a/.gitignore b/.gitignore index e4f88937..a5764fbe 100644 --- a/.gitignore +++ b/.gitignore @@ -91,9 +91,6 @@ target/ profile_default/ ipython_config.py -# pyenv -.python-version - # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..e4fba218 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12 From e2dddd12f1c02b7a9e30b4e53e46cc7a6b576a77 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 27 Oct 2025 14:52:34 -0700 Subject: [PATCH 2/4] update paths that trigger self-test CI --- .github/workflows/self-test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index bbcf5944..3d7a09ec 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -5,21 +5,24 @@ on: branches: [main] paths: - 'action.yml' - - 'requirements.txt' + - '.python-version' + - 'uv.lock' - 'docs/examples/demo/**' - '.github/workflows/self-test.yml' pull_request: branches: main paths: - 'action.yml' - - 'requirements.txt' + - '.python-version' + - 'uv.lock' - 'docs/examples/demo/**' - '.github/workflows/self-test.yml' pull_request_target: branches: main paths: - 'action.yml' - - 'requirements.txt' + - '.python-version' + - 'uv.lock' - 'docs/examples/demo/**' - '.github/workflows/self-test.yml' From 7a0a2e5dd29f8e9bb5ffa4d0e8ba54815a3362cd Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 27 Oct 2025 14:58:55 -0700 Subject: [PATCH 3/4] bump uv version --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 87944651..141269a5 100644 --- a/action.yml +++ b/action.yml @@ -337,7 +337,7 @@ runs: shell: nu {0} env: UV_NO_MODIFY_PATH: 1 - UV_VERSION: '0.8.11' + UV_VERSION: '0.9.5' run: |- let action_path = $env.GITHUB_ACTION_PATH | path expand $env.UV_INSTALL_DIR = $action_path | path join 'bin' From c811413b9451e95a91f998eeb3f775b9a53707de Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 27 Oct 2025 15:11:40 -0700 Subject: [PATCH 4/4] remove duplicate/faulty CI trigger --- .github/workflows/self-test.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index 3d7a09ec..e6514e60 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -10,21 +10,21 @@ on: - 'docs/examples/demo/**' - '.github/workflows/self-test.yml' pull_request: - branches: main - paths: - - 'action.yml' - - '.python-version' - - 'uv.lock' - - 'docs/examples/demo/**' - - '.github/workflows/self-test.yml' - pull_request_target: - branches: main + branches: [main] paths: - 'action.yml' - '.python-version' - 'uv.lock' - 'docs/examples/demo/**' - '.github/workflows/self-test.yml' + # pull_request_target: + # branches: [main] + # paths: + # - 'action.yml' + # - '.python-version' + # - 'uv.lock' + # - 'docs/examples/demo/**' + # - '.github/workflows/self-test.yml' jobs: test: