Skip to content

Update dependency basedpyright to >=1.28.3 #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2025

This PR contains the following updates:

Package Type Update Change
basedpyright dependencies minor * -> >=1.28.3

Release Notes

DetachHead/basedpyright (basedpyright)

v1.28.3: (pyright 1.1.397)

What's Changed

Full Changelog: DetachHead/basedpyright@v1.28.2...v1.28.3

v1.28.2: (pyright 1.1.397)

What's Changed

Full Changelog: DetachHead/basedpyright@v1.28.1...v1.28.2

v1.28.1: (pyright 1.1.396)

What's Changed

Full Changelog: DetachHead/basedpyright@v1.28.0...v1.28.1

v1.28.0: (pyright 1.1.395)

What's Changed

New Contributors

Full Changelog: DetachHead/basedpyright@v1.27.1...v1.28.0

v1.27.1: (pyright 1.1.394)

What's Changed

jupyter notebook fixes
other changes

Full Changelog: DetachHead/basedpyright@v1.27.0...v1.27.1

v1.27.0: (pyright 1.1.393)

What's Changed

jupyter notebook support

just like pylance, basedpyright now works with jupyter notebooks:

jupyter

but unlike pylance, you can also type check your notebooks with the CLI:

>basedpyright
c:\project\asdf.ipynb - cell 1
  c:\project\asdf.ipynb:1:1:12 - error: Type "Literal['']" is not assignable to declared type "int"
    "Literal['']" is not assignable to "int" (reportAssignmentType)
c:\project\asdf.ipynb - cell 2
  c:\project\asdf.ipynb:2:1:12 - error: Type "int" is not assignable to declared type "str"
    "int" is not assignable to "str" (reportAssignmentType)
2 errors, 0 warnings, 0 notes

implemented in https://github.com/DetachHead/basedpyright/pull/1035 & https://github.com/DetachHead/basedpyright/pull/1046

other changes

Full Changelog: DetachHead/basedpyright@v1.26.0...v1.27.0

v1.25.0: (pyright 1.1.392)

What's Changed

double click to insert inlay hints

basedpyright now supports double clicking inlay hints to insert them into your code. unlike pylance, this also works on Callable types:

implemented in https://github.com/DetachHead/basedpyright/pull/968 & https://github.com/DetachHead/basedpyright/pull/1020

improved default value for pythonPath

configuring your python interpreter in pyright is needlessly confusing. if you aren't using vscode or you aren't running it from inside a virtual environment, you'll likely encounter errors as a result of pyright using the wrong interpreter. to fix this you'd have to use the venv and venvPath settings which are two separate settings for some reason.

in this release, basedpyright now detects the most common location for a virtual environment: a folder named .venv in the project root, which it uses as the default value for pythonPath. this means most users shouldn't have to manually configure basedpyright to use the correct python interpreter anymore. see the docs for more info

implemented by @​cpprust in https://github.com/DetachHead/basedpyright/pull/1006

other changes

New Contributors

Full Changelog: DetachHead/basedpyright@v1.24.0...v1.25.0

v1.24.0: (pyright 1.1.392)

What's Changed

New Contributors

Full Changelog: DetachHead/basedpyright@v1.23.2...v1.24.0

v1.23.2: (pyright 1.1.391)

What's Changed

Full Changelog: DetachHead/basedpyright@v1.23.1...v1.23.2

v1.23.1: (pyright 1.1.391)

What's Changed

Full Changelog: DetachHead/basedpyright@v1.23.0...v1.23.1

v1.23.0: (pyright 1.1.390)

What's Changed

New Contributors

Full Changelog: DetachHead/basedpyright@v1.22.1...v1.23.0

v1.22.1: (pyright 1.1.390)

What's Changed

New Contributors

Full Changelog: DetachHead/basedpyright@v1.22.0...v1.22.1


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/basedpyright-1.x branch from 10ce9aa to 6308f7a Compare April 8, 2025 17:04
@lucascolley lucascolley added the dependencies Pull requests that update a dependency file label Apr 8, 2025
@renovate renovate bot force-pushed the renovate/basedpyright-1.x branch 4 times, most recently from 4b39430 to 5076e6e Compare April 8, 2025 17:32
@renovate renovate bot force-pushed the renovate/basedpyright-1.x branch from 5076e6e to d10e260 Compare April 8, 2025 17:33
@lucascolley lucascolley merged commit 9ae2d5c into main Apr 8, 2025
9 checks passed
@renovate renovate bot deleted the renovate/basedpyright-1.x branch April 8, 2025 17:37
@rgommers
Copy link
Member

rgommers commented Apr 8, 2025

Can the bot do grouped updates? The notification level is a bit extreme right now

@lucascolley
Copy link
Member

Can the bot do grouped updates?

Yes, although grouping all of them together will probably cause something to fail. I'll try to figure out some safe groupings

@lucascolley
Copy link
Member

The notification level is a bit extreme right now

@rgommers @raulcd apologies for the noise, that was extreme. I've worked through renovate's queue of PRs, and the noise should be back down to a normal level from now on.


For anyone interested in details, this is the config I have set up:

  1. By default, bump all Pixi dependencies to >= their latest version. Update the lock file while doing so.
  2. Wait 14 days from a release before sending a PR for that release.
  3. Automerge minor and patch release bumps if tests pass.
  4. Turn off bumps for the main python dependency and any deps pinned with ~= or =.
  5. Once a month, send a PR to bump all GitHub Actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants