Skip to content

Commit

Permalink
improve dependencies and add extras to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leondaz committed Dec 26, 2023
1 parent 231cc86 commit 2ed3bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
poetry install --all-extras --with dev
- name: Lint with ruff
run: |
poetry run ruff .
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [{ include = "djkit" }]

[tool.poetry.dependencies]
python = "^3.9"
django = { version = "^4.0", optional = true }
django = { version = "^4.0" }
djangorestframework = { version = "^3.10.0", optional = true }
pandas = { version = "^2.0.0", optional = true }
polars = "^0.20.2"
Expand All @@ -18,7 +18,6 @@ xlsx2csv = "0.8.2"
xlsxwriter = { version = "^3.1.0", optional = true }

[tool.poetry.extras]
django = ['django']
drf = ["djangorestframework"]
pandas = ['pandas', 'openpyxl', 'xlsxwriter']
polars = ['polars', 'xlsx2csv']
Expand Down

0 comments on commit 2ed3bee

Please sign in to comment.