Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ jobs:
with:
python-version: '3.10'
- name: Install dependencies
# Pin virtualenv until hatch is fixed.
# See https://github.com/pypa/hatch/issues/2193
run: |
pip install --no-cache-dir hatch
pip install --no-cache-dir hatch 'virtualenv<21'
- name: Run integration tests
env:
AWS_REGION: us-east-1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pypi-publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ jobs:
python-version: '3.10'

- name: Install dependencies
# Pin virtualenv until hatch is fixed.
# See https://github.com/pypa/hatch/issues/2193
run: |
python -m pip install --upgrade pip
pip install hatch twine
pip install hatch twine 'virtualenv<21'

- name: Validate version
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ jobs:
cache: 'pip'

- name: Install dependencies
# Pin virtualenv until hatch is fixed.
# See https://github.com/pypa/hatch/issues/2193
run: |
pip install --no-cache-dir hatch
pip install --no-cache-dir hatch 'virtualenv<21'

- name: Run lint
id: lint
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ dependencies = [
"tenacity>=8.0.0,<10.0.0",
]

[tool.hatch.env]
requires = [
"virtualenv==20.26.6",
]

[tool.hatch.build.targets.wheel]
packages = ["src/strands_evals"]

Expand Down