Skip to content

Commit e620f01

Browse files
authored
🐛 Fix default template selection #318
1 parent c80eb2e commit e620f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pros/conductor/conductor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def new_project(self, path: str, no_default_libs: bool = False, **kwargs) -> Pro
333333
proj.save()
334334

335335
if not no_default_libs:
336-
libraries = self.early_access_libraries if self.use_early_access else self.default_libraries
336+
libraries = self.early_access_libraries if self.use_early_access and (kwargs.get("version", ">").startswith("4") or kwargs.get("version", ">").startswith(">")) else self.default_libraries
337337
for library in libraries[proj.target]:
338338
try:
339339
# remove kernel version so that latest template satisfying query is correctly selected

0 commit comments

Comments
 (0)