You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6684cba
Browse filesBrowse the repository at this point in the historyBrowse files
Add Python modernization and deprecation guardrails (#327)
* Add Python modernization and deprecation guardrails
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Remove deprecated UTC calls from executor tests
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Set the async fixture loop scope for strict warning checks
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Use the supported logger API in the Managed pagination test
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: pyproject.toml
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,42 @@ include = ["durabletask", "durabletask.*"]
58
58
minversion = "6.0"
59
59
testpaths = ["tests"]
60
60
asyncio_mode = "auto"
61
+
asyncio_default_fixture_loop_scope = "function"
62
+
filterwarnings = [
63
+
"error::DeprecationWarning",
64
+
"error::PendingDeprecationWarning",
65
+
# Legacy Functions payloads still require the upstream loose codec.
66
+
# Report only these known warnings without failing; see issue #325.
67
+
'default:azure\.functions df_loads was called without expected_type\.:DeprecationWarning:azure\.functions\._durable_functions$',
68
+
'default:azure\.functions Durable JSON codec reconstructed a custom object via the loose-mode object_hook path\.:DeprecationWarning:azure\.functions\._durable_functions$',
69
+
]
61
70
markers = [
62
71
"azurite: tests that require Azurite (local Azure Storage emulator)",
63
72
"functions_e2e: end-to-end tests that require the Azure Functions Core Tools (func) and Azurite",
0 commit comments