Skip to content

Commit

Permalink
Update to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Oct 22, 2024
1 parent 766bc17 commit 3cf8eec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
env:
python-version: '3.11.x'
python-version: '3.12.x'
node-version: '20'
mailroom-version: '9.3.3'

Expand Down
20 changes: 3 additions & 17 deletions poetry.lock

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

17 changes: 12 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Nyaruka <[email protected]>"]
repository = "http://github.com/rapidpro/rapidpro"

[tool.poetry.dependencies]
python = "~3.11"
python = "~3.12"
Django = "^5.1"
django-compressor = "^4.3.1"
django-countries = "^7.0"
Expand Down Expand Up @@ -46,15 +46,15 @@ openpyxl = "^3.1.5"
ffmpeg-python = "^0.2.0"
slack-sdk = "3.17.0"
django-formtools = "^2.4.1"
psycopg = {extras = ["pool"], version = "^3.2.1"}
psycopg = { extras = ["pool"], version = "^3.2.1" }
pillow = "^10.1.0"
django-imagekit = "^5.0.0"
iso639-lang = "^2.2.3"
google-auth = "^2.30.0"

[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
coverage = {extras = ["toml"], version = "^7.5.4"}
coverage = { extras = ["toml"], version = "^7.5.4" }
isort = "^5.13.2"
responses = "^0.25.3"
ruff = "^0.5.0"
Expand All @@ -79,13 +79,20 @@ force_grid_wrap = 0
line_length = 120
include_trailing_comma = true
combine_as_imports = true
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "DJANGO", "FIRSTPARTY", "LOCALFOLDER"]
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"DJANGO",
"FIRSTPARTY",
"LOCALFOLDER",
]
known_django = ["django"]

[tool.djlint]
blank_line_after_tag = "load"
custom_blocks = "render"
custom_html="temba-[a-z-]+"
custom_html = "temba-[a-z-]+"
format_css = true
format_js = true
ignore = "H021,H023"
Expand Down

0 comments on commit 3cf8eec

Please sign in to comment.