Skip to content

Commit

Permalink
MAINT: Default to allowing network connectivity
Browse files Browse the repository at this point in the history
Co-authored-by: NickCrews <NickCrews@users.noreply.github.com>
  • Loading branch information
HaoZeke and NickCrews committed Feb 11, 2024
1 parent 43f294f commit b8171a6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions asv/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,15 +920,13 @@ def has_file(file_name):
if cmd is None:
if has_file('pyproject.toml'):
cmd = [
("PIP_NO_BUILD_ISOLATION=false "
"python -mpip wheel --no-deps --no-index "
"-w {build_cache_dir} {build_dir}")
"python -m build",
"python -mpip wheel -w {build_cache_dir} {build_dir}"
]
else:
cmd = [
"python setup.py build",
("PIP_NO_BUILD_ISOLATION=false "
"python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}")
"python -mpip wheel -w {build_cache_dir} {build_dir}"
]

if cmd:
Expand Down

0 comments on commit b8171a6

Please sign in to comment.