-
Notifications
You must be signed in to change notification settings - Fork 33
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
Install with pip >=20 always triggers build #137
Comments
@juhhov Thanks for finding this out. We experience the same issue. |
This may actually be caused by this issue: pypa/pip#7629 |
Pip 20.0.2 fixes this. |
I still do experience an error with pip 20.3.4 Collecting cmsis-pack-manager<0.3.0,>=0.2.3 |
downgrading to pip 20.0.2 did not help unfortunately |
@marcel-bluestone It looks like you are using Python 2, which is not supported by cmsis-pack-manager any more. (I'm surprised pip even tried to install that version of setuptools_scm, which also does not support Python 2.) |
This is still happening for me. :(
|
@zacpod Are you using Python 3.10? I was able to reproduce the issue with 3.10. It looks like this was just fixed by pip 21.3. (Literally as I was testing, one second it was building CPM with pip 21.2.3, then at the end of that install it announced that pip 21.3 was available. 😄 ) If the new pip doesn't work for you, as a workaround you can install Rust (see https://rustup.rs/) and it should build. |
@flit Thanks - I am on Pip 21.3, but still wasn't working. |
Ok, thanks for the update! Not sure what the problem is then, we'll have to investigate. I'll create a new issue to track it, since it seems to be a different cause. |
@flit Let me know if I can help. I'm in the process of getting my Nucleo-H743ZI2 up and running with mbed, and so far it's been fairly easy - but pyocd doesn't work yet in Window or Linux. I'm sure it's mostly pebcak as I'm very new to all this, but if I can help test or shoot logs over to you I'll be more than happy to do so. |
@zacpod Really sorry, there are known issues with the H743 in pyocd. 😓 I'm working on a general fix for these kinds of issues by supporting CMSIS Pack debug sequences. You can try out this work on my feature/debug_sequences branch. The main pyocd issue is pyocd/pyOCD#1148. We can also talk on Slack if you like (link to join). |
Fyi, the issue with Python 3.10 is simple: we didn't release wheels for Python 3.10 since it wasn't final. Working on getting a wheel out. 😄 |
@flit Great, I'll check out that branch - thanks! |
@zacpod Fyi, CPM v0.4.0 includes wheels for Python 3.10. (And pyocd requires CPM 0.4.0.) |
Downgrading to < 20 uses wheel.
The text was updated successfully, but these errors were encountered: