DSPy: The framework for programming—not prompting—language models
Python
ci: install deno in release workflow (#9217)
Omar Khattab0fe8ab74e3f2
diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.ymlindex 507136f98..2bcc18e80 100644--- a/.github/workflows/build_and_release.yml+++ b/.github/workflows/build_and_release.yml@@ -31,6 +31,12 @@ jobs:python-version: "3.11"- name: Install dependenciesrun: python3 -m pip install --upgrade setuptools wheel twine build semver packaging+ - name: Install Deno+ run: |+ curl -fsSL https://deno.land/install.sh | sh+ echo "${HOME}/.deno/bin" >> $GITHUB_PATH+ - name: Verify Deno installation+ run: deno --version- name: Get correct version for TestPyPI releaseid: check_versionrun: |@@ -82,6 +88,12 @@ jobs:python-version: "3.11"- name: Install dependenciesrun: python3 -m pip install --upgrade setuptools wheel twine build+ - name: Install Deno+ run: |+ curl -fsSL https://deno.land/install.sh | sh+ echo "${HOME}/.deno/bin" >> $GITHUB_PATH+ - name: Verify Deno installation+ run: deno --version- name: Update version in pyproject.tomlrun: sed -i '/#replace_package_version_marker/{n;s/version *= *"[^"]*"/version="${{ needs.extract-tag.outputs.version }}"/;}' pyproject.toml- name: Update version in __metadata__.py