Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Sep 29, 2024
1 parent 03da215 commit 228165d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,6 @@ jobs:
python -m pip install --upgrade pip
python -m pip install --upgrade tox
- name: Install pymssql on macOS
if: matrix.os == 'macos-latest' && matrix.python-version >= '3.11'
run: |
brew install FreeTDS
export CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix freetds)/include"
export LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix freetds)/lib"
export CPPFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix freetds)/include"
pip install --pre --no-binary :all: pymssql --force
- name: Test with Tox
run: |
tox -e ${{ matrix.tox_env }}
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ deps =
pyqtwebengine==5.15.*;platform_system!="Windows" or python_version>='3.10'
coverage
psycopg2-binary
pymssql;platform_system!="Darwin" or python_version >= "3.11"
#pymssql;platform_system!="Darwin" or python_version >= "3.11"
latest: https://github.com/biolab/orange-canvas-core/archive/refs/heads/master.zip#egg=orange-canvas-core
latest: https://github.com/biolab/orange-widget-base/archive/refs/heads/master.zip#egg=orange-widget-base
# GUI requirements
Expand Down Expand Up @@ -69,6 +69,11 @@ deps =
# oldest: xlsxwriter

commands_pre =
brew install FreeTDS
export CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix freetds)/include"
export LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix freetds)/lib"
export CPPFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix freetds)/include"
pip install --pre --no-binary :all: pymssql --force
# Verify installed packages have compatible dependencies
pip check
# freeze environment
Expand Down

0 comments on commit 228165d

Please sign in to comment.