From 228165d71224777f0646a0e28299c7baf1fe181d Mon Sep 17 00:00:00 2001 From: janezd Date: Sun, 29 Sep 2024 13:22:09 +0200 Subject: [PATCH] foo --- .github/workflows/test.yml | 9 --------- tox.ini | 7 ++++++- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de1b92dcd3..82a52c8ecf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} diff --git a/tox.ini b/tox.ini index 6623d41ba1..d3ecedc601 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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