Python: Fix dependencies for durabletask#3493
Merged
larohra merged 7 commits intomicrosoft:mainfrom Jan 30, 2026
Merged
Conversation
Member
Contributor
There was a problem hiding this comment.
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 |
cgillum
reviewed
Jan 28, 2026
python/samples/getting_started/durabletask/01_single_agent/requirements.txt
Outdated
Show resolved
Hide resolved
gavin-aguiar
approved these changes
Jan 29, 2026
cgillum
approved these changes
Jan 30, 2026
2 tasks
eavanvalkenburg
pushed a commit
to eavanvalkenburg/agent-framework
that referenced
this pull request
Feb 1, 2026
* Fix dependencies * Use local packages * fix typing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
durabletaskpackage and remove unnecessary typing from azurefunctions package.requirements.txtfordurabletaskpackage.Description
Contribution Checklist