Hacker News new | past | comments | ask | show | jobs | submit login

is this separate to pip's "requirements.txt" usually?



Very different. Requirements.txt only handles dependency packages, and only handles on kind of dependency (no dev/release distinction). pyproject.toml does dev/release deps, it has package metadata, it can configure all your lint/test tooling, and it is extensible with plugins.


and they can't be combined, right? like package.json for example


Yes, it's assuming poetry is used, whereby normally the packages needed by the project are defined in pyproject.toml




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

Search: