Skip to content

Commit

Permalink
Merge pull request #13 from RevolutionTech/django-3-2
Browse files Browse the repository at this point in the history
Add support for Python 3.9-3.10 and Django 3.2
  • Loading branch information
RevolutionTech authored Feb 7, 2022
2 parents 74f7c42 + 1fbe539 commit df4459c
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
needs: checks
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
django-version: [2.2.8, 3.0, 3.1]
python-version: ["3.7", "3.8", "3.9", "3.10"]
django-version: ["2.2.8", "3.0", "3.1", "3.2"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion docs/about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ django-conditions is a Django app that allows creation of conditional logic in a
- In a game, define the winning objectives of a mission/quest
- and many more...

django-conditions supports Django 2.2-3.1 and Python 3.6-3.8.
django-conditions supports Django 2.2-3.2 and Python 3.7-3.10.
48 changes: 27 additions & 21 deletions poetry.lock

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

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ classifiers = [
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]

[tool.poetry.dependencies]
python = "^3.6.1"
Django = ">= 2.2, < 3.2a0"
python = "^3.7"
Django = ">= 2.2, < 4.0a0"
django-jsonfield = "^1.1"

[tool.poetry.dev-dependencies]
Expand All @@ -34,7 +35,7 @@ profile = "black"

[tool.black]
line-length = 88
target_version = ["py36", "py37", "py38"]
target_version = ["py37", "py38"]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

if __name__ == "__main__":
settings.configure(
SECRET_KEY="y*8i&l0^b)%l4ymt631e69=78!4uh!=iity6e-c%m2n&2aepxr",
DATABASES={
"default": {
"NAME": ":memory:",
Expand Down

0 comments on commit df4459c

Please sign in to comment.