Hacker Newsnew | past | comments | ask | show | jobs | submit | brianskarda's commentslogin

Alert on missing data. Keep a continuous stream coming in.


Poetry has path dependencies and the develop flag to enable the same editable functionality

https://python-poetry.org/docs/dependency-specification/#pat...


Thanks, I think that the thing this still lacks compared to `pip install -e` is that the develop dependency is then only visible inside other packages configured with poetry. So it is not useful for example if you want to locally install a package you make to be accessed through cli or any other python script not using poetry.


I'm not sure what you are talking about. It will be installed in the virtual environment just the same. There is no mechanism for it to "only be visible inside other packages configured with poetry".


What I mean is `pip install -e` installs it outside of the virtual environment also.


No, it doesn't.


There is a standardized API for package tools to expose and invoke editable-install functionality [1] which pip install follows, but Poetry didn't implement this API before (I see it does now though as of this past February [2]).

In other words, this a more thorough explanation of my point from [3]:

> Yes, if you ran poetry install you could get editable mode, but that requires every single end user of your package to install poetry and explicitly invoke a poetry install just for your package. And if someone else's package uses a different package builder, now they need to install and invoke that one. And on and on, and you end up with a six-hundred-line install script because of all the one-off "must install this developer's favorite package manager to use their package" stuff.

[1] https://peps.python.org/pep-0660/

[2] https://github.com/python-poetry/poetry/issues/34#issuecomme...

[3] https://www.reddit.com/r/Python/comments/t3p3ub/comment/hyum...



Thanks!


Found a podcast redistributer that has it https://player.fm/series/commons/corruption-2-how-vancouver-...


The wiki entry linked at the bottom of the page has a ton of good information https://wiki.postgresql.org/wiki/New_in_postgres_10


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: