Unable to use local wheel as dependency
See original GitHub issueI am trying to use a local wheel as a dependency (for the default environment) on hatch 1.1.1 on Windows 10. I’ve tried this:
"file:./package.whl"
and this
"file:///c:/Users/myuser/full/path/to/package.whl"
I end up getting an error like ValueError: Dependency #2 of field `project.dependencies` is invalid: Parse error at "':///c:/U'": Expected string_end
.
Is this not supported yet in the latest release, or am I misunderstanding the syntax? If this is an error on my part, can you update the documentation to be more clear?
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Wheel installation fails when local path dependency introduced
When wheels are being built under PEP-517, the source is expected to be moved into an isolated environment at build time. This means...
Read more >python Pip install using wheel file not working - Stack Overflow
This will download requests and all its dependencies to the wheelhouse directory. Now move the directory to the target machine, there issue
Read more >User Guide - pip documentation v22.3.1
To build wheels for your requirements and all their dependencies to a local directory: Unix/macOS. python -m pip install wheel python -m pip...
Read more >Libraries fail with dependency exception - Azure Databricks
Assume that wheel A has a dependency on wheel B. ... it will fallback to PyPI and use it locally to satisfy the...
Read more >Libraries fail with dependency exception - Databricks
Assume that wheel A has a dependency on wheel B. ... it will fallback to PyPI and use it locally to satisfy the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed docs & feature! https://hatch.pypa.io/latest/config/dependency/#local
Will do, thanks!
Yes https://hatch.pypa.io/latest/environment/#dependencies
Yes