yarnpkg / berry

📦🐈 Active development trunk for Yarn ⚒
https://yarnpkg.com
BSD 2-Clause "Simplified" License
7.44k stars 1.11k forks source link

[Case Study] Yarn support for Python #2304

Open cs01 opened 5 years ago

cs01 commented 5 years ago

From https://github.com/yarnpkg/yarn/issues/6953

I If you're interested into implementing PHP, Python, Ruby package installers without ever leaving Yarn, please open an issue and we'll help you get started!

I am interested in seeing how I can make yarn and Python work together as mentioned in the v2 issue.

DrSensor commented 5 years ago

(Just want to add another reference)

In Python, there is a project that inspired from yarn called poetry. Maybe yarn can be a second layer of others package/dependency manager 😉

arcanis commented 5 years ago

Nice! I'll ping this thread once we've finished preparing the v2 repository for collaborative work, expected in around two weeks 👍

jleclanche commented 5 years ago

@arcanis paging back since its been a month :)

arcanis commented 5 years ago

Ahah I was hard at work polishing more and more! Hard to know when to stop 😂

I've just opened the Berry repository: https://github.com/yarnpkg/berry - I suggest you open a Case Study issue there and we'll discuss how could Python be implemented! Documentation is still rough but I'm working on that and hopefully can give you good pointers on how to get started!

tomerghelber commented 2 years ago

Hi, is this still in plan? Maybe you can tell what will help with the case study?

arcanis commented 2 years ago

@paul-soporan investigated a little about a year ago, at the time there were a few blockers that required more research (iirc the main one is how Yarn is tightly coupled with Semver in a few places, unlike Pip; so we'd need to make that modular)

tomerghelber commented 2 years ago

Maybe you can reference the blockers here so we can help with them to support pip? I saw that now semver is checked within the plugin-npm, so maybe plugin-pip (?) can skip that?

tomerghelber commented 2 years ago

Something a colleague showed me: https://pdm.fming.dev/ Might be intresting to compare to.