Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ stages:
- script: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Ensure setuptools >= 69.3.0 so the sdist filename follows the
# PEP 625 normalized form (azure_functions_durable-*.tar.gz).
# Older setuptools emits the legacy hyphenated name, which ESRP
# rejects.
pip install "setuptools>=69.3.0" wheel
pip install "setuptools>=69.3.0" setuptools_scm wheel
# Pin an older azure-functions (< 1.26.0) that predates the
# centralized df_dumps / df_loads serializers so this job exercises
# the legacy serialization fallback in df_serialization. The
Expand Down
8 changes: 2 additions & 6 deletions eng/templates/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.10.x'
versionSpec: '3.10'
- script: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Ensure setuptools >= 69.3.0 so the sdist filename follows the
# PEP 625 normalized form (azure_functions_durable-*.tar.gz).
# Older setuptools emits the legacy hyphenated name, which ESRP
# rejects.
pip install "setuptools>=69.3.0" wheel
pip install "setuptools>=69.3.0" setuptools_scm wheel
# Pin an older azure-functions (< 1.26.0) that predates the
# centralized df_dumps / df_loads serializers so this job
# exercises the legacy serialization fallback in df_serialization.
Expand Down
4 changes: 2 additions & 2 deletions tests/orchestrator/test_sequential_orchestrator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from azure.durable_functions.models.actions.WhenAnyAction import WhenAnyAction
from azure.durable_functions.models.actions.WhenAllAction import WhenAllAction
from azure.durable_functions.models.ReplaySchema import ReplaySchema
from datetime import datetime, timedelta
from datetime import datetime, timedelta, timezone
from .orchestrator_test_utils \
import assert_orchestration_state_equals, get_orchestration_state_result, assert_valid_schema
from tests.test_utils.ContextBuilder import ContextBuilder
Expand Down Expand Up @@ -703,7 +703,7 @@ def test_utc_time_is_never_none():
def test_utc_time_updates_correctly():
"""Tests that current_utc_datetime updates correctly"""

now = datetime.utcnow()
now = datetime.now(timezone.utc).replace(tzinfo=None)
# the first orchestrator-started event starts 1 second after `now`
context_builder = ContextBuilder('test_simple_function', starting_time=now)
add_hello_completed_events(context_builder, 0, "\"Hello Tokyo!\"")
Expand Down
Loading