@@ -17,18 +17,24 @@ jobs:
1717 fail-fast : false
1818 matrix :
1919 include :
20- # Fallback path: on Python 3.9 the SDK's df_dumps / df_loads cannot
21- # be installed (azure-functions 2.x requires >=3.13 and the 1.26.0
22- # line requires >=3.10), so this leg exercises the legacy
23- # serialization fallback in df_serialization.
24- - python-version : " 3.9"
20+ # Floor version. Pin an older azure-functions (< 1.26.0) that
21+ # predates the centralized df_dumps / df_loads serializers so this
22+ # leg exercises the legacy serialization fallback in
23+ # df_serialization.
24+ - python-version : " 3.10"
25+ functions-sdk : " azure-functions<1.26.0"
26+ - python-version : " 3.11"
27+ functions-sdk : " "
28+ - python-version : " 3.12"
2529 functions-sdk : " "
2630 # SDK path: Python 3.13 with the beta that first ships df_dumps /
2731 # df_loads, exercising the SDK-delegated serialization branch.
2832 # TODO: change to "azure-functions>=2.2.0" once 2.2.0 GA ships, and
2933 # drop the explicit override step below.
3034 - python-version : " 3.13"
3135 functions-sdk : " azure-functions>=2.2.0b5"
36+ - python-version : " 3.14"
37+ functions-sdk : " "
3238 steps :
3339 - name : Checkout repository
3440 uses : actions/checkout@v2
@@ -41,16 +47,16 @@ jobs:
4147 run : |
4248 python -m pip install --upgrade pip
4349 pip install -r requirements.txt
44- - name : Install Functions SDK override
50+ - name : Pin azure-functions version
4551 if : matrix.functions-sdk != ''
4652 run : pip install "${{ matrix.functions-sdk }}"
4753 - name : Run Linter
4854 # Lint only on the canonical Python version. On Python 3.12+, PEP 701
4955 # changed f-string tokenization so pycodestyle inspects tokens inside
5056 # f-strings, producing false positives (e.g. the ':' in 'http://' or
5157 # the indentation of multi-line f-string concatenations). Linting is
52- # environment-agnostic, so running it once on 3.9 is sufficient.
53- if : matrix.python-version == '3.9 '
58+ # environment-agnostic, so running it once on 3.10 is sufficient.
59+ if : matrix.python-version == '3.10 '
5460 run : |
5561 cd azure
5662 flake8 . --count --show-source --statistics
7379 - name : Set up Python
7480 uses : actions/setup-python@v2
7581 with :
76- python-version : 3.9
82+ python-version : " 3.10 "
7783 - name : Install dependencies
7884 run : |
7985 python -m pip install --upgrade pip
0 commit comments