Skip to content

Commit

Permalink
[SymForce] Update requirements
Browse files Browse the repository at this point in the history
Fixes some dependabot alerts, unblocks py3.11 hopefully?

Topic: sym-reqs
Reviewers: hayk,bradley,nathan
GitOrigin-RevId: 6096927e0fbebb897514e0348503352f9ca430c3
  • Loading branch information
aaron-skydio committed Oct 31, 2022
1 parent 352116f commit 443997a
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 84 deletions.
7 changes: 7 additions & 0 deletions cmake/rerun_if_needed.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,16 @@ def main() -> None:

if need_to_run:
for path in Path(args.cmake_stampdir).iterdir():
# This file is not recreated by cmake on rebuilds and is not a stamp
if path.name.endswith("-source_dirinfo.txt"):
continue

# Newer versions of cmake create empty directories in here at configure time, but
# they're never populated afaict and are not used as stamps
# https://github.com/Kitware/CMake/blob/5fbac2bb24250eeeb64e2fb4868dcf976ee29d64/Modules/ExternalProject/mkdirs.cmake.in#L16-L19
if path.is_dir():
continue

print(f"Removing: {path}")
path.unlink()

Expand Down

0 comments on commit 443997a

Please sign in to comment.