Skip to content

Commit

Permalink
Set a specific django version for poetry.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyLWright committed Jul 24, 2024
1 parent 61896d9 commit c4f1695
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
poetry config virtualenvs.path ~/.virtualenvs${{ matrix.python-version }}
- name: Install dependencies
run: poetry install
run: |
poetry add django==${{ matrix.django-version }}
poetry install
- name: ruff check
run: poetry run ruff check .
Expand Down
22 changes: 1 addition & 21 deletions poetry.lock

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

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ keywords = ["django", "python", "javascript", "fullstack"]

[tool.poetry.dependencies]
python = ">=3.8,<4"
django = [{version = "<=5.0", python = "<3.10"},
{version = "^5.0", python=">=3.10"}]
django = ">=2.2"
beautifulsoup4 = ">=4.8.0"
orjson = ">=3.6.0"
shortuuid = ">=1.0.1"
Expand Down

0 comments on commit c4f1695

Please sign in to comment.