Skip to content

Commit

Permalink
stubber: release v1.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Josverl committed Jul 1, 2024
1 parent e66daf8 commit 2c202f0
Show file tree
Hide file tree
Showing 18 changed files with 953 additions and 2,596 deletions.
2 changes: 1 addition & 1 deletion mip/full.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
]
],
"deps": [],
"version": "1.23.0"
"version": "1.23.1"
}
2 changes: 1 addition & 1 deletion mip/minified.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
]
],
"deps": [],
"version": "1.23.0"
"version": "1.23.1"
}
2 changes: 1 addition & 1 deletion mip/mpy_v5.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
]
],
"deps": [],
"version": "1.23.0"
"version": "1.23.1"
}
2 changes: 1 addition & 1 deletion mip/mpy_v6.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
]
],
"deps": [],
"version": "1.23.0"
"version": "1.23.1"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
]
],
"deps": [],
"version": "1.23.0"
"version": "1.23.1"
}
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repo-path = "./repos"

[tool.poetry]
name = "micropython-stubber"
version = "1.23.0"
version = "1.23.1"
description = "Tooling to create and maintain stubs for MicroPython"
authors = ["Jos Verlinde <jos_verlinde@hotmail.com>"]
license = "MIT"
Expand Down Expand Up @@ -49,7 +49,7 @@ python = ">=3.9,<4.0"
python-minifier = { version = "^2.7.0", python = "<3.12" } # no support for 3.12 yet
requests = "^2.32.3"
mypy = "1.9.0"
mpflash = "0.9.1"
mpflash = "0.9.1.post2"
mpremote = "^1.23.0"
# others
autoflake = ">=1.7,<3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/mpflash/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mpflash"
version = "0.9.1.Post1"
version = "0.9.1.Post2"
description = "Flash and download tool for MicroPython firmwares"
authors = ["Jos Verlinde <jos_verlinde@hotmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/stubber/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""get the version"""

__version__ = "1.23.0"
__version__ = "1.23.1"
8 changes: 4 additions & 4 deletions src/stubber/board/createstubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
except ImportError:
from ucollections import OrderedDict # type: ignore

__version__ = "v1.23.0"
__version__ = "v1.23.1"
ENOENT = 2
_MAX_CLASS_LEVEL = 2 # Max class nesting
LIBS = ["lib", "/lib", "/sd/lib", "/flash/lib", "."]
Expand Down Expand Up @@ -488,7 +488,7 @@ def ensure_folder(path: str):

def _build(s):
# extract build from sys.version or os.uname().version if available
# sys.version: 'MicroPython v1.23.0-preview.6.g3d0b6276f'
# sys.version: 'MicroPython v1.23.1-preview.6.g3d0b6276f'
# sys.implementation.version: 'v1.13-103-gb137d064e'
if not s:
return ""
Expand Down Expand Up @@ -595,10 +595,10 @@ def _info(): # type:() -> dict[str, str]
if (
info["version"]
and info["version"].endswith(".0")
and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.23.0 do not have a micro .0
and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.23.1 do not have a micro .0
and info["version"] <= "1.19.9"
):
# versions from 1.10.0 to 1.23.0 do not have a micro .0
# versions from 1.10.0 to 1.23.1 do not have a micro .0
info["version"] = info["version"][:-2]

# spell-checker: disable
Expand Down
10 changes: 5 additions & 5 deletions src/stubber/board/createstubs_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- cross compilation, using mpy-cross, to avoid the compilation step on the micropython device
This variant was generated from createstubs.py by micropython-stubber v1.23.0
This variant was generated from createstubs.py by micropython-stubber v1.23.1
"""

# Copyright (c) 2019-2024 Jos Verlinde
Expand All @@ -43,7 +43,7 @@
except ImportError:
from ucollections import OrderedDict # type: ignore

__version__ = "v1.23.0"
__version__ = "v1.23.1"
ENOENT = 2
_MAX_CLASS_LEVEL = 2 # Max class nesting
LIBS = ["lib", "/lib", "/sd/lib", "/flash/lib", "."]
Expand Down Expand Up @@ -501,7 +501,7 @@ def ensure_folder(path: str):

def _build(s):
# extract build from sys.version or os.uname().version if available
# sys.version: 'MicroPython v1.23.0-preview.6.g3d0b6276f'
# sys.version: 'MicroPython v1.23.1-preview.6.g3d0b6276f'
# sys.implementation.version: 'v1.13-103-gb137d064e'
if not s:
return ""
Expand Down Expand Up @@ -606,10 +606,10 @@ def _info(): # type:() -> dict[str, str]
if (
info["version"]
and info["version"].endswith(".0")
and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.23.0 do not have a micro .0
and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.23.1 do not have a micro .0
and info["version"] <= "1.19.9"
):
# versions from 1.10.0 to 1.23.0 do not have a micro .0
# versions from 1.10.0 to 1.23.1 do not have a micro .0
info["version"] = info["version"][:-2]

# spell-checker: disable
Expand Down
Loading

0 comments on commit 2c202f0

Please sign in to comment.