Skip to content

Commit

Permalink
Merge pull request #42 from ARYAN-NIKNEZHAD/chore/pyproject.toml-config
Browse files Browse the repository at this point in the history
🔧  Update pyproject.toml config
  • Loading branch information
sepehr-akbarzadeh authored Aug 25, 2024
2 parents efff489 + 3355d78 commit 7dd8ca4
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 46 deletions.
11 changes: 6 additions & 5 deletions packages/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ astroid==3.2.4 ; python_version >= "3.8" and python_version < "4.0"
babel==2.16.0 ; python_version >= "3.8" and python_version < "4.0"
backports-zoneinfo==0.2.1 ; python_version >= "3.8" and python_version < "3.9"
black==24.8.0 ; python_version >= "3.8" and python_version < "4.0"
cachetools==5.4.0 ; python_version >= "3.8" and python_version < "4.0"
cachetools==5.5.0 ; python_version >= "3.8" and python_version < "4.0"
certifi==2024.7.4 ; python_version >= "3.8" and python_version < "4.0"
cfgv==3.4.0 ; python_version >= "3.8" and python_version < "4.0"
chardet==5.2.0 ; python_version >= "3.8" and python_version < "4.0"
Expand All @@ -19,22 +19,23 @@ dill==0.3.8 ; python_version >= "3.8" and python_version < "4.0"
distlib==0.3.8 ; python_version >= "3.8" and python_version < "4.0"
django-stubs-ext==5.0.4 ; python_version >= "3.8" and python_version < "4.0"
django-stubs==5.0.4 ; python_version >= "3.8" and python_version < "4.0"
django==4.2.15 ; python_version >= "3.8" and python_version < "4.0"
django==4.2.15 ; python_version >= "3.8" and python_version < "3.10"
django==5.1 ; python_version >= "3.10" and python_version < "4.0"
docformatter==1.7.5 ; python_version >= "3.8" and python_version < "4.0"
docutils==0.20.1 ; python_version >= "3.8" and python_version < "4.0"
exceptiongroup==1.2.2 ; python_version >= "3.8" and python_version < "3.11"
filelock==3.15.4 ; python_version >= "3.8" and python_version < "4.0"
identify==2.6.0 ; python_version >= "3.8" and python_version < "4.0"
idna==3.7 ; python_version >= "3.8" and python_version < "4.0"
idna==3.8 ; python_version >= "3.8" and python_version < "4.0"
imagesize==1.4.1 ; python_version >= "3.8" and python_version < "4.0"
importlib-metadata==8.2.0 ; python_version >= "3.8" and python_version < "3.10"
importlib-metadata==8.4.0 ; python_version >= "3.8" and python_version < "3.10"
iniconfig==2.0.0 ; python_version >= "3.8" and python_version < "4.0"
isort==5.13.2 ; python_version >= "3.8" and python_version < "4.0"
jinja2==3.1.4 ; python_version >= "3.8" and python_version < "4.0"
markupsafe==2.1.5 ; python_version >= "3.8" and python_version < "4.0"
mccabe==0.7.0 ; python_version >= "3.8" and python_version < "4.0"
mypy-extensions==1.0.0 ; python_version >= "3.8" and python_version < "4.0"
mypy==1.11.1 ; python_version >= "3.8" and python_version < "4.0"
mypy==1.11.2 ; python_version >= "3.8" and python_version < "4.0"
nodeenv==1.9.1 ; python_version >= "3.8" and python_version < "4.0"
packaging==24.1 ; python_version >= "3.8" and python_version < "4.0"
pathspec==0.12.1 ; python_version >= "3.8" and python_version < "4.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
asgiref==3.8.1 ; python_version >= "3.8" and python_version < "4.0"
backports-zoneinfo==0.2.1 ; python_version >= "3.8" and python_version < "3.9"
django==4.2.15 ; python_version >= "3.8" and python_version < "4.0"
django==4.2.15 ; python_version >= "3.8" and python_version < "3.10"
django==5.1 ; python_version >= "3.10" and python_version < "4.0"
sqlparse==0.5.1 ; python_version >= "3.8" and python_version < "4.0"
typing-extensions==4.12.2 ; python_version >= "3.8" and python_version < "3.11"
tzdata==2024.1 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
98 changes: 59 additions & 39 deletions poetry.lock

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

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
django = ">=3.2,<6.0"
django = [
{ version = ">=4.2,<5.0", python = ">=3.8,<3.10"},
{ version = ">=4.2,<5.3", python = ">=3.10" } # Django 4.2 and 5.x for Python 3.10+
]

[tool.poetry.dev-dependencies]
pytest = "^8.3.2"
Expand Down

0 comments on commit 7dd8ca4

Please sign in to comment.