This is just a question out of sheer curiosity (If this is not the right place to ask, then please tell me where I can find people to discuss this)
Does yarn support other languages, or is yarn for JavaScript only?
My use case: I am searching a dependency management for Python.
No, it's not. But, currently we only have support for npm. I implemented a POC of PHP's packagist repository. But, we need to make some changes in the core so that we can easily support any other registry.
Would be great. Up to now every language invents the packaging again and again. This has positive aspects, too: You can learn from each other. Yarn looks good. I don't know anything like this in the python ecosystem.
Technically you can publish anything to npm, there's nothing JS-specific in it at all. However, often languages need their own custom logic. For example, Composer (for PHP) builds an autoload map whenever packages are installed. Currently we don't have any language-specific logic, but there's nothing stopping someone from adding it. @torifat mentioned that he has a proof-of-concept for loading packages from Packagist, for example.
I don't know anything like this in the python ecosystem.
What about PyPI?
What about PyPI?
PyPI and pip work. But some fundamental things are not solved yet. I think they never ever will solve.
The problem is not code. I think the problem is wording. I think this glossary is not suited for new comers: https://packaging.python.org/glossary/ If it is not suited for new comers, then it is not suited for my brain.
I was told to "stop it" at the python-disutils mailing list.
Yeah, I think Yarn and npm can serve other languages.
I started this issue to track the progress of other languages support https://github.com/yarnpkg/yarn/issues/3644.
A bit off topic, but if someone comes here looking for a python package manager that is yarn-like, I found sdispater/poetry
@Whoaa512 I came here to look for an alternative to poetry, because it has many bugs, slower than yarn, it is not predictable/new comer friendly, and there have been breaking minor releases.
Most helpful comment
A bit off topic, but if someone comes here looking for a python package manager that is yarn-like, I found sdispater/poetry