Mickkc

joined 7 months ago
[–] Mickkc@lmy.ndu.wtf 22 points 2 months ago (1 children)
[–] Mickkc@lmy.ndu.wtf 2 points 2 months ago* (last edited 2 months ago) (1 children)

Ohhh now I get it. It's basically like package.json and package-lock.json in node, but for Python.

It's a bit strange to me that this isn't the default in Python...

[–] Mickkc@lmy.ndu.wtf 2 points 2 months ago (3 children)

I don't quite understand that. I did some research, and I read that the requirements.txt is somehow generated from requirements.in. But what is the difference between the two files then? Could you give me an example of what a requirements.in file would look like?

Thank you!

[–] Mickkc@lmy.ndu.wtf 4 points 2 months ago* (last edited 2 months ago)

That looks really convenient, especially when installing and switching Python versions. I'll keep that in mind. Thanks!

[–] Mickkc@lmy.ndu.wtf 14 points 2 months ago (22 children)

What should I use instead? pyproject.toml?

I am pretty new to Python so I'm not very familiar with the ecosystem yet...

 

I was just editing my Dockerfile and suddenly IntelliJ showed me the message "No" without any context.