-
Notifications
You must be signed in to change notification settings - Fork 484
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
[Dependencies] Bump Pylink #1503
Conversation
Worth noting is that JLink itself will erase the affected pages, at least on the devices I've tried it on, so an erase will happen. Just not on a chip level :) |
Do you think we should bump the minimum pylink version too? |
I don't think it's necessary to bump the minimum version because there's no new feature that's needed, and keeping as wide a dependency range as possible minimizes possible dependency resolution conflicts. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@avi-jois Do you mind if I rebase your branch so this can be merged? Thanks. |
I don’t mind, feel free to rebase and merge it.
…On Wed, Mar 1, 2023 at 2:47 PM Chris Reed ***@***.***> wrote:
@avi-jois <https://github.com/avi-jois> Do you mind if I rebase your
branch so this can be merged? Thanks.
—
Reply to this email directly, view it on GitHub
<#1503 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4KHEMK62YM43VUNKK47FDWZ7GX5ANCNFSM6AAAAAAVDVA62Y>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Pylink 1.0 has the following breaking change: @denravonska: Changed .flash() to no longer erase chip on flash; users will now need to ensure they call .erase() prior to flashing a non-erased region of flash. However, pyOCD doesn't use JLinks's flash routines so there is no call in the codebase to `.flash()` from `pylink`. This makes it safe to allow `pylink` packages with a major version of 1.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Fyi, I bumped the minimum pylink-square version to 1.0. As long as that package follows semantic versioning, this should ensure API compatibility until version 2.0. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
* [Dependencies] Bump Pylink Pylink 1.0 has the following breaking change: @denravonska: Changed .flash() to no longer erase chip on flash; users will now need to ensure they call .erase() prior to flashing a non-erased region of flash. However, pyOCD doesn't use JLinks's flash routines so there is no call in the codebase to `.flash()` from `pylink`. This makes it safe to allow `pylink` packages with a major version of 1. * dependencies: require pylink-square>=1.0,<2.0 --------- Co-authored-by: Chris Reed <[email protected]>
Pylink 1.0 has the following breaking change:
@denravonska: Changed .flash() to no longer erase chip on flash; users will now need to ensure they call .erase() prior to flashing a non-erased region of flash.
However, pyOCD doesn't use JLinks's flash routines so there is no call in the codebase to
.flash()
frompylink
. This makes it safe to allowpylink
packages with a major version of 1.