Allow packaging shared object files in Python projects
维护者通常 10 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- aws, python
- 领域
- build-system, cloud
调研方向
从 aws_lambda_builders/workflows/python_pip/workflow.py 开始,检查 issue 中引用的 EXCLUDED_FILES 列表。使用 CodeUri 下的 .so 文件运行 sam build,然后验证在修正打包行为后,该文件会出现在 .aws-sam/build/FunctionName/ 中。
由索引模型根据 Issue 内容生成。
描述
Description:
I'm working on a Python project that indirectly uses a native library through ctypes, so I need to supply the library, libspatialindex.so, in the Lambda function's package. However, when I run sam build, the file does not get copied into the output. It looks like this is due to the EXCLUDED_FILES list for PythonPipWorkflow.
Steps to reproduce the issue:
- Place a file ending in
.soin the directory pointed to byCodeUri - Run
sam build
Observed result:
The file should be copied into .aws-sam/build/FunctionName/
Expected result:
The file is missing
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
I am using SAM CLI version 0.16.0 on Debian Stretch
- 主要语言
- 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 于 24 天前认领。 未关闭
难度 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 于 24 天前认领。 未关闭
难度 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 于 93 天前认领。 未关闭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 于 38 天前认领,目前没有进行中的 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
NousResearch/hermes-agent#136483 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
[BUG] LazyStackedTensorDictStore zeroes the last byte of a new key set on the last element可能已有人在做 @peterdsharpe 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
pytorch/tensordict#2307 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
GrokModel.generate/a_generate pass an OpenAI-style list-of-dicts to xai_sdk.chat.user(), so every call crashes with a protobuf TypeError before any network I/O可能已有人在做 @Christian-Sidak 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
confident-ai/deepeval#3436 · 1 条评论 ·
维护者通常 1 天内回复