2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-13 19:36:46 +00:00

feat(backend)!: bump to dj 5.2 lts / py 3.11 (#10730)

* feat(backend): bump to 5.2 lts / python 3.11

This will give us support till 2027-10 (PEP 664)

* bump dependencies

* fix dflt version

* remove 3.9 precaution

* changes for 5.2

* changes for py 3.10

* debug command

* lower crypto again

* another lowering

* fix version string

* lower minimum version to 3.11

* update refs

* fix text

* reaking: remove now unsupported OS

* disable break

* remove temp changes

* fix ruff call

* fix remaining ruff warnings

* remove old arg

* lower allauth reqs

* replace old method

* fix issue with args passing beeing depreceated

* add changelog entries

* bump dependencies a bit further

* fix broken image init for now
might need a refactor

* fix another test

* refactor image name lookup

* mroe refactoring

* ensure str does not cause an issue

* update referenced function

* fix cal sig

* simplify method and add test

* refactor

* ignore wrong typings

* fix deprecated feature

* simplify

* ensure image tests do their job

* simplify

* re-add type check

* fix test

* fix assertations - wonder how long this was broken

* bump to newer versions

* bump deps

* fix assertation
This commit is contained in:
Matthias Mair
2025-11-11 01:45:25 +01:00
committed by GitHub
parent f3e8482469
commit 5d21bf2679
83 changed files with 1292 additions and 1407 deletions

View File

@@ -9,7 +9,7 @@ on:
- l10
env:
python_version: 3.9
python_version: 3.11
permissions:
contents: read

View File

@@ -9,7 +9,7 @@ on:
branches-ignore: ["l10*"]
env:
python_version: 3.9
python_version: 3.11
node_version: 20
# The OS version must be set per job
server_start_sleep: 60
@@ -334,8 +334,8 @@ 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.11]
# python_version: [3.11, 3.14] # Disabled due to requirement issues
env:
INVENTREE_DB_NAME: ./inventree.sqlite

View File

@@ -7,7 +7,7 @@ on:
permissions:
contents: read
env:
python_version: 3.9
python_version: 3.11
jobs:
stable:

View File

@@ -6,7 +6,7 @@ on:
- master
env:
python_version: 3.9
python_version: 3.11
node_version: 20
permissions: