-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Installing from file:// on Windows with optional dependencies via @ doesn't work #13062
Comments
I've not tried this locally yet, but from my past experience of installing local packages with extras, I'm wondering if this works:
? (or some variation of putting the quotes in the right place) |
Yes that seemed to work locally! |
... well I should clarify, this works:
The
|
Interesting, there are definetly known limitations to pip's ability to parse local requirements, and I think both Windows and This might be a duplicate of an existing issue, I'll have a search around later if no one else knows else chimes in. |
Description
I want to install a
.whl
file locally with an optional dependency on Windows, but it does not seem possible. Works fine on macOS and Linux.Expected behavior
Install
mne-lsl
from a local wheel file with[test]
optional deps.pip version
24.2
Python version
3.12.4
OS
Windows 10
How to Reproduce
Get any
.whl
file locally, but the one I'm using in particular is from this failing Windows GitHub action CI, available on the Summary page.This command works as expected:
and so does this (output suppressed for brevity):
However, prefixing
mne_lsl[test] @
does not:and neither does this, but fails in a different way:
So I don't see a way to install a wheel file locally on Windows with optional dependencies. Even if there is another way, it seems like at least the
file://
version above should work.This one works but does not guarantee that it will install the wheel from the desired file (if it doesn't find one it likes, it will pull from PyPI rather than just failing; and
--no-links
will make it so that deps are not resolved):Output
☝️
Code of Conduct
The text was updated successfully, but these errors were encountered: