diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ae5ec77b..f90c5acd 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -82,8 +82,6 @@ jobs: - name: Install prerequisites run: | pip install --upgrade pip setuptools wheel virtualenv - npm install -g pnpm - pnpm install - name: Set build variables shell: bash @@ -100,9 +98,12 @@ jobs: with: path: | .venv - key: ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('requirements.txt') }} + node_modules + src/web/node_modules + src/typespec-aaz/node_modules + key: ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('requirements.txt') }}-${{ env.NODE_VERSION }}-${{ hashFiles('pnpm-lock.yaml') }} restore-keys: | - ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }} + ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ env.NODE_VERSION }} - name: Setup virtual environment (no cache hit) if: steps.virtualenv-cache.outputs.cache-hit != 'true' @@ -110,6 +111,8 @@ jobs: test -d .venv || virtualenv -p $(which python) --copies --reset-app-data .venv . .venv/bin/activate pip install -e .[dev] + npm install -g pnpm + pnpm install - name: Install editable (cache hit) if: steps.virtualenv-cache.outputs.cache-hit == 'true' diff --git a/HISTORY.rst b/HISTORY.rst index 1825aaf7..dd86be17 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,7 +2,7 @@ Release History =============== -2.11.0 +3.0.0 ++++++ * Add support to TypeSpec specification diff --git a/docs/_config.yml b/docs/_config.yml index 36b55910..10d37e5a 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -36,7 +36,7 @@ github: pypi: https://pypi.org/project/aaz-dev/ # TODO: get version number from github -version: v2.11.0 +version: v3.0.0 # Build settings theme: minima diff --git a/version.py b/version.py index 4d9b53b6..50d07f12 100644 --- a/version.py +++ b/version.py @@ -1,5 +1,5 @@ -_MAJOR, _MINOR, _PATCH, _SUFFIX = ("2", "11", "0", "") +_MAJOR, _MINOR, _PATCH, _SUFFIX = ("3", "0", "0", "") # _PATCH: On main and in a nightly release the patch should be one ahead of the last released build. # _SUFFIX: This is mainly for nightly builds which have the suffix ".dev$DATE". See