-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make arrow dependencies flip on and off check cargo can build
- Loading branch information
1 parent
7ebbd56
commit 590b612
Showing
7 changed files
with
66 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ arrow-data = { version = "50" } | |
arrow-array = { version = "50" } | ||
|
||
raphtory-arrow = { version = "0.8.1", path = "./raphtory-arrow" } | ||
# raphtory-arrow = { git = "ssh://[email protected]/Pometry/raphtory-arrow.git", branch = "master" } | ||
#flip raphtory-arrow = { git = "ssh://[email protected]/Pometry/raphtory-arrow.git", branch = "master" } | ||
|
||
# Make sure that transitive dependencies stick to arrow 50 | ||
[patch.crates-io] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
import sys | ||
|
||
if len(sys.argv) != 2: | ||
print("Usage: flip_ra.py <file>") | ||
sys.exit(1) | ||
|
||
file = sys.argv[1] | ||
|
||
with open(file, 'r') as f: | ||
for line in f: | ||
if line.startswith("#flip raphtory-arrow"): | ||
line = line.replace("#flip raphtory-arrow", "raphtory-arrow", 1) | ||
elif line.startswith("raphtory-arrow"): | ||
line = line.replace("raphtory-arrow", "#flip raphtory-arrow", 1) | ||
print(line, end='') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters