diff options
author | Joris Roovers <joris.roovers@gmail.com> | 2023-06-08 11:23:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 11:23:41 +0200 |
commit | b1fa485e468eb3248f89fa6510555d7d509738a9 (patch) | |
tree | cdda758f8b56d4c0d1d6fd9acc1e5509738978b8 | |
parent | 806c1b71122575f89215aef7b9f394a9076f76e8 (diff) |
Upgrade Hatch to 1.7.0 (#504)
Upgrade hatch: 1.6.3 -> 1.7.0
-rwxr-xr-x | .devcontainer/postCreateCommand.sh | 4 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
-rw-r--r-- | .github/workflows/publish-docs.yml | 2 | ||||
-rw-r--r-- | .github/workflows/publish-release.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test-release.yml | 2 | ||||
-rw-r--r-- | docs/contributing/environment_setup.md | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh index 464ea5f..e03842b 100755 --- a/.devcontainer/postCreateCommand.sh +++ b/.devcontainer/postCreateCommand.sh @@ -17,9 +17,9 @@ asdf global python 3.11.0 # If you do this, you also need to install hatch for each python version # asdf global python 3.7.15 -# pip install hatch==1.6.3 +# pip install hatch==1.7.0 # Setup virtualenv, install all dependencies cd /workspaces/gitlint -pip install hatch==1.6.3 +pip install hatch==1.7.0 hatch env create
\ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 112c7d5..31afc6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: run: python -m pip install build==0.10.0 - name: Install Hatch - run: python -m pip install hatch==1.6.3 + run: python -m pip install hatch==1.7.0 - name: Unit Tests run: hatch run test:unit-tests @@ -110,7 +110,7 @@ jobs: python-version: 3.11 - name: Install Hatch - run: python -m pip install hatch==1.6.3 + run: python -m pip install hatch==1.7.0 - name: Docs validation (mkdocs build & linkchecker) run: hatch run docs:validate diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 2db7c3c..4a7e086 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -27,7 +27,7 @@ jobs: python-version: 3.11 - name: Install Hatch - run: python -m pip install hatch==1.6.3 + run: python -m pip install hatch==1.7.0 - name: Deploy dev docs run: hatch run docs:mike deploy --push --update-aliases ${{ inputs.docs_version }}
\ No newline at end of file diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index fabf61d..60961f0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -60,7 +60,7 @@ jobs: run: python -m pip install build==0.10.0 - name: Install Hatch - run: python -m pip install hatch==1.6.3 + run: python -m pip install hatch==1.7.0 - uses: actions/checkout@v3.3.0 with: diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index 6690c89..3068487 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -46,7 +46,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: python -m pip install hatch==1.6.3 + run: python -m pip install hatch==1.7.0 - name: Install gitlint # We need to add the --extra-index-url to the pip install command to deal with PYPI_TARGET=https://test.pypi.org/legacy, diff --git a/docs/contributing/environment_setup.md b/docs/contributing/environment_setup.md index c454d66..eb9b6ee 100644 --- a/docs/contributing/environment_setup.md +++ b/docs/contributing/environment_setup.md @@ -14,7 +14,7 @@ cd gitlint # You can choose whether to install hatch in a virtualenv or globally # Either way, hatch will use virtualenvs under-the-hood for gitlint virtualenv .venv && source .venv/bin/activate -pip install hatch==1.6.3 +pip install hatch==1.7.0 # Run gitlint hatch run dev:gitlint --version # (1) @@ -68,7 +68,7 @@ asdf install python 3.9.15 asdf global python 3.9.15 # IMPORTANT: install hatch for this python version -pip install hatch==1.6.3 +pip install hatch==1.7.0 # You also need to prune your hatch environment first before running other commands hatch env prune |