fix(deps): update dependency micropython-stubber to v1.26.3 #628
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.23.2→==1.26.3Release Notes
Josverl/micropython-stubber (micropython-stubber)
v1.26.3Compare Source
v1.26.2What's Changed
Documentation
Dependencies:
Full Changelog: Josverl/micropython-stubber@v1.25.1...v1.26.2
v1.25.1What's Changed
Full Changelog: Josverl/micropython-stubber@v1.24.4...v1.25.1
v1.24.1Compare Source
v1.24.0: Revise stub merge architecture to provide detailed parameter type hints and return typesThe main change is a refactor of the docstub merging process, which now makes use of a set of reference stubs with parameter type information that is missing from , or only avaialble in the description, the micropython documentation.
The new build-chain follows the following steps and logic:
The subber tool is used to :
switch to a specific version of the micropython library documentation.
stubber clonestubber switch stableGenerate docstubs from the micropython library documentation.
This part has recieved significant updates , and makes use of new additions to the code-refactoring and merging logic that has received significant updates.
tghis allows to enrich the doc-stubs with return and parameter type information from the reference stubs.
The result has the docstrings based on the micropython documentation, and the parameter and return types are based on the reference-stubs.
This also allows for methods or classes that are not mentioned or missing in the MicroPython documentation to be included in the docstubs.
stubber docstubs --enrichOptionally: update
micropython-stdlib-stubswith the new docstubs.Updating the docstubs also takes advantage of the new functionality to enrich the target with the parameter and return type information from the reference-stubs.
(also see the stdlib section below)
python build.py(in stubs-repo: publish\micropython-stdlib-stubs)Generate stubs for the frozen modules for the specific version of micropython. [can be done out-of-sequence]
This retrieves the frozen modules for all ports and boards from the micropython repository, and generates the stubs for them.
These stubs are enriched with the parameter and return type information from the doc-stubs.
stubber frozen --version {version}Create firmware-stubs for a specific MCU and firmware. [can be done out-of-sequence]
The firmware shouild be flashed to the MCU, and it should be conencted via USB or serial.
stubber MCUThe MCU-stubs are merged with the docstubs.
stubber merge --port {port} --board {board} --version {version}During this step the distribution packages are built by combining files from the merged-stubs, the frozen-stubs , and a few micropython-core files.
Only a few chages have been done to this part of the build-chain.
All package information is now stored in a SQLite database for change detection.
stubber build --port {port} --board {board} --version {version}Publish the distribution packages to pypi , and update the database with the relevant hashes for change detection.
Only a few chages have been done to this part of the build-chain.
All package information is now stored in a SQLite database for change detection.
stubber publish --port {port} --board {board} --version {version}Docstub Merges & Enrichment
Refactors docstub merging, adds type details, and streamlines overload handling.
@ overload(series of commits 1–5)Add functionality to merge source and target containing
@ overloaddecorators, where the the source-stub can have multiple decoroators.With the additional type information in the reference-stubs, the docstubs can now be enriched with the parameter and return type information from the reference-stubs. For this more TypeAliases and TypeVars have been added to the reference-stubs, that also need to be taken into account during the merge.
The merge process has been updated to handle these cases.
What's Changed
Full Changelog: Josverl/micropython-stubber@v1.23.1...v1.24.0
v1.23.1Compare Source
v1.20.0Compare Source
v1.17.2Compare Source
v1.17.0Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.