-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Python: Fix dependencies for durabletask #3493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes Python dependency management for the durabletask and azurefunctions packages by correctly placing python-dateutil where it's actually used and removing unnecessary type stub dependencies.
Changes:
- Added
python-dateutil>=2.8.0as a runtime dependency to the durabletask package (where it's actually imported and used) - Removed
types-python-dateutilfrom azurefunctions package dev dependencies (since dateutil is not used there) - Updated all durabletask sample requirements.txt files to use the published package
agent-framework-durabletaskinstead of editable local installs
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| python/uv.lock | Updated lockfile reflecting the dependency changes for both packages |
| python/packages/durabletask/pyproject.toml | Added python-dateutil>=2.8.0 to runtime dependencies |
| python/packages/azurefunctions/pyproject.toml | Removed unnecessary types-python-dateutil from dev dependencies |
| python/samples/getting_started/durabletask/*/requirements.txt | Updated 7 sample requirements files to use published package instead of editable installs |
Motivation and Context
durabletaskpackage and remove unnecessary typing from azurefunctions package.requirements.txtfordurabletaskpackage.Description
Contribution Checklist