Skip to content

Commit

Permalink
add mysqlclient and postgres driver as deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenlu committed Jan 24, 2024
1 parent 8074450 commit b43bfb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
python-version: '3.x'
- name: Install poetry
uses: abatilo/actions-poetry@v2
# - name: install dependencies
# run: |
# apt install python3-dev default-libmysqlclient-dev build-essential
# poetry install
- name: Set version env
id: set_version
## if version is not provided as input, use the tag name
Expand All @@ -39,3 +43,4 @@ jobs:
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
ignore_dev_requirements: "yes"
extra_build_dependency_packages: "libmysqlclient-dev"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
django = ">=4.2"
psycopg2-binary = "^2.9.9"
mysqlclient = "^2.2.1"

[tool.poetry.group.dev.dependencies]
ruff = "^0.1.14"
psycopg2-binary = "^2.9.9"
mysqlclient = "^2.2.1"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit b43bfb8

Please sign in to comment.