Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set a specific django version for poetry.
Browse files Browse the repository at this point in the history
JeremyLWright authored and adamghill committed Jul 28, 2024
1 parent c2f734d commit 65cd887
Showing 3 changed files with 6 additions and 24 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -36,7 +36,10 @@ jobs:
poetry config virtualenvs.path ~/.virtualenvs${{ matrix.python-version }}
- name: Install dependencies
run: poetry install
run: |
poetry add python==${{ matrix.python-version }}
poetry add django==${{ matrix.django-version }}
poetry install
- name: ruff check
run: poetry run ruff check .
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
@@ -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"

0 comments on commit 65cd887

Please sign in to comment.