Figure out dependency best practices
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- grpc, python
- Domain
- developer-experience
Research direction
Review the SDK's dependency declarations and its stated Python 3.11 compatibility alongside the planned GoogleContainerTools distroless runtime. Compare the current major-version-only policy with current Python library packaging guidance, then document or implement an agreed dependency and supported-runtime policy and verify that it remains compatible with the intended container.
Written by the indexing model from the issue text.
Description
What problem are you facing?
This SDK is a library. It has some dependencies (e.g. gRPC, Click, etc) but I assume we don't want to pin them to specific versions - instead the app would do that. Right now I have everything "pinned" to major versions only. We're also declaring that we only work with Python 3.11, since it's what the https://github.com/GoogleContainerTools/distroless container we'll use to run Python functions uses.
How could this Function help solve your problem?
My Python packaging experience is almost a decade out-of-date so I'm not sure what the best practice is here. I could use a review from folks with more recent Python library packaging experience.
- Dominant language
- Python
- Stars
- 12
- Forks
- 15
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 7
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from crossplane/function-sdk-python
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 42/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
crossplane/function-sdk-python#199 · 4 comments · 3 reactions ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
crossplane/function-sdk-python#129 · 1 comment ·
-
Dependency Dashboard Open
Difficulty 1/5 Under an hour Newbie friendliness 10/100
All issues in crossplane/function-sdk-python
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
learningequality/ricecooker#747 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
run-llama/llama_index#23199 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
KhronosGroup/glTF-Blender-IO#2769 ·