4 ms·
I started using Dagster a few days ago, which runs on Python. As far as I can tell, I have to install the packages with pip. Wait - don't forget venv first. Oh
by ryanjshaw 2y ago
I started using Dagster a few days ago, which runs on Python.
As far as I can tell, I have to install the packages with pip. Wait - don't forget venv first. Oh but I'm not supposed to commit the venv, so how is anybody to know what I did? Okay I have to setup a requirements.txt... but now what did I install in the venv? Okay there's a way to dump the venv.. but it's giving me all the dependencies, not the root package I installed?!
Okay there's something called pipenv that seems smart... Oh wait no this Dagster has a pyproject.toml, maybe I should use poetry? Wait poetry doesn't work, it seems like I'm supposed to use setup.py... so what's the point of pyproject.toml.
Okay I put the package into the setup.py. Great now I have to figure out the correct version dependencies by hand?! I don't get it, python is a nightmare.
Compare to .NET:
dotnet add package
On build:
dotnet run # automatically restores packages to a project level scope
- Daishiman 2y agoSetting up a requirements.txt file and venv is _not_ a difficult ask. Seems like a skills issue here frankly.
- ryanjshaw 2y agoYour attitude towards a new developer in the community is disappointing. I just wrote in detail why I found it difficult/unintuitive and you dismissed everything without addressing it.
- Daishiman 2y agoIf that's too difficult then you might as well not be in the profession, because it's one of the simplest things in the world.