Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static String createPYProjectTomlFile(String namespace, String version) {
requires-python = ">= 3.11"
dependencies = [
"pydantic>=2.10.3",
"rune.runtime>=1.0.0,<1.1.0"
"rune.runtime>=1.0.0,<2.0.0"
]
[tool.setuptools.packages.find]
where = ["src"]""".formatted(namespace, version).stripIndent();
Expand Down
19 changes: 0 additions & 19 deletions test/python_setup/setup_python_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,6 @@ if [ -n "$RUNE_RUNTIME_FILE" ]; then
echo "Error: Local file $RUNE_RUNTIME_FILE not found."
error
fi
else
# --- Remote Repository Logic ---
echo "No local source provided. Pulling from repo..."
RUNTIMEURL="https://api.github.com/repos/finos/rune-python-runtime/releases/latest"

release_data=$(curl -s $RUNTIMEURL)
download_url=$(echo "$release_data" | grep '"browser_download_url":' | head -n 1 | sed -E 's/.*"([^"]+)".*/\1/')

if command -v wget &>/dev/null; then
wget "$download_url"
elif command -v curl &>/dev/null; then
curl -LO "$download_url"
else
echo "Neither wget nor curl is installed."
error
fi

${PYEXE} -m pip install rune_runtime*-py3-*.whl --force-reinstall || error
rm rune_runtime*-py3-*.whl
fi

deactivate