Allow python_pip builder to install relative packages
维护者通常 10 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- aws, python
- 领域
- build-system
调研方向
从 python_pip builder 开始,跟踪 sam build 期间如何调用 pip 子进程,并比较 local 和 --use-container 路径。使用类似 ./mypackage 的 requirements.txt 条目和一个本地 setup.py 包重现该问题。在两种 build 模式下相对包都能成功安装即表示完成。
由索引模型根据 Issue 内容生成。
描述
Description:
It is helpful for applications to sometimes structure themselves as multiple, separate packages. sam build currently can't require those local packages because the pip subprocess is run outside of the requirements.txt's directory.
Steps to reproduce the issue:
- Init a sam project. Create a sub-package
mypackagewith its own setup.py. - Add
./mypackagesto your requriements.txt - Run
sam build
Observed result:
Sam cannot find the local package ./mypackage
Note: this does work currently when sam build --use-container
Expected result:
Sam would find, and install the local package ./mypackage, regardless of building in a container or not.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- 主要语言
- Python
- 星标
- 381
- 派生
- 161
- 平均合并
- 9 天 8 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/aws-lambda-builders 的其他 Issue
-
python_uv: `UvConfig.compile_bytecode` is never passed to uv, so the option has no effect可能已有人在做 @xujiantop-crypto 于 23 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
aws/aws-lambda-builders#925 · 1 个 reaction ·
维护者通常 10 天内回复
-
Bytecode compiled during build is always discarded at runtime: SAM packaging writes 1980 timestamps, so timestamp-based .pyc never validate可能已有人在做 @xujiantop-crypto 于 23 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 64/100
aws/aws-lambda-builders#924 · 1 条评论 · 1 个 reaction ·
维护者通常 10 天内回复
-
Bug: PythonUvBuilder fails to build app with dependencies on editable installs in the workspace可能已有人在做 @noritada 于 92 天前认领。 未关闭stage/needs-triage
难度 3/5 1-2 天 新手友好度 25/100
aws/aws-lambda-builders#892 ·
维护者通常 10 天内回复
-
stage/needs-triage type/feature
难度 4/5 3-5 天 新手友好度 38/100
aws/aws-lambda-builders#839 · 2 条评论 · 1 个 reaction ·
维护者通常 10 天内回复
-
Feature request: Skip binary validation when builder is not used for any language可能重新可做 @saketh-bandi 于 37 天前认领,目前没有进行中的 PR。 未关闭area/build contributors/good-first-issue contributors/welcome type/feature
难度 4/5 3-5 天 新手友好度 38/100
aws/aws-lambda-builders#831 · 3 条评论 ·
维护者通常 10 天内回复
查看 aws/aws-lambda-builders 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
EvaluationSuite.run fails with default args_for_task and mutates supplied kwargs可能已有人在做 @ktz03 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
huggingface/evaluate#825 ·
维护者通常 1 天内回复
-
dependencies feature github_actions good first issue
难度 2/5 1-3 小时 新手友好度 62/100
wemake-services/wemake-django-template#3149 ·
维护者通常 1 天内回复
-
upstream update
难度 2/5 1-3 小时 新手友好度 65/100
conan-io/conan-center-index#31142 ·
维护者通常 1 天内回复
-
area:core bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复