Skip to content

Commit b1fa485

Browse files
authored
Upgrade Hatch to 1.7.0 (#504)
Upgrade hatch: 1.6.3 -> 1.7.0
1 parent 806c1b7 commit b1fa485

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.devcontainer/postCreateCommand.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ asdf global python 3.11.0
1717

1818
# If you do this, you also need to install hatch for each python version
1919
# asdf global python 3.7.15
20-
# pip install hatch==1.6.3
20+
# pip install hatch==1.7.0
2121

2222
# Setup virtualenv, install all dependencies
2323
cd /workspaces/gitlint
24-
pip install hatch==1.6.3
24+
pip install hatch==1.7.0
2525
hatch env create

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: python -m pip install build==0.10.0
3737

3838
- name: Install Hatch
39-
run: python -m pip install hatch==1.6.3
39+
run: python -m pip install hatch==1.7.0
4040

4141
- name: Unit Tests
4242
run: hatch run test:unit-tests
@@ -110,7 +110,7 @@ jobs:
110110
python-version: 3.11
111111

112112
- name: Install Hatch
113-
run: python -m pip install hatch==1.6.3
113+
run: python -m pip install hatch==1.7.0
114114

115115
- name: Docs validation (mkdocs build & linkchecker)
116116
run: hatch run docs:validate

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: 3.11
2828

2929
- name: Install Hatch
30-
run: python -m pip install hatch==1.6.3
30+
run: python -m pip install hatch==1.7.0
3131

3232
- name: Deploy dev docs
3333
run: hatch run docs:mike deploy --push --update-aliases ${{ inputs.docs_version }}

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: python -m pip install build==0.10.0
6161

6262
- name: Install Hatch
63-
run: python -m pip install hatch==1.6.3
63+
run: python -m pip install hatch==1.7.0
6464

6565
- uses: actions/checkout@v3.3.0
6666
with:

.github/workflows/test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
python-version: ${{ matrix.python-version }}
4747

4848
- name: Install Hatch
49-
run: python -m pip install hatch==1.6.3
49+
run: python -m pip install hatch==1.7.0
5050

5151
- name: Install gitlint
5252
# We need to add the --extra-index-url to the pip install command to deal with PYPI_TARGET=https://test.pypi.org/legacy,

docs/contributing/environment_setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cd gitlint
1414
# You can choose whether to install hatch in a virtualenv or globally
1515
# Either way, hatch will use virtualenvs under-the-hood for gitlint
1616
virtualenv .venv && source .venv/bin/activate
17-
pip install hatch==1.6.3
17+
pip install hatch==1.7.0
1818

1919
# Run gitlint
2020
hatch run dev:gitlint --version # (1)
@@ -68,7 +68,7 @@ asdf install python 3.9.15
6868
asdf global python 3.9.15
6969

7070
# IMPORTANT: install hatch for this python version
71-
pip install hatch==1.6.3
71+
pip install hatch==1.7.0
7272
# You also need to prune your hatch environment first before running other commands
7373
hatch env prune
7474

0 commit comments

Comments
 (0)