bazel-contrib / bazel-contrib/rules_python

Enable `pip.dep` to be used for concrete dependency management

未关闭
#3,916 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted type: pip
主要语言
Starlark
星标
688
派生
721
平均合并
15 小时 7 分钟
30 天内合并 PR
76

描述

# 🚀 feature request

### Relevant Rules

This is an extension of the existing `pip.dep` feature: https://rules-python.readthedocs.io/en/latest/api/rules_python/python/extensions/pip.html#pip.dep.

### Description

`pip.dep` today is only used for abstract dependency management. The concrete dependencies still must come through `pip.parse` and a `requirements.txt` file.

### Describe the solution you'd like

It would be nice to be able to specify dependencies / version requirements entirely in MODULE.bazel using `pip.dep`. This is similar to how the `crate_universe` feature works in `rules_rust`.

### Describe alternatives you've considered

N/A

贡献指南

打开贡献指南

调研方向

从现有的 `pip.dep` 文档开始,将其与 `MODULE.bazel` 中当前的 `pip.parse` 和 `requirements.txt` 流程进行比较。完成标准是:依赖项和版本要求可以完全使用 `pip.dep` 声明,并且无需 requirements 文件即可解析具体依赖项。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。