Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ed3eca1
reenable 3.12
matmair Aug 16, 2024
86ee630
Merge branch 'master' of https://github.com/inventree/InvenTree into …
matmair Nov 28, 2024
952ceaf
Merge branch 'master' into ci-3.12
matmair Nov 29, 2024
8bc9b25
Merge branch 'master' into ci-3.12
matmair Nov 30, 2024
da4b023
deactivate uv
matmair Dec 1, 2024
2d9377f
try wokring with a seperate reqs
matmair Dec 2, 2024
31f02f1
Merge branch 'master' into ci-3.12
matmair Dec 15, 2024
ddb4675
Merge branch 'master' into ci-3.12
matmair Dec 16, 2024
06a7dfe
Merge branch 'master' into ci-3.12
matmair Dec 16, 2024
913cfbd
Merge branch 'master' into ci-3.12
matmair Dec 17, 2024
4282971
Merge branch 'master' into ci-3.12
matmair Dec 23, 2024
0de182e
Merge branch 'master' of https://github.com/inventree/InvenTree into …
matmair Jan 2, 2025
f42fb41
fix req
matmair Jan 2, 2025
a2e5475
add flag that allows specifying a path for deps
matmair Jan 2, 2025
378733d
fix arguments
matmair Jan 2, 2025
455ade7
add value for path
matmair Jan 2, 2025
b8e72e5
adapt reqs request
matmair Jan 2, 2025
6456010
update caching path
matmair Jan 2, 2025
cd205cf
Merge branch 'master' into ci-3.12
matmair Jan 16, 2025
8b0398a
Merge branch 'master' into ci-3.12
matmair Feb 24, 2025
89f36aa
Merge branch 'master' into ci-3.12
SchrodingersGat Mar 30, 2025
c1e1789
fix style
matmair Mar 31, 2025
705222c
Merge branch 'master' of https://github.com/inventree/InvenTree into …
matmair Jun 26, 2025
39b49f1
fix assertation of custom install path
matmair Jun 27, 2025
d1f1073
fix req
matmair Jun 27, 2025
0aab457
Merge branch 'master' of https://github.com/inventree/InvenTree into …
matmair Jun 27, 2025
981bf9e
bump reqs
matmair Jun 27, 2025
0abc688
Merge branch 'master' into ci-3.12
matmair Jun 29, 2025
0469966
Merge branch 'master' into ci-3.12
matmair Oct 20, 2025
59dabee
Merge branch 'master' into ci-3.12
matmair Oct 22, 2025
54e1e64
fix style
matmair Oct 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
pip-dependency:
required: false
description: 'Extra python package for install.'
py-dep-paths:
required: false
description: 'Path to the python dependencies.'
default: 'src/backend/requirements.txt'

runs:
using: 'composite'
Expand All @@ -49,6 +53,7 @@
cache-dependency-path: |
src/backend/requirements.txt
src/backend/requirements-dev.txt
src/backend/requirements-3-12.txt
contrib/container/requirements.txt
contrib/dev_reqs/requirements.txt
- name: Install Base Python Dependencies
Expand All @@ -57,7 +62,7 @@
run: |
python3 -m pip install -U pip
pip3 install -U invoke wheel
pip3 install uv>=0.9.4
pip3 install 'uv'
- name: Allow uv to use the system Python by default
run: echo "UV_SYSTEM_PYTHON=1" >> $GITHUB_ENV
shell: bash
Expand Down Expand Up @@ -93,8 +98,8 @@
- name: Run invoke install
if: ${{ inputs.install == 'true' }}
shell: bash
run: invoke install --uv
run: invoke install --path ${{ inputs.py-dep-paths }}

Check failure

Code scanning / zizmor

code injection via template expansion Error

code injection via template expansion
- 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 --path ${{ inputs.py-dep-paths }}

Check failure

Code scanning / zizmor

code injection via template expansion Error

code injection via template expansion
4 changes: 2 additions & 2 deletions .github/workflows/qc_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ jobs:
continue-on-error: true # continue if a step fails so that coverage gets pushed
strategy:
matrix:
python_version: [3.9]
# python_version: [3.9, 3.12] # Disabled due to requirement issues
python_version: [3.9, 3.12]

env:
INVENTREE_DB_NAME: ./inventree.sqlite
Expand All @@ -353,6 +352,7 @@ jobs:
uses: ./.github/actions/setup
with:
apt-dependency: gettext poppler-utils
py-dep-paths: ${{matrix.python_version == '3.12' && 'src/backend/requirements-3-12.txt' || 'src/backend/requirements.txt'}}
dev-install: true
update: true
- name: Data Export Test
Expand Down
8 changes: 6 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ repos:
rev: 0.7.12
hooks:
- id: pip-compile
name: pip-compile requirements-dev.in
name: pip-compile backend requirements.txt for 3.12
args: [src/backend/requirements.in, -o, src/backend/requirements-3-12.txt, --no-strip-extras, --generate-hashes, --python-version=3.12]
files: src/backend/(requirements\.in|requirements-3-12\.txt)$
- id: pip-compile
name: pip-compile backend requirements-dev.in
args: [src/backend/requirements-dev.in, -o, src/backend/requirements-dev.txt, --no-strip-extras, --generate-hashes]
files: src/backend/requirements-dev\.(in|txt)$
- id: pip-compile
name: pip-compile requirements.txt
name: pip-compile backend requirements.txt
args: [src/backend/requirements.in, -o, src/backend/requirements.txt, --no-strip-extras, --generate-hashes]
files: src/backend/requirements\.(in|txt)$
- id: pip-compile
Expand Down
Loading
Loading