Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Allow packaging shared object files in Python projects

未关闭
#115 3 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 10 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
aws, python

调研方向

从 aws_lambda_builders/workflows/python_pip/workflow.py 开始,检查 issue 中引用的 EXCLUDED_FILES 列表。使用 CodeUri 下的 .so 文件运行 sam build,然后验证在修正打包行为后,该文件会出现在 .aws-sam/build/FunctionName/ 中。

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

描述

area/workflow/python_pip maintainer/need-response type/feature

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:

  1. Place a file ending in .so in the directory pointed to by CodeUri
  2. 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/aws-lambda-builders 的其他 Issue

查看 aws/aws-lambda-builders 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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