Skip to content

Commit

Permalink
remove okapi as default template from pros4
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushuk committed May 17, 2024
1 parent 5892715 commit 3440dfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pros/conductor/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ def new_project(self, path: str, no_default_libs: bool = False, **kwargs) -> Pro
if not no_default_libs:
libraries = self.early_access_libraries if proj.use_early_access and (kwargs.get("version", ">").startswith("4") or kwargs.get("version", ">").startswith(">")) else self.default_libraries

if kwargs['version'][0] == '>' or kwargs['version'][0] == '4':
libraries[proj.target].remove('okapilib')

for library in libraries[proj.target]:
try:
# remove kernel version so that latest template satisfying query is correctly selected
Expand Down

0 comments on commit 3440dfe

Please sign in to comment.