Skip to content

Commit c7bd08b

Browse files
authored
ci: install Hatch via pip; pin virtualenv (#2884)
* Revert "ci: use hatch action (#2878)" This reverts commit 4d3295b. * ci: install Hatch via pip; pin virtualenv
1 parent 0aa34fc commit c7bd08b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+48
-51
lines changed

.github/workflows/CI_check_api_ref.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
8282
- name: Install Hatch
8383
if: steps.changed.outputs.integrations != '[]'
84-
uses: pypa/hatch@install
84+
run: pip install hatch "virtualenv<21.0.0"
8585

8686
- name: Generate API references
8787
if: steps.changed.outputs.integrations != '[]'

.github/workflows/CI_docusaurus_sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python-version: "3.10"
3333

3434
- name: Install Hatch
35-
uses: pypa/hatch@install
35+
run: pip install hatch "virtualenv<21.0.0"
3636

3737
- name: Get project folder
3838
id: pathfinder

.github/workflows/CI_pypi_release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,8 @@ jobs:
3434
with:
3535
python-version: "3.12"
3636

37-
- name: Install Hatch
38-
uses: pypa/hatch@install
39-
4037
- name: Install dependencies
41-
run: pip install requests
38+
run: pip install hatch "virtualenv<21.0.0" requests
4239

4340
- name: Validate version number
4441
run: python .github/utils/validate_version.py --tag ${{ github.ref_name }}

.github/workflows/aimlapi.yml

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

5050
- name: Install Hatch
51-
uses: pypa/hatch@install
51+
run: pip install hatch "virtualenv<21.0.0"
5252

5353
- name: Lint
5454
if: matrix.python-version == '3.10' && runner.os == 'Linux'

.github/workflows/amazon_bedrock.yml

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

5959
- name: Install Hatch
60-
uses: pypa/hatch@install
60+
run: pip install hatch "virtualenv<21.0.0"
6161

6262
- name: Lint
6363
if: matrix.python-version == '3.10' && runner.os == 'Linux'

.github/workflows/amazon_sagemaker.yml

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

4949
- name: Install Hatch
50-
uses: pypa/hatch@install
50+
run: pip install hatch "virtualenv<21.0.0"
5151

5252
- name: Lint
5353
if: matrix.python-version == '3.10' && runner.os == 'Linux'

.github/workflows/anthropic.yml

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

5050
- name: Install Hatch
51-
uses: pypa/hatch@install
51+
run: pip install hatch "virtualenv<21.0.0"
5252

5353
- name: Lint
5454
if: matrix.python-version == '3.10' && runner.os == 'Linux'

.github/workflows/astra.yml

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

5050
- name: Install Hatch
51-
uses: pypa/hatch@install
51+
run: pip install hatch "virtualenv<21.0.0"
5252

5353
- name: Lint
5454
if: matrix.python-version == '3.10' && runner.os == 'Linux'

.github/workflows/azure_ai_search.yml

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

4747
- name: Install Hatch
48-
uses: pypa/hatch@install
48+
run: pip install hatch "virtualenv<21.0.0"
4949

5050
- name: Lint
5151
if: matrix.python-version == '3.10' && runner.os == 'Linux'

.github/workflows/azure_doc_intelligence.yml

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

4747
- name: Install Hatch
48-
uses: pypa/hatch@install
48+
run: pip install hatch "virtualenv<21.0.0"
4949

5050
- name: Lint
5151
if: matrix.python-version == '3.10' && runner.os == 'Linux'

0 commit comments

Comments
 (0)