File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,17 @@ jobs:
50
50
persist-credentials : false
51
51
52
52
- name : Set up Python
53
- if : ${{ matrix.python-version != '2.7' }}
53
+ if : ${{ matrix.python-version != '2.7' && matrix.python-version != '3.14' }}
54
54
uses : actions/setup-python@v5
55
55
with :
56
56
python-version : ${{ matrix.python-version }}
57
57
58
+ - name : Set up Python 3.14
59
+ if : ${{ matrix.python-version == '3.14' }}
60
+ uses : actions/setup-python@v5
61
+ with :
62
+ python-version : ' 3.14.0-rc.1'
63
+
58
64
- name : Set up Python
59
65
if : ${{ matrix.python-version == '2.7' }}
60
66
uses : LizardByte/actions/actions/setup_python@eddc8fc8b27048e25040e37e3585bd3ef9a968ed # master
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ jobs:
147
147
volumes : |
148
148
/corpus-results:/corpus-results
149
149
run : |
150
- python3.13 workflow/corpus_test/generate_report.py /corpus-results ${{ inputs.ref }} ${{ steps.ref.outputs.commit }} ${{ inputs.base-ref }} ${{ steps.base-ref.outputs.commit }} | tee -a $GITHUB_STEP_SUMMARY > report.md
150
+ python3.14 workflow/corpus_test/generate_report.py /corpus-results ${{ inputs.ref }} ${{ steps.ref.outputs.commit }} ${{ inputs.base-ref }} ${{ steps.base-ref.outputs.commit }} | tee -a $GITHUB_STEP_SUMMARY > report.md
151
151
152
152
- name : Lint Report
153
153
uses : DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 # v19
Original file line number Diff line number Diff line change @@ -90,4 +90,4 @@ def test_ast_compat_constant_nodes_python314():
90
90
assert is_constant_node (ast .Constant (True ), ast_compat .NameConstant )
91
91
assert is_constant_node (ast .Constant (False ), ast_compat .NameConstant )
92
92
assert is_constant_node (ast .Constant (None ), ast_compat .NameConstant )
93
- assert is_constant_node (ast .Constant (... ), ast_compat .Ellipsis )
93
+ assert is_constant_node (ast .Constant (ast . literal_eval ( '...' ) ), ast_compat .Ellipsis )
You can’t perform that action at this time.
0 commit comments