Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
current_package: ${{ fromJson(inputs.packages) }}
steps:
- uses: actions/checkout@v4
Expand Down
16 changes: 0 additions & 16 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,6 @@
"envFile": "${workspaceFolder}/src/_example/fastapi/.env",
"justMyCode": false,
},
{
"name": "flask-sqlalchemy_scratch",
"type": "debugpy",
"request": "launch",
"module": "flask",
"cwd": "${workspaceFolder}/src/_example/flask_sqlalchemy_scratch",
"envFile": "${workspaceFolder}/src/_example/flask_sqlalchemy_scratch/.env",
"args": [
"run",
"-h",
"0.0.0.0",
"--reload",
"--without-threads"
],
"justMyCode": false
},
{
"name": "flask-sqlalchemy_package",
"type": "debugpy",
Expand Down
7 changes: 3 additions & 4 deletions launch_tests_ci_like.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ ARTIFACT_DIR="artifacts_coverages"

PACKAGES=("agent_toolkit" "datasource_sqlalchemy" "datasource_toolkit" "flask_agent" "datasource_django" "django_agent")
# PACKAGES=("datasource_sqlalchemy")
PYTHON_VERSIONS=("3.8" "3.9" "3.10" "3.11" "3.12")
# PYTHON_VERSIONS=("3.8" "3.11")
PYTHON_VERSIONS=("3.12")
PYTHON_VERSIONS=("3.8" "3.9" "3.10" "3.11" "3.12" "3.13")
# PYTHON_VERSIONS=("3.8" "3.13")

# flask related settings
# https://pypi.org/project/Flask/#history
Expand Down Expand Up @@ -34,7 +33,7 @@ for sub_version in {0..21}; do
SQLALCHEMY_VERSIONS+=($version)
fi
done
DJANGO_VERSIONS=("3.2" "4.0" "4.1" "4.2" "5.0")
DJANGO_VERSIONS=("3.2" "4.0" "4.1" "4.2" "5.0", "5.1")

# launch test on all versions only if we test 1 package
if [[ ${#PACKAGES[@]} == 1 ]]; then
Expand Down
135 changes: 107 additions & 28 deletions src/_example/django/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions src/_example/django/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = [ "poetry-core" ]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "forestadmin-django-demo"
version = "0.0.1"
Expand All @@ -7,7 +11,7 @@ readme = "README.md"
packages = [{ include = "django_demo" }]

[tool.poetry.dependencies]
python = ">=3.8,<3.13"
python = ">=3.8,<3.14"
django = ">=4.2.0"
python-dotenv = ">= 1.0.0"
str2bool = ">= 1.0"
Expand All @@ -21,7 +25,7 @@ SQLAlchemy = ">2.0.0"
# [tool.poetry.group.dev.dependencies]
coverage = "~=6.5"
flake8 = ">=5.0"
freezegun = "~=1.2.0"
freezegun = ">=1.5.0"
pytest = "~=7.1"
pytest-asyncio = "~=0.18,<0.23.2"
pytest-cov = "^4.0.0"
Expand Down
Loading
Loading