mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-13 19:36:46 +00:00
* 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
75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "InvenTree Server",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/backend/InvenTree/manage.py",
|
|
"args": [
|
|
"runserver",
|
|
// "0.0.0.0:8000", // expose server in network (useful for testing with mobile app)
|
|
// "--noreload" // disable auto-reload
|
|
],
|
|
"django": true,
|
|
"justMyCode": true
|
|
},
|
|
{
|
|
"name": "InvenTree Server - Tests",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/backend/InvenTree/manage.py",
|
|
"args": [
|
|
"test",
|
|
// "part.test_api.PartCategoryAPITest", // run only a specific test
|
|
],
|
|
"django": true,
|
|
"justMyCode": true
|
|
},
|
|
{
|
|
"name": "InvenTree Server - 3rd party",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/backend/InvenTree/manage.py",
|
|
"args": [
|
|
"runserver"
|
|
],
|
|
"django": true,
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "InvenTree invoke schema",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/.venv/lib/python3.11/site-packages/invoke/__main__.py",
|
|
"cwd": "${workspaceFolder}",
|
|
"args": [
|
|
"dev.schema","--ignore-warnings"
|
|
],
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "schema generation",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/backend/InvenTree/manage.py",
|
|
"args": [
|
|
"schema",
|
|
"--file","src/frontend/schema.yml"
|
|
],
|
|
"django": true,
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "InvenTree Frontend - Vite",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:5173",
|
|
"webRoot": "${workspaceFolder}/src/frontend"
|
|
}
|
|
]
|
|
}
|