Comments (4)
This is unsupported until workspaces functionality is implemented early next year.
from hatch.
Ah, I see. I found this workaround for now: pip cache purge; hatch env prune; hatch shell
but it isn't pretty. Makes me redownload all the dependencies.
Another alternative I found is just pip install .
in each package after hatch shell
without declaring a local dependency, but well that makes everything pretty "manual" so to say. Saves me from redownloading all the dependencies tho.
Is there any more workarounds to this problem that I haven't found? If not I'll just wait for the workspaces functionality and purge the cache.
from hatch.
Your workaround is reasonable yes! An optimization would be to purge from the cache only the package in question
from hatch.
Alright, I'll just use this untill workspaces:
pip cache remove *-0.0.1*; hatch env prune; hatch shell
when I make any chances to local dependencies that my package depends on. @ofek thanks for the help, we can close this issue then
from hatch.
Related Issues (20)
- `hatch fmt` evokes error on hatch project HOT 1
- What is analog to `poetry add` and `pdm add` in hatch? HOT 2
- nushell support for `hatch shell` is broken
- Option `value` in field `tool.hatch.envs.default.overrides.platform.windows.path` must be a boolean HOT 1
- Failing to install editable package since version 1.19.0 HOT 7
- Dev mode installations are unsupported when any path rewrite in the `sources` HOT 6
- Local dependency specification with context formatting for NFS path breaks HOT 3
- Install env dependencies with pip HOT 8
- `hatch run` changes directory to the project root HOT 5
- `dependency_hash` should be modifiable after `sync_dependencies` HOT 1
- [maintenance] Drop `skip-existing` from the `pypa/gh-action-pypi-publish` calls in GHA? HOT 3
- New hatch plugin fails to be found locally HOT 3
- hatch shell failed HOT 3
- Feature Request: Traceback Show Locals HOT 10
- How to disable hatch fmt default-settings HOT 6
- Why is "setup.py" mandatory with "env create"? HOT 12
- PyPI requires case-sensitive default username __token__ HOT 6
- Running into OS ArgLength Limit when activating env with `hatch shell` HOT 1
- Allow custom remote/local python management archive locations HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hatch.