Make gitpython dependency optional?
#204's adding the hard dep on gitpython lights up vulnerability scanners for CVE-2022-24439. Here's the upstream issue:
- https://github.com/gitpython-developers/GitPython/issues/1515
As there's no particular timeline for a fix, perhaps the gitpython dependency could be made optional, as with pip for the non-vendored bits of poetry?
Strawman PR up in #297.
Thanks!
CVE-2024-22190 is up. can we reconsider the hard dep, and make it an extra?
Ugh, yes, given the history I think making it an extra makes a lot of sense.
As mentioned before: as of now, conda install conda-lock pulls in 85 transient deps. I'd really like to see a conda-lock-explicit, which:
- pulled in as few dependencies as possible
- exposed only a bare-bones
argparseCLI, if any - read (multiple)
environment.ymlfiles - generated
@EXPLICITfiles- without clever magic comments
- portable to all
conda-compatible clients,constructor, SBOM tools, etc.
Pretty much everything else could be an entry_point-driven plugin.
@bollwyvl, Seems like a bit of a project, but I'd totally support that. I think it'd help a lot with code quality too. I don't really have any time to push it forward right now though.
@mariusvniekerk, what do you think?