mirror of
https://github.com/katanemo/plano.git
synced 2026-05-01 03:46:35 +02:00
Update all GitHub Actions workflows and Dockerfiles to use Python 3.14 as the default version. Remove the upper bound on requires-python in model_choice_with_test_harness to allow 3.14+. The CLI's requires-python stays at >=3.10 for broad compatibility.
38 lines
679 B
YAML
38 lines
679 B
YAML
name: Publish planoai to PyPI
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
publish-pypi:
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ./cli
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.14"
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v4
|
|
with:
|
|
enable-cache: true
|
|
|
|
- name: Build package
|
|
run: uv build
|
|
|
|
- name: Publish to PyPI
|
|
env:
|
|
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
run: uv publish
|