mirror of
https://github.com/inventree/InvenTree.git
synced 2026-02-02 11:24:51 +00:00
feat: matrix testing for python 3.14 (#10904)
* feat: matrix testing * remove unneeded args * remove hashes for now * remove require-hashes for now * try manually fixing cffi for now * remove wrong cache syntax * remove cache for now * move to 3.14? * make version specific install req * re-add hashes * Revert "remove require-hashes for now" This reverts commit7a7e12130a. * also compile requirements-dev * move more install commands * fix generation setting * more logging * remove cache exception * remove cffi fix * remove hash inforcement for now * remove dev for now * default to 3.14 to val * Revert "default to 3.14 to val" This reverts commit7a28e46604. * fix constraints * remove pin requirement from plugins.txt * do not use uv for now * do not use uv for now * fix test file format * revert small change * use 3.14 for benchmarks * keep tests on 3.11 * use invoke for install * try 3.14 for performance testing again * prolong time for slower CI on 3.14 * adjust dep versions * Keep performance ci on 3.12 Updated the Python version in the QC checks workflow.
This commit is contained in:
13
.github/actions/setup/action.yaml
vendored
13
.github/actions/setup/action.yaml
vendored
@@ -41,7 +41,7 @@ runs:
|
||||
|
||||
# Python installs
|
||||
- name: Set up Python ${{ env.python_version }}
|
||||
if: ${{ inputs.python == 'true' }}
|
||||
if: ${{ inputs.python == 'true' && env.python_version != '3.14' }}
|
||||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # pin@v5.0.0
|
||||
with:
|
||||
python-version: ${{ env.python_version }}
|
||||
@@ -51,6 +51,11 @@ runs:
|
||||
src/backend/requirements-dev.txt
|
||||
contrib/container/requirements.txt
|
||||
contrib/dev_reqs/requirements.txt
|
||||
- name: Setup Python 3.14
|
||||
if: ${{ inputs.python == 'true' && env.python_version == '3.14' }}
|
||||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # pin@v5.0.0
|
||||
with:
|
||||
python-version: ${{ env.python_version }}
|
||||
- name: Install Base Python Dependencies
|
||||
if: ${{ inputs.python == 'true' }}
|
||||
shell: bash
|
||||
@@ -89,12 +94,12 @@ runs:
|
||||
- name: Install dev requirements
|
||||
if: ${{ inputs.dev-install == 'true' || inputs.install == 'true' }}
|
||||
shell: bash
|
||||
run: uv pip install --require-hashes -r src/backend/requirements-dev.txt
|
||||
run: invoke install --dev
|
||||
- name: Run invoke install
|
||||
if: ${{ inputs.install == 'true' }}
|
||||
shell: bash
|
||||
run: invoke install --uv
|
||||
run: invoke install
|
||||
- name: Run invoke update
|
||||
if: ${{ inputs.update == 'true' }}
|
||||
shell: bash
|
||||
run: invoke update --uv --skip-backup --skip-static
|
||||
run: invoke update --skip-backup --skip-static
|
||||
|
||||
3
.github/workflows/qc_checks.yaml
vendored
3
.github/workflows/qc_checks.yaml
vendored
@@ -356,8 +356,7 @@ jobs:
|
||||
continue-on-error: true # continue if a step fails so that coverage gets pushed
|
||||
strategy:
|
||||
matrix:
|
||||
python_version: [3.11]
|
||||
# python_version: [3.11, 3.14] # Disabled due to requirement issues
|
||||
python_version: [3.11, 3.14]
|
||||
|
||||
env:
|
||||
INVENTREE_DB_NAME: ./inventree.sqlite
|
||||
|
||||
Reference in New Issue
Block a user