fix(deps): cap untested future azure-functions SDK majors
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- azure, python
- Domain
- build-system, testing
Research direction
Review pyproject.toml and tests/test_sdk_compatibility_policy.py, then inspect the existing oldest/latest SDK wheel and host smoke matrix. Align the dependency markers and policy assertions with the supported SDK and host compatibility evidence, documenting any mismatch found. Done when the specified policy test passes, supported Python versions resolve the intended bounds, and existing wheel and host smoke checks remain coherent; an open pull request is already linked.
Written by the indexing model from the issue text.
Description
Context
The package declares azure-functions>=1.21.0 without an upper bound in pyproject.toml. A future 3.x release could be selected even though this repository has no 3.x certification. The existing compatibility-test policy (tests/test_sdk_compatibility_policy.py) also asserts the unbounded requirement.
OpenAPI already uses an interpreter-aware 1.x/2.x bound. This is a small package metadata and policy-test alignment task, not evidence that today's SDK is broken. Related: #613 (SDK compatibility testing).
Scope
- Use environment markers in
[project].dependencies:"azure-functions>=1.21.0,<2.0.0; python_version < '3.13'", "azure-functions>=1.21.0,<3.0.0; python_version >= '3.13'", - Add a brief explanation referencing the supported SDK/host compatibility evidence, without claiming that metadata alone certifies Azure execution.
- Update
tests/test_sdk_compatibility_policy.pyto check both requirements. Review the existing oldest/latest SDK wheel and host smoke matrix to keep its assertions coherent with the bound. - Document any SDK-support mismatch found rather than silently weakening the tests.
Acceptance Checklist
- Dependency markers parse and resolve correctly on Python 3.11 and 3.13 (CI provides interpreters; do not claim unrun local checks).
-
pytest -q tests/test_sdk_compatibility_policy.pypasses. - Existing wheel-based and host smoke CI checks pass; no coverage lanes are removed.
- No
azure-functions3.x can be selected by a fresh supported installation. - PR contains only this scoped metadata/test change; release notes follow the repository's release workflow.
Out of scope
- Independently certifying a new SDK major, changing Python support, or restructuring CI.
- Manually editing generated changelogs unless required by maintainers.
Contributor notes
Comment to request assignment before starting. Suggested PR title: fix(deps): cap azure-functions below untested 3.x. Include Closes #<issue number> in the PR body. No Azure subscription is required for the packaging/test edit.
- Dominant language
- Python
- Stars
- 15
- Forks
- 0
- Avg merge
- 7h 53m
- Merged PRs (30d)
- 90
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 yeongseon/azure-functions-logging-python
-
documentation good first issue priority: low size: XS
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
yeongseon/azure-functions-logging-python#647 ·
Maintainers usually reply within 1 day
-
ci priority: high size: S
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
yeongseon/azure-functions-logging-python#625 · 2 comments ·
Maintainers usually reply within 1 day
All issues in yeongseon/azure-functions-logging-python
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4237 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jejjohnson/gaussx#721 ·
Maintainers usually reply within 1 day
-
mock-core-configs/etc/mock/rocky-10-riscv64.cfg contains the wrong architecture in config_opts['root']Possibly taken @jasonmontleon claimed this 4 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 94/100
rpm-software-management/mock#1834 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
elastic/elastic-otel-python#683 ·
Maintainers usually reply within 1 day
-
ci-rerun: collect.py fails a whole pr-babysit cycle on one transient GitHub 5xx and never retriesOpenfollow-up
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day