diff --git a/pip_version b/pip_version index 3c8ff8c3..678fd88a 100644 --- a/pip_version +++ b/pip_version @@ -1 +1 @@ -3.5.1 \ No newline at end of file +3.5.3 \ No newline at end of file diff --git a/pros/conductor/conductor.py b/pros/conductor/conductor.py index 4b195283..6c1f4e2c 100644 --- a/pros/conductor/conductor.py +++ b/pros/conductor/conductor.py @@ -107,7 +107,7 @@ def __init__(self, file=None): needs_saving = True if self.default_libraries is None: self.default_libraries = { - 'v5': ['okapilib'], + 'v5': ['okapilib', 'liblvgl'], 'cortex': [] } needs_saving = True @@ -383,10 +383,14 @@ 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') - + version = kwargs['version'][0] for library in libraries[proj.target]: + if version == '>' or version == '4': + if library == "okapilib": + continue + if version != '>' and version != '4': + if library == "liblvgl": + continue try: # remove kernel version so that latest template satisfying query is correctly selected if 'version' in kwargs: diff --git a/requirements.txt b/requirements.txt index c84eddb0..beb4f05c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ click>=8 -rich-click +rich-click==1.7.4 pyserial cachetools requests diff --git a/version b/version index 3c8ff8c3..678fd88a 100644 --- a/version +++ b/version @@ -1 +1 @@ -3.5.1 \ No newline at end of file +3.5.3 \ No newline at end of file diff --git a/win_version b/win_version index eebed617..1067a669 100644 --- a/win_version +++ b/win_version @@ -1 +1 @@ -3.5.1.0 \ No newline at end of file +3.5.3.0 \ No newline at end of file