pypa / pip

The Python package installer
https://pip.pypa.io/
MIT License
9.39k stars 2.99k forks source link

VCS support for fossil #12062

Open elouin opened 1 year ago

elouin commented 1 year ago

What's the problem this feature will solve?

I would like to be able to install python packages from fossil repositories, just as one can do with git, bazzar, etc.

Describe the solution you'd like

Same as with the other VCSs, with a URL prefix like fossil+.

Alternative Solutions

No.

Additional context

VCS Support in pip docs: https://pip.pypa.io/en/stable/topics/vcs-support/ Fossil: https://fossil-scm.org/

Code of Conduct

uranusjr commented 1 year ago

Pull requests are welcomed. Please also note that adding support would also imply you are volunteering as a caretaker for that part of the code base.

pfmoore commented 1 year ago

For some context here, I'd point out #2754, #4857 and #5557. The history of additional VCS plugins is not very encouraging here - it's very difficult to justify supporting additional formats, and generic "plugin" support is blocked because pip (deliberately) doesn't have a stable library API.

Also, fossil seems like a very niche VCS - possibly even more so than perforce - so I'd struggle to believe that the demand is there for this feature. We'd be very unlikely to add this unless it benefitted a reasonable number of users - @elouin do you have any stats on how many Python projects store their code in fossil?