Using a commercial Python package: gurobipy

I have a license for Gurobi and would like to use circleci to test some code that is relying on the gurobipy package. The tests don’t actually include running the Gurobi solver, so all I need for the testing is the gurobipy package, but not necessarily the gurobi solver.

If I enter gurobipy as a requirement in the requirements file (gurobipy == 9.0.0), this gives me an error when circleci is installing the dependencies. Looks like gurobipy can’t be installed with pip.

Any suggestions? The gurobipy package is usually installed with “python setup.py install” and it is shipped as a precompiled .so file (for Mac). I don’t think the Python code is available, so, unfortunately, I can’t just add it to my GitHub repository.