j2kun / riemann-divisor-sum

Code for the series "Searching for Riemann Hypothesis Counterexamples"
https://jeremykun.com/2020/09/11/searching-for-rh-counterexamples-setting-up-pytest/
21 stars 2 forks source link

remove sqlite db implementation #6

Closed j2kun closed 3 years ago

j2kun commented 3 years ago

This pull request removes the sqlite database implementation, and cleans up the database test code so that the setup/teardown code is run automatically in each test case. See this doc for more details on the pytest config.

Now that we've settled on postgres, there is no need to continue to maintain the Sqlite implementation. It won't work anyway due to the need to store unbounded integers. If we want to reuse it later, we can always get the old implementation from the git history, so there is no reason to hold onto it. It is also getting in the way now that we're planning to make drastic changes to the database interface.