Skip to content

Commit 6cc3fd4

Browse files
authored
Update config.py for version 1.20.0
1 parent 977317a commit 6cc3fd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/stubber/utils/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class StubberConfig(Config):
3939
template_path = key(key_name="template-path", cast=Path, required=False, default=Path("./repos/micropython-stubs/publish/template"))
4040
"a Path to the publication folder that has the template files"
4141

42-
stable_version = key(key_name="stable-version", cast=str, required=False, default="1.19.1")
42+
stable_version = key(key_name="stable-version", cast=str, required=False, default="1.20.0")
4343

4444
"last published stable"
4545

46-
all_versions = key(key_name="all-versions", cast=list, required=False, default=["1.17", "1.18", "1.19", "1.19.1"])
46+
all_versions = key(key_name="all-versions", cast=list, required=False, default=["1.17", "1.18", "1.19", "1.19.1","1.20.0"])
4747
"list of recent versions"
4848

4949
BLOCKED_PORTS = ["minimal", "bare-arm"]
@@ -74,7 +74,7 @@ def post_read_hook(self) -> dict:
7474
all_versions = git.get_tags("micropython/micropython", minver="v1.17")
7575
except Exception as e:
7676
log.warning(f"Could not read micropython versions from git: {e}")
77-
all_versions = ["1.17", "1.18", "1.19", "1.19.1"]
77+
all_versions = ["1.17", "1.18", "1.19", "1.19.1","1.20.0"]
7878
config_updates.update(all_versions=all_versions)
7979
config_updates.update(stable_version=all_versions[-1])
8080
return config_updates

0 commit comments

Comments
 (0)