PIP安装最小影响力的历史软件包版本
TLDR:我希望能够pip install
包装的哪个版本都需要对我当前安装的版本的最小更改。
长版本:
我支持一个非常复杂的基础容器,用于地球科学研究。 我的用户有时会为环境提供针对其特定用例的新软件包。新软件包的PIP安装
通常会导致一系列升级,这不可避免地会破坏某些内容。 pip install-no-deps
没有帮助 - 它只是意味着新软件包无法正常工作,因为它缺少依赖关系。
我似乎总是最终要做的是手动漫步新软件包的版本历史记录,寻找将对我现有包装造成最小干扰的版本。
有什么方法可以自动找到新软件包的“最小扰动”历史版本?
TLDR: I want the ability to pip install
whichever version of a package will require the minimal changes to my currently installed versions.
Long version:
I support a pretty complex base container for geoscience research.
My users sometimes fork the environment to add a new package for their specific use-case. The pip install
of the new package often causes a cascade of upgrades, which inevitably breaks something. pip install --no-deps
is no help -- it just means the new package won't work, because it's missing dependencies.
What I always seem to end up doing is manually walking the version history of the new package, looking for a version that will cause minimum disturbance to my existing packages.
Is there any way of automatically finding this "minimal-disturbance" historical version of the new package?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论