BradenM / micropy-cli

Micropython Project Management Tool with VSCode support, Linting, Intellisense, Dependency Management, and more!
https://micropy-cli.readthedocs.io
MIT License
311 stars 25 forks source link

fix(deps): update dependency micropython-stubber to v1.16.3 #579

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
micropython-stubber ==1.16.2 -> ==1.16.3 age adoption passing confidence

Release Notes

Josverl/micropython-stubber (micropython-stubber) ### [`v1.15.1`](https://togithub.com/Josverl/micropython-stubber/compare/v1.15.0...v1.15.1) [Compare Source](https://togithub.com/Josverl/micropython-stubber/compare/v1.15.0...v1.15.1) ### [`v1.15.0`](https://togithub.com/Josverl/micropython-stubber/releases/tag/v1.15.0) [Compare Source](https://togithub.com/Josverl/micropython-stubber/compare/v1.14.1...v1.15.0) **Improvement in frozen stubs** Some of the module stubs are generated based on the python modules. There usually contain little or no docstring information, while the documentation **does** have that infromation The stubber tool has been updated to to merge the information from the documentation into these frozen stubs, providing combined and richer information where the two can be matched. **Enrich both Python and C modules** Some of the modules are built partly in (frozen) Python and partly in C(++). by convention the C part of the module is prefixes with an `_` an example are the `rp2` and the `_rp2` modules where the classes and methos of both have been documented in a single document `rp2/.st` The documentation merge process will now also enrich the `_rp2.pyi` and similar named stub files **Quality Testing.** In order to keep an eye on quality, and find cases where the stubs prove incorrect type-hints,\ I have setup pytest with some custom configuration to track the quality. Due to the diversity of features and functionality across ports, boards and versions this should help spot where stubs are not providing the expected/desired results. ( the plan it to move this approach to the stubs repo) #### What's Changed - chore(deps): bump urllib3 from 2.0.6 to 2.0.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/432](https://togithub.com/Josverl/micropython-stubber/pull/432) - chore(deps-dev): bump myst-parser from 0.18.1 to 1.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/431](https://togithub.com/Josverl/micropython-stubber/pull/431) - Dev/enrich frozen (Sourcery refactored) by [@​sourcery-ai](https://togithub.com/sourcery-ai) in [https://github.com/Josverl/micropython-stubber/pull/439](https://togithub.com/Josverl/micropython-stubber/pull/439) - Fix bug in get-frozen when using version=latest by [@​samskiter](https://togithub.com/samskiter) in [https://github.com/Josverl/micropython-stubber/pull/442](https://togithub.com/Josverl/micropython-stubber/pull/442) - add samskiter as a contributor for code by [@​allcontributors](https://togithub.com/allcontributors) in [https://github.com/Josverl/micropython-stubber/pull/444](https://togithub.com/Josverl/micropython-stubber/pull/444) - Dev/enrich frozen by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/433](https://togithub.com/Josverl/micropython-stubber/pull/433) - chore(deps-dev): bump sphinx-click from 4.4.0 to 5.0.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/436](https://togithub.com/Josverl/micropython-stubber/pull/436) - chore(deps-dev): bump pytest-metadata from 2.0.4 to 3.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/446](https://togithub.com/Josverl/micropython-stubber/pull/446) - chore(deps): bump pyright from 1.1.329 to 1.1.334 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/447](https://togithub.com/Josverl/micropython-stubber/pull/447) - chore(deps-dev): bump pytest-github-actions-annotate-failures from 0.1.8 to 0.2.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/437](https://togithub.com/Josverl/micropython-stubber/pull/437) - chore(deps): bump mypy from 1.2.0 to 1.7.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/450](https://togithub.com/Josverl/micropython-stubber/pull/450) #### New Contributors - [@​samskiter](https://togithub.com/samskiter) made their first contribution in [https://github.com/Josverl/micropython-stubber/pull/442](https://togithub.com/Josverl/micropython-stubber/pull/442) **Full Changelog**: https://github.com/Josverl/micropython-stubber/compare/v1.14.1...v1.15.0 ### [`v1.14.1`](https://togithub.com/Josverl/micropython-stubber/releases/tag/v1.14.1) [Compare Source](https://togithub.com/Josverl/micropython-stubber/compare/v1.14.0...v1.14.1) #### What's Changed - Address codescanning alerts by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/350](https://togithub.com/Josverl/micropython-stubber/pull/350) - new action to publish mip packages by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/351](https://togithub.com/Josverl/micropython-stubber/pull/351) - chore(deps-dev): bump sphinxcontrib-mermaid from 0.7.1 to 0.8.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/354](https://togithub.com/Josverl/micropython-stubber/pull/354) - chore(deps-dev): bump ipykernel from 6.21.2 to 6.21.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/353](https://togithub.com/Josverl/micropython-stubber/pull/353) - chore(deps): bump packaging from 21.3 to 23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/355](https://togithub.com/Josverl/micropython-stubber/pull/355) - chore(deps-dev): bump sourcery-cli from 1.0.5 to 1.0.6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/356](https://togithub.com/Josverl/micropython-stubber/pull/356) - chore(deps-dev): bump sourcery-cli from 1.0.6 to 1.0.9 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/363](https://togithub.com/Josverl/micropython-stubber/pull/363) - chore(deps): bump esptool from 4.5 to 4.5.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/362](https://togithub.com/Josverl/micropython-stubber/pull/362) - chore(deps-dev): bump myst-parser from 0.17.2 to 0.18.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/361](https://togithub.com/Josverl/micropython-stubber/pull/361) - chore(deps): bump black from 22.12.0 to 23.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/360](https://togithub.com/Josverl/micropython-stubber/pull/360) - fix frozen freeze manifest by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/365](https://togithub.com/Josverl/micropython-stubber/pull/365) - chore(deps-dev): bump coverage from 6.5.0 to 7.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/371](https://togithub.com/Josverl/micropython-stubber/pull/371) - chore(deps): bump importlib-metadata from 6.0.0 to 6.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/369](https://togithub.com/Josverl/micropython-stubber/pull/369) - chore(deps-dev): bump pytest from 7.2.1 to 7.2.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/370](https://togithub.com/Josverl/micropython-stubber/pull/370) - feat:add callable interface to the Pin class and the Signal class by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/375](https://togithub.com/Josverl/micropython-stubber/pull/375) - chore(deps-dev): bump mock from 4.0.3 to 5.0.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/376](https://togithub.com/Josverl/micropython-stubber/pull/376) - chore(deps): bump mypy from 0.991 to 1.2.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/385](https://togithub.com/Josverl/micropython-stubber/pull/385) - chore(deps-dev): bump pytest from 7.2.2 to 7.3.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/384](https://togithub.com/Josverl/micropython-stubber/pull/384) - chore(deps-dev): bump sphinx from 4.5.0 to 5.3.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/378](https://togithub.com/Josverl/micropython-stubber/pull/378) - Update Board stubber (Sourcery refactored) by [@​sourcery-ai](https://togithub.com/sourcery-ai) in [https://github.com/Josverl/micropython-stubber/pull/395](https://togithub.com/Josverl/micropython-stubber/pull/395) - chore(deps): bump pyright from 1.1.301 to 1.1.310 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/402](https://togithub.com/Josverl/micropython-stubber/pull/402) - Stdlib-updates by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/425](https://togithub.com/Josverl/micropython-stubber/pull/425) - Testable snippets by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/424](https://togithub.com/Josverl/micropython-stubber/pull/424) - Add workflow to score stubs by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/430](https://togithub.com/Josverl/micropython-stubber/pull/430) - chore(deps): bump loguru from 0.6.0 to 0.7.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Josverl/micropython-stubber/pull/426](https://togithub.com/Josverl/micropython-stubber/pull/426) - Update Board stubber by [@​Josverl](https://togithub.com/Josverl) in [https://github.com/Josverl/micropython-stubber/pull/380](https://togithub.com/Josverl/micropython-stubber/pull/380) **Full Changelog**: https://github.com/Josverl/micropython-stubber/compare/v1.13.2...v1.14.1

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 has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 6 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

The current project's Python requirement (>=3.8,<3.12) is not compatible with some of the required packages Python requirement:
  - micropython-stubber requires Python >=3.9,<3.12, so it will not be satisfied for Python >=3.8,<3.9

Because micropy-cli depends on micropython-stubber (1.16.3) which requires Python >=3.9,<3.12, version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For micropython-stubber, a possible solution would be to set the `python` property to ">=3.9,<3.12"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (671bd37) 92.04% compared to head (47e5dbb) 92.04%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #579 +/- ## ======================================= Coverage 92.04% 92.04% ======================================= Files 52 52 Lines 2817 2817 ======================================= Hits 2593 2593 Misses 224 224 ``` | [Flag](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | Coverage Δ | | |---|---|---| | [os-macOS-12](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `91.97% <ø> (-0.04%)` | :arrow_down: | | [os-ubuntu-latest](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `92.01% <ø> (ø)` | | | [os-windows-latest](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `91.87% <ø> (ø)` | | | [py-3.10](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `92.00% <ø> (+0.17%)` | :arrow_up: | | [py-3.11](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `91.97% <ø> (-0.04%)` | :arrow_down: | | [py-3.8](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `91.97% <ø> (+0.17%)` | :arrow_up: | | [py-3.9](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `91.50% <ø> (-0.50%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/BradenM/micropy-cli/pull/579/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars) | `92.04% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Braden+Mars#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.