Skip to content

Commit d95362b

Browse files
JonZeollaclaude
andcommitted
fix: use inline Python for VERSION var and disable Linux CI temporarily
Remove get_version.py in favor of inline sys.path.insert approach (which should now work since var ordering is fixed). Disable lint/test jobs temporarily to iterate faster on Windows support. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d25b55e commit d95362b

3 files changed

Lines changed: 4 additions & 56 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defaults:
2424
jobs:
2525
lint:
2626
name: Lint
27+
if: false # Temporarily disabled while iterating on Windows support
2728
runs-on: ubuntu-24.04
2829
steps:
2930
- name: Checkout the repository
@@ -39,6 +40,7 @@ jobs:
3940
run: task -v lint
4041
test:
4142
name: Test
43+
if: false # Temporarily disabled while iterating on Windows support
4244
runs-on: ubuntu-24.04
4345
permissions:
4446
contents: write
@@ -243,7 +245,7 @@ jobs:
243245
name: Finalize the pipeline
244246
runs-on: ubuntu-24.04
245247
# Keep this aligned with the above jobs
246-
needs: [lint, test, windows-smoke-test]
248+
needs: [lint, test, windows-smoke-test] # lint and test temporarily disabled
247249
if: always() # Ensure it runs even if "needs" fails or is cancelled
248250
steps:
249251
- name: Check for failed or cancelled jobs

{{cookiecutter.project_name|replace(" ", "")}}/Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ vars:
1616
RUN_SCRIPT: 'uv run --frozen'
1717
SCRIPTS_DIR: 'scripts'
1818
VERSION:
19-
sh: "{{ '{{.RUN_SCRIPT}}' }} {{ '{{.SCRIPTS_DIR}}' }}/get_version.py {{ '{{.PROJECT_SLUG}}' }}"
19+
sh: "{{ '{{.RUN_SCRIPT}}' }} python -c \"import sys; sys.path.insert(0, 'src'); from {{ '{{.PROJECT_SLUG}}' }} import __version__; print(__version__)\""
2020
LOCAL_PLATFORM:
2121
sh: "bash {{ '{{.SCRIPTS_DIR}}' }}/get_platform.sh"
2222
# Use PLATFORM if specified, otherwise use LOCAL_PLATFORM

{{cookiecutter.project_name|replace(" ", "")}}/scripts/get_version.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)