Skip to content

Commit c5a375e

Browse files
authored
ci: add py313 to release pipeline (#2269)
1 parent dad905b commit c5a375e

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

.github/workflows/ci_release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
uses: ./.github/workflows/tests.yml
8888
with:
8989
ANSYS_VERSION: ${{ inputs.ansys_version || '251' }}
90-
python_versions: '["3.11", "3.12"]'
90+
python_versions: '["3.11", "3.12", "3.13"]'
9191
DOCSTRING: false
9292
wheel: false
9393
wheelhouse: true
@@ -109,7 +109,7 @@ jobs:
109109
uses: ./.github/workflows/tests.yml
110110
with:
111111
ANSYS_VERSION: ${{ inputs.ansys_version || '251' }}
112-
python_versions: '["3.11", "3.12"]'
112+
python_versions: '["3.11", "3.12", "3.13"]'
113113
DOCSTRING: false
114114
wheel: false
115115
wheelhouse: false
@@ -129,7 +129,7 @@ jobs:
129129
uses: ./.github/workflows/examples.yml
130130
with:
131131
ANSYS_VERSION: ${{ inputs.ansys_version || '251' }}
132-
python_versions: '["3.10", "3.11", "3.12"]'
132+
python_versions: '["3.10", "3.11", "3.12", "3.13"]'
133133
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
134134
secrets: inherit
135135

@@ -236,7 +236,7 @@ jobs:
236236
uses: ./.github/workflows/examples_docker.yml
237237
with:
238238
ANSYS_VERSION: ${{ inputs.ansys_version || '251' }}
239-
python_versions: '["3.10", "3.11", "3.12"]'
239+
python_versions: '["3.10", "3.11", "3.12", "3.13"]'
240240
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
241241
secrets: inherit
242242

.github/workflows/tests.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
uses: ansys/pydpf-actions/prepare_tests@dependencies/bump_pyvista_setup-headless-display-action_to_v4
208208
with:
209209
DEBUG: true
210-
210+
211211
- name: "Test Docstrings"
212212
if: (inputs.DOCSTRING == 'true') && !((inputs.test_any == 'true') && (matrix.os == 'ubuntu-latest'))
213213
uses: ansys/pydpf-actions/[email protected]
@@ -221,17 +221,9 @@ jobs:
221221
shell: bash
222222
run: |
223223
if [ $MODE == 'PIP' ]; then
224-
if [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
225-
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }} -x testenv.deps+="-e dpf-standalone/v${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}" -x testenv.commands_pre+="uv pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.20240907.dev0"' >> "$GITHUB_OUTPUT"
226-
else
227-
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }} -x testenv.deps+="-e dpf-standalone/v${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}"' >> "$GITHUB_OUTPUT"
228-
fi
224+
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }} -x testenv.deps+="-e dpf-standalone/v${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}"' >> "$GITHUB_OUTPUT"
229225
else
230-
if [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
231-
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }} -x testenv.commands_pre+="uv pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.20240907.dev0"' >> "$GITHUB_OUTPUT"
232-
else
233-
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }}' >> "$GITHUB_OUTPUT"
234-
fi
226+
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }}' >> "$GITHUB_OUTPUT"
235227
fi
236228
237229
- name: "Organize test files"

tox.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ commands =
225225
# Remove previously rendered documentation
226226
clean: python -c "import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)" "{toxinidir}/{env:BUILD_DIR}"
227227

228-
# Ensure vtk compatibility
229-
html: python -m pip uninstall --yes vtk
230-
html: python -m pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.3.20240907.dev0
231-
232228
# Clean files from previous build
233229
html: python -c "\
234230
html: from os.path import exists; import shutil; \

0 commit comments

Comments
 (0)