[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2
From: |
Christopher Allan Webber |
Subject: |
Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2 |
Date: |
Sun, 21 Feb 2016 18:38:51 -0800 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
Danny Milosavljevic writes:
> Hi,
>
> On Fri, 19 Feb 2016 16:22:58 -0500
> Leo Famulari <address@hidden> wrote:
>
>> > + `(#:tests? #f)) ; TODO re-enable
>>
>> Why are the tests disabled?
>
> Because it would require a postgresql database "psycopg2_test" and a
> running postgresql database management service.
>
> Not sure what the usual way to do that is. Should it create the db on
> a temporary dbms service on-the-fly and drop it later?
>
> Or we could mock out the server and just have it return constant stuff
> as if it was postgresql. Is that already available somewhere?
My personal suggestion would be to push to master without the tests for
now, and add a comment explaining why this is hard. I think someone
needs to figure out a nice way to spin up a mini-service for running
postgres during tests; some of my stuff could use that too. But we
should merge and push this with an additional comment.
- [PATCH] gnu: Add python-psycopg2, python2-psycopg2, Danny Milosavljevic, 2016/02/19
- Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2, Leo Famulari, 2016/02/19
- Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2, Danny Milosavljevic, 2016/02/21
- Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2,
Christopher Allan Webber <=
- [PATCH v2] gnu: Add python-psycopg2, python2-psycopg2, Danny Milosavljevic, 2016/02/24
- Re: [PATCH v2] gnu: Add python-psycopg2, python2-psycopg2, Christopher Allan Webber, 2016/02/24
- [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Danny Milosavljevic, 2016/02/24
- Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Christopher Allan Webber, 2016/02/25
- Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Leo Famulari, 2016/02/25
- Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Christopher Allan Webber, 2016/02/25
- Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Leo Famulari, 2016/02/25
- Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Danny Milosavljevic, 2016/02/25
- Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Christopher Allan Webber, 2016/02/25
- Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2, Leo Famulari, 2016/02/25