coin-or / pulp

A python Linear Programming API

Home Page:http://coin-or.github.io/pulp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Re-enabling SCIP inside Jupyter Notebooks (regression)

mdealencar opened this issue · comments

Commit 0c2b941 removed the changes made by commit a587e8e that addressed the issues (now closed) #427 and #428. The result is that the current master branch is producing the same error as described in that issue:

File ~\programs\miniconda\envs\work\lib\site-packages\ipykernel\iostream.py:356, in OutStream.fileno(self)
    354 else:
    355     msg = "fileno"
--> 356     raise io.UnsupportedOperation(msg)

UnsupportedOperation: fileno

What operating system are you using?

  • Windows: ( version: ___ )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: ___ )
  • Other: ___

I'm using python version:

  • 2.7
  • 3.4
  • 3.5
  • 3.6
  • Other: 3.10

I installed PuLP via:

Did you also

Thanks. And sorry to hear about the regression: it's hard to test for jupyter notebooks since we do not have unit tests for that.

  1. Do you know if there's a way to add a test to be sure that a regression doesn't happen again?/ more broadly add a jupyter notebook test?
  2. Would you be able to add a new PR that adds back the changes?