Skip to content

Commit 43ef22f

Browse files
Lukas Alberto Belckashish16052
authored andcommitted
fix: add installation of system libs for pymssql in CI workflow
Install `freetds-dev` (and build-essentials) so `pymssql` can compile against the FreeTDS headers.
1 parent 0be4186 commit 43ef22f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
uses: actions/setup-python@v4
8080
with:
8181
python-version: ${{ matrix.python-version }}
82+
- name: Install system libs for pymssql
83+
run: |
84+
sudo apt-get update
85+
sudo apt-get install --yes build-essential freetds-dev freetds-bin
8286
- name: Install Project
8387
run: |
8488
python -m pip install --upgrade pip

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ flexmock = ">=0.9.7"
3737
psycopg2-binary = ">=2.4.6"
3838
PyMySQL = ">=0.8.0"
3939
sqlalchemy_i18n = "*"
40-
pymssql = ">=2.2.0"
40+
pymssql = ">=2.3.2"
4141
cx-Oracle = "8.3.0"
4242
pytest-cov = "*"
4343

0 commit comments

Comments
 (0)