opendp / opendp

The core library of differential privacy algorithms powering the OpenDP Project.

Home Page:https://opendp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python dev environment optional dependencies + CI

mccalluc opened this issue · comments

There are a few points in the code where we have special behavior if numpy is installed. We want want to:

  • Add numpy to requirements-dev ... although maybe indicate that's its actually optional?
  • Make sure tests work with or without numpy ... but probably not worth permanently expanding the test matrix?
  • And do the same for randomgen?

Maybe try all combinations, once, but not something to check on every commit? There is some fuzziness here... but I had just gotten used to three failing tests in my local environment, and that's not good either. Sorry!

Background:

  • #1037 was closed as won't-fix, then reopened, then closed by #1045, but that may have been a mistake.

This problem has been around for a while, but the desired behavior hasn't been clear.