Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Install pymssql separately #6903

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist =
build_doc
add-ons
skip_missing_interpreters = true
isolated_build = true
isolated_build = platform_system!="Darwin" # pymssql is installed before tox runs

[testenv]
# https://tox.wiki/en/latest/config.html#download
Expand All @@ -25,14 +25,17 @@ setenv =
# set coverage output and project config
COVERAGE_FILE = {toxinidir}/.coverage
COVERAGE_RCFILE = {toxinidir}/.coveragerc
allowlist_externals =
brew
export
deps =
pyqt5==5.12.*;platform_system=="Windows" and python_version<'3.10'
pyqt5==5.15.*;platform_system!="Windows" or python_version>='3.10'
pyqtwebengine==5.12.*;platform_system=="Windows" and python_version<'3.10'
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 +72,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
Loading