Add Python version 3.12 (#74)
* Add Python version 3.12 Very useful for uv based jobs and tasks * Read Python version from .python-version file in Makefile Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Update Makefile --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1
.python-version
Normal file
1
.python-version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.12
|
||||||
9
Makefile
9
Makefile
@@ -1,8 +1,10 @@
|
|||||||
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
||||||
|
|
||||||
|
PYTHON_VERSION := $(shell cat .python-version)
|
||||||
|
|
||||||
venv:
|
venv:
|
||||||
@curl -LsSf https://astral.sh/uv/install.sh | sh
|
@curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
@uv venv --python 3.12
|
@uv venv --python $(PYTHON_VERSION)
|
||||||
|
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
@@ -22,7 +24,8 @@ jupyter: install ## Install and start jupyter Lab
|
|||||||
@uv run pip install jupyterlab
|
@uv run pip install jupyterlab
|
||||||
@uv run jupyter lab
|
@uv run jupyter lab
|
||||||
|
|
||||||
|
|
||||||
.PHONY: marimo
|
.PHONY: marimo
|
||||||
marimo: install ## Install and start marimo
|
marimo: install ## Install and start marimo
|
||||||
@uv run pip install marimo
|
@uv run pip install marimo
|
||||||
@uv run marimo edit --no-token --headless .
|
@uv run marimo edit --no-token --headless .
|
||||||
|
|||||||
Reference in New Issue
Block a user