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

sqlite3 CLI executable should be checked for at configure time #29092

Open
embray opened this issue Jan 28, 2020 · 4 comments
Open

sqlite3 CLI executable should be checked for at configure time #29092

embray opened this issue Jan 28, 2020 · 4 comments

Comments

@embray
Copy link
Contributor

embray commented Jan 28, 2020

As I noted here #29002 introduces a small regression in case someone has libsqlite3 installed but not the sqlite3 executable.

I marked this a 'critical' just because it is a regression, albeit I think not a very severe one.

CC: @dimpase @isuruf @orlitzky @videlec

Component: build: configure

Issue created by migration from https://trac.sagemath.org/ticket/29092

@embray embray added this to the sage-9.1 milestone Jan 28, 2020
@orlitzky
Copy link
Contributor

comment:1

The practice of testing third-party software from within Sage's doctests is going to cause these problems more and more frequently. (I myself am guilty of adding doctests for maxima regressions to sage.)

In this case, why is the sage library testing the sqlite3 executable at all? The library doesn't use it. If anything, it belongs in a sqlite3 spkg-check... but I'm sure sqlite3's own test suite already ensures that the thing runs.

My suggestion: delete these tests.

@mkoeppe
Copy link
Member

mkoeppe commented Jan 30, 2020

comment:2

Replying to @orlitzky:

The practice of testing third-party software from within Sage's doctests is going to cause these problems more and more frequently. (I myself am guilty of adding doctests for maxima regressions to sage.)

In this case, why is the sage library testing the sqlite3 executable at all? The library doesn't use it. If anything, it belongs in a sqlite3 spkg-check... but I'm sure sqlite3's own test suite already ensures that the thing runs.

My suggestion: delete these tests.

I think we need to start distinguishing between sagelib tests and sage-the-distribution tests.

Instead of just deleting the tests, I think we should move sage-the-distribution tests from src (which is for sagelib) to somewhere in build (which is for sage-the-distribution). Downstream packagers would ignore the sage-the-distribution tests.

@mkoeppe
Copy link
Member

mkoeppe commented Jan 30, 2020

comment:3

Replying to @mkoeppe:

I think we should move sage-the-distribution tests from src (which is for sagelib) to somewhere in build (which is for sage-the-distribution). Downstream packagers would ignore the sage-the-distribution tests.

I've opened #29111 for such things.

@kliem kliem modified the milestones: sage-9.1, sage-9.2 Apr 14, 2020
@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Oct 8, 2020
@mkoeppe
Copy link
Member

mkoeppe commented Feb 13, 2021

comment:6

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants