Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/prechecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# Check that __slots__ are used properly
- name: slotscheck
run: |
./bin/spack python -m slotscheck --exclude-modules="spack.test|spack.vendor|spack.new_installer_windows" lib/spack/spack/
./bin/spack python -m slotscheck --exclude-modules="spack.test|spack.vendor|spack.new_installer_windows|spack.util.lock_windows" lib/spack/spack/

# Run style checks on the files that have been changed
style:
Expand Down
1 change: 0 additions & 1 deletion etc/spack/defaults/windows/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
config:
locks: false
build_stage::
- '$user_cache_path/stage'
stage_name: '{name}-{version}-{hash:7}'
Expand Down
1 change: 1 addition & 0 deletions lib/spack/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"_spack_root/lib/spack/spack/test",
"_spack_root/lib/spack/spack/package.py",
"_spack_root/lib/spack/spack/new_installer_windows.py",
"_spack_root/lib/spack/spack/util/lock_windows.py",
]
)
sphinx_apidoc(
Expand Down
7 changes: 5 additions & 2 deletions lib/spack/spack/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,11 @@ def ignore_stage_files():

Used to track which leftover files in the stage have been seen.
"""
# to start with, ignore the .lock file at the stage root.
return set([".lock", spack.stage._source_path_subdir, "build_cache"])
# to start with, ignore the .lock file at the stage root, and its Windows-only gate lock
# sidecar (see spack.util.lock_windows.WindowsBackend._upgrade_to_write). Neither is ever
# explicitly unlinked for stage locks; they're only ever removed along with the whole stage
# directory.
return set([".lock", ".lock.gate_lock", spack.stage._source_path_subdir, "build_cache"])


def remove_whatever_it_is(path):
Expand Down
Loading
Loading