replit / upm

⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
https://repl.it
Other
1.06k stars 90 forks source link

chore/Scrutinize pyproject for backends #234

Closed blast-hardcheese closed 8 months ago

blast-hardcheese commented 8 months ago

Why

In cases where users are using pyproject.toml for more than just Poetry, we should permit pip + pyproject to coexist.

What changed

Test plan

HD73VL2GVX:pyprpip dstewart$ cat pyproject.toml
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

HD73VL2GVX:pyprpip dstewart$ upm lock
could not autodetect a language for your project

HD73VL2GVX:pyprpip dstewart$ touch requirements.txt

HD73VL2GVX:pyprpip dstewart$ upm lock
--> pip install -r requirements.txt
...