Skip to content

Commit

Permalink
Upgrade virtualenv dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Apr 29, 2024
1 parent 3f71b5e commit 81ec088
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/history/hatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Upgrade Ruff to 0.4.1
- Upgrade PyApp to 0.19.0 for binary builds
- Bump the minimum supported version of Hatchling to 1.24.2
- Bump the minimum supported version of virtualenv to 20.26.1

***Fixed:***

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies = [
"tomlkit>=0.11.1",
"userpath~=1.7",
"uv>=0.1.35",
"virtualenv<20.26.0",
"virtualenv>=20.26.1",
"zstandard<1",
]
dynamic = ["version"]
Expand Down
5 changes: 4 additions & 1 deletion tests/python/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@

@pytest.mark.requires_internet
@pytest.mark.parametrize('name', ORDERED_DISTRIBUTIONS)
def test_installation(temp_dir, platform, name):
def test_installation(temp_dir, platform, current_arch, name):
if platform.name == 'macos' and current_arch == 'arm64' and name == '3.7':
pytest.skip('No macOS 3.7 distribution for ARM')

# Ensure the source and any parent directories get created
manager = PythonManager(temp_dir / 'foo' / 'bar')
dist = manager.install(name)
Expand Down

0 comments on commit 81ec088

Please sign in to comment.