Your message dated Sat, 29 Sep 2018 12:44:50 +0000
with message-id <e1g6ec6-0002vy...@fasolo.debian.org>
and subject line Bug#906701: fixed in peewee 3.7.0+dfsg-1
has caused the Debian Bug report #906701,
regarding peewee FTBFS with Python 3.7 as supported version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
906701: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906701
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: peewee
Version: 2.10.2+dfsg-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=peewee&suite=sid

...
============================= test session starts ==============================
platform linux -- Python 3.7.0, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /<<BUILDDIR>>/peewee-2.10.2+dfsg, inifile:
collected 383 items

tests.py ............................................................... [ 16%]
........................................................................ [ 35%]
........................................................................ [ 54%]
........................................................................ [ 72%]
.......................FFF.............................................. [ 91%]
................................                                         [100%]

=================================== FAILURES ===================================
_____________________ TestQueryResultWrapper.test_iterator _____________________

self = <peewee.NaiveQueryResultWrapper object at 0x7f33bbd339b0>

    def iterator(self):
        while True:
>           yield self.iterate()

peewee.py:2353: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <peewee.NaiveQueryResultWrapper object at 0x7f33bbd339b0>

    def iterate(self):
        row = self.cursor.fetchone()
        if not row:
            self._populated = True
            if not getattr(self.cursor, 'name', None):
                self.cursor.close()
>           raise StopIteration
E           StopIteration

peewee.py:2345: StopIteration

The above exception was the direct cause of the following exception:

self = <playhouse.tests.test_query_results.TestQueryResultWrapper 
testMethod=test_iterator>

    def test_iterator(self):
        User.create_users(10)
    
        with self.assertQueryCount(1):
            qr = User.select().order_by(User.id).execute()
>           usernames = [u.username for u in qr.iterator()]

playhouse/tests/test_query_results.py:111: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <generator object QueryResultWrapper.iterator at 0x7f33bbdb71b0>

>   usernames = [u.username for u in qr.iterator()]
E   RuntimeError: generator raised StopIteration

playhouse/tests/test_query_results.py:111: RuntimeError
------------------------------ Captured log call -------------------------------
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "comment"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "blog"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "users"', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "users" ("id" INTEGER 
NOT NULL PRIMARY KEY, "username" VARCHAR(255) NOT NULL)', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "blog" ("pk" INTEGER NOT 
NULL PRIMARY KEY, "user_id" INTEGER NOT NULL, "title" VARCHAR(25) NOT NULL, 
"content" TEXT NOT NULL, "pub_date" DATETIME, FOREIGN KEY ("user_id") 
REFERENCES "users" ("id"))', [])
peewee.py                 3826 DEBUG    ('CREATE INDEX "blog_user_id" ON "blog" 
("user_id")', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "comment" ("id" INTEGER 
NOT NULL PRIMARY KEY, "blog_id" INTEGER NOT NULL, "comment" VARCHAR(255) NOT 
NULL, FOREIGN KEY ("blog_id") REFERENCES "blog" ("pk"))', [])
peewee.py                 3826 DEBUG    ('CREATE INDEX "comment_blog_id" ON 
"comment" ("blog_id")', [])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u1'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u2'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u3'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u4'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u5'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u6'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u7'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u8'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u9'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u10'])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 ORDER BY "t1"."id"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "comment"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "blog"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "users"', [])
________________ TestQueryResultWrapper.test_iterator_extended _________________

self = <peewee.NaiveQueryResultWrapper object at 0x7f33bbe94898>

    def iterator(self):
        while True:
>           yield self.iterate()

peewee.py:2353: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <peewee.NaiveQueryResultWrapper object at 0x7f33bbe94898>

    def iterate(self):
        row = self.cursor.fetchone()
        if not row:
            self._populated = True
            if not getattr(self.cursor, 'name', None):
                self.cursor.close()
>           raise StopIteration
E           StopIteration

peewee.py:2345: StopIteration

The above exception was the direct cause of the following exception:

self = <playhouse.tests.test_query_results.TestQueryResultWrapper 
testMethod=test_iterator_extended>

    def test_iterator_extended(self):
        User.create_users(10)
        for i in range(1, 4):
            for j in range(i):
                Blog.create(
                    title='blog-%s-%s' % (i, j),
                    user=User.get(User.username == 'u%s' % i))
    
        qr = (User
              .select(
                  User.username,
                  fn.Count(Blog.pk).alias('ct'))
              .join(Blog)
              .where(User.username << ['u1', 'u2', 'u3'])
              .group_by(User)
              .order_by(User.id)
              .naive())
    
        accum = []
        with self.assertQueryCount(1):
>           for user in qr.iterator():
E           RuntimeError: generator raised StopIteration

playhouse/tests/test_query_results.py:158: RuntimeError
------------------------------ Captured log call -------------------------------
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "comment"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "blog"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "users"', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "users" ("id" INTEGER 
NOT NULL PRIMARY KEY, "username" VARCHAR(255) NOT NULL)', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "blog" ("pk" INTEGER NOT 
NULL PRIMARY KEY, "user_id" INTEGER NOT NULL, "title" VARCHAR(25) NOT NULL, 
"content" TEXT NOT NULL, "pub_date" DATETIME, FOREIGN KEY ("user_id") 
REFERENCES "users" ("id"))', [])
peewee.py                 3826 DEBUG    ('CREATE INDEX "blog_user_id" ON "blog" 
("user_id")', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "comment" ("id" INTEGER 
NOT NULL PRIMARY KEY, "blog_id" INTEGER NOT NULL, "comment" VARCHAR(255) NOT 
NULL, FOREIGN KEY ("blog_id") REFERENCES "blog" ("pk"))', [])
peewee.py                 3826 DEBUG    ('CREATE INDEX "comment_blog_id" ON 
"comment" ("blog_id")', [])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u1'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u2'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u3'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u4'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u5'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u6'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u7'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u8'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u9'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u10'])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 WHERE ("t1"."username" = ?) LIMIT 1 OFFSET 0', ['u1'])
peewee.py                 3826 DEBUG    ('INSERT INTO "blog" ("user_id", 
"title", "content") VALUES (?, ?, ?)', [1, 'blog-1-0', ''])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 WHERE ("t1"."username" = ?) LIMIT 1 OFFSET 0', ['u2'])
peewee.py                 3826 DEBUG    ('INSERT INTO "blog" ("user_id", 
"title", "content") VALUES (?, ?, ?)', [2, 'blog-2-0', ''])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 WHERE ("t1"."username" = ?) LIMIT 1 OFFSET 0', ['u2'])
peewee.py                 3826 DEBUG    ('INSERT INTO "blog" ("user_id", 
"title", "content") VALUES (?, ?, ?)', [2, 'blog-2-1', ''])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 WHERE ("t1"."username" = ?) LIMIT 1 OFFSET 0', ['u3'])
peewee.py                 3826 DEBUG    ('INSERT INTO "blog" ("user_id", 
"title", "content") VALUES (?, ?, ?)', [3, 'blog-3-0', ''])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 WHERE ("t1"."username" = ?) LIMIT 1 OFFSET 0', ['u3'])
peewee.py                 3826 DEBUG    ('INSERT INTO "blog" ("user_id", 
"title", "content") VALUES (?, ?, ?)', [3, 'blog-3-1', ''])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 WHERE ("t1"."username" = ?) LIMIT 1 OFFSET 0', ['u3'])
peewee.py                 3826 DEBUG    ('INSERT INTO "blog" ("user_id", 
"title", "content") VALUES (?, ?, ?)', [3, 'blog-3-2', ''])
peewee.py                 3826 DEBUG    ('SELECT "t1"."username", 
Count("t2"."pk") AS ct FROM "users" AS t1 INNER JOIN "blog" AS t2 ON ("t1"."id" 
= "t2"."user_id") WHERE ("t1"."username" IN (?, ?, ?)) GROUP BY "t1"."id", 
"t1"."username" ORDER BY "t1"."id"', ['u1', 'u2', 'u3'])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "comment"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "blog"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "users"', [])
______________ TestQueryResultWrapper.test_iterator_query_method _______________

self = <peewee.NaiveQueryResultWrapper object at 0x7f33bbea9cc0>

    def iterator(self):
        while True:
>           yield self.iterate()

peewee.py:2353: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <peewee.NaiveQueryResultWrapper object at 0x7f33bbea9cc0>

    def iterate(self):
        row = self.cursor.fetchone()
        if not row:
            self._populated = True
            if not getattr(self.cursor, 'name', None):
                self.cursor.close()
>           raise StopIteration
E           StopIteration

peewee.py:2345: StopIteration

The above exception was the direct cause of the following exception:

self = <playhouse.tests.test_query_results.TestQueryResultWrapper 
testMethod=test_iterator_query_method>

    def test_iterator_query_method(self):
        User.create_users(10)
    
        with self.assertQueryCount(1):
            qr = User.select().order_by(User.id)
>           usernames = [u.username for u in qr.iterator()]

playhouse/tests/test_query_results.py:131: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <generator object QueryResultWrapper.iterator at 0x7f33bbe7d9a8>

>   usernames = [u.username for u in qr.iterator()]
E   RuntimeError: generator raised StopIteration

playhouse/tests/test_query_results.py:131: RuntimeError
------------------------------ Captured log call -------------------------------
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "comment"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "blog"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "users"', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "users" ("id" INTEGER 
NOT NULL PRIMARY KEY, "username" VARCHAR(255) NOT NULL)', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "blog" ("pk" INTEGER NOT 
NULL PRIMARY KEY, "user_id" INTEGER NOT NULL, "title" VARCHAR(25) NOT NULL, 
"content" TEXT NOT NULL, "pub_date" DATETIME, FOREIGN KEY ("user_id") 
REFERENCES "users" ("id"))', [])
peewee.py                 3826 DEBUG    ('CREATE INDEX "blog_user_id" ON "blog" 
("user_id")', [])
peewee.py                 3826 DEBUG    ('CREATE TABLE "comment" ("id" INTEGER 
NOT NULL PRIMARY KEY, "blog_id" INTEGER NOT NULL, "comment" VARCHAR(255) NOT 
NULL, FOREIGN KEY ("blog_id") REFERENCES "blog" ("pk"))', [])
peewee.py                 3826 DEBUG    ('CREATE INDEX "comment_blog_id" ON 
"comment" ("blog_id")', [])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u1'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u2'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u3'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u4'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u5'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u6'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u7'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u8'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u9'])
peewee.py                 3826 DEBUG    ('INSERT INTO "users" ("username") 
VALUES (?)', ['u10'])
peewee.py                 3826 DEBUG    ('SELECT "t1"."id", "t1"."username" 
FROM "users" AS t1 ORDER BY "t1"."id"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "comment"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "blog"', [])
peewee.py                 3826 DEBUG    ('DROP TABLE IF EXISTS "users"', [])
=============================== warnings summary ===============================
tests.py
  cannot collect 'test_db' because it is not a function.

tests.py::TestDatabase
  cannot collect test class 'TestDatabase' because it has a __init__ constructor

tests.py::TestModel
  cannot collect test class 'TestModel' because it has a __init__ constructor

tests.py::TestModelA
  cannot collect test class 'TestModelA' because it has a __init__ constructor

tests.py::TestModelB
  cannot collect test class 'TestModelB' because it has a __init__ constructor

tests.py::TestModelC
  cannot collect test class 'TestModelC' because it has a __init__ constructor

tests.py::TestingID
  cannot collect test class 'TestingID' because it has a __init__ constructor

-- Docs: http://doc.pytest.org/en/latest/warnings.html
=============== 3 failed, 380 passed, 7 warnings in 3.79 seconds ===============
make[1]: *** [debian/rules:43: override_dh_auto_test] Error 1

--- End Message ---
--- Begin Message ---
Source: peewee
Source-Version: 3.7.0+dfsg-1

We believe that the bug you reported is fixed in the latest version of
peewee, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 906...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <m...@debian.org> (supplier of updated peewee package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 29 Sep 2018 14:10:01 +0200
Source: peewee
Binary: python-peewee python3-peewee peewee python-peewee-doc
Architecture: source
Version: 3.7.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Christoph Berg <m...@debian.org>
Description:
 peewee     - Command line Tools for python peewee (Python 3)
 python-peewee - Simple ORM for PostgreSQL, MySQL and SQLite (Python 2)
 python-peewee-doc - Documentation pyhton peewee simple ORM
 python3-peewee - Simple ORM for PostgreSQL, MySQL and SQLite (Python 3)
Closes: 906701
Changes:
 peewee (3.7.0+dfsg-1) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/control: Set Vcs-* to salsa.debian.org
   * d/watch: Use https protocol
   * Use 'python3 -m sphinx' instead of sphinx-build for building docs
 .
   [ Christoph Berg ]
   * New upstream version, compatible with python3.7. (Closes: #906701)
   * Mark python-peewee-doc as Multi-Arch: foreign.
   * Build-depend on libsqlite3-dev and python(3)-setuptools.
   * debian/source/options: Ignore playhouse/_.*.c, generated even at clean
     time.
   * The pskel utility has been removed upstream.
   * Drop dh_auto_test override, the default works, and ./tests.py has been
     removed.
   * Include pkg-info.mk to fix html2man incantation.
Checksums-Sha1:
 7d7f8a8ad31572430b68b6b701d51a0f6adc4cdb 2336 peewee_3.7.0+dfsg-1.dsc
 865f9c9474f8637ded5bb65a538ad5c367239420 608927 peewee_3.7.0+dfsg.orig.tar.gz
 50ffac3d9669e8525e72d76ad0e76dbd79b5bd97 4156 peewee_3.7.0+dfsg-1.debian.tar.xz
Checksums-Sha256:
 71b9d264997ff0a1cadcf81737c3d4e47b67b4e0e6134c7c1ea9d2c57075f850 2336 
peewee_3.7.0+dfsg-1.dsc
 95ef3a0db7c786de49ba35102ff4a059334945746dbb5616a03feb0bc3fe52c9 608927 
peewee_3.7.0+dfsg.orig.tar.gz
 29a4a34c9512d342ff23d81d614229d467a30a3fbb4153f16effdf1b6a6efa8d 4156 
peewee_3.7.0+dfsg-1.debian.tar.xz
Files:
 fbf3f7fc941178f562fd3622b3c7a4f6 2336 python optional peewee_3.7.0+dfsg-1.dsc
 46bc8602055610910d70463db8016910 608927 python optional 
peewee_3.7.0+dfsg.orig.tar.gz
 5212d2a4aa2e477aa4c4b409bbaebd91 4156 python optional 
peewee_3.7.0+dfsg-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAluvbI4ACgkQTFprqxLS
p64Z4w//UflDM0qgwCE7iHwNu4LiUfmLX4awXDROgS10pDkDCU/QBu+2LtcHE/Gq
DYG30SOi+vp1SyapFpRCayoiFGyQ5jZhiBc5sWExydmlUANKD6nRHg+sWeCemysm
DGTmwXVSDzDpE1InC2EMRlMlPtRz+OlECmcDMY0A0TvEiNeyXb0BP0BR1XcoDi96
VvO8pGdNAyywroBL3Y2JP77UPmT8Kvx4/MBcF5ZNQXPB399Te/JzhPUJESDZuKuY
y9b6E/dYc865xOGvWer4WuafBgqWGgK0kgMezhs4ZecmltTdZBW6yyjTNQWHXaJ9
tYms0Oyr7lmY7amjJ90xyYKEpJtATlQT3rhjjMyMRvkKcu31Tte1/UZyIAv9RTE8
qL6TKPUe69pcrwbjVFesx0l3CPfnpoH9W2HTNkjDO2TR7XxOnlviz+ixm9IQd8Hv
JiY08AvnkPEDEBqBibY+aRGTR7GT4m3UKhD01sOoe7hMRc5w4K80EQ57HyVcU0e8
84yz4zpNR2ZswBrC0/DYMDWYut6d++qsAPdGxXJR63sMIsGf5u+Ot8mODm3Tjjtu
asayTWCH7WJOlul+IgVlKvkP7NDWUiEOn5iphqMzLYKPSZscf8NwvG3+wQxv9IoW
YiZg1y62c6aoJMeUp+CLgzqxLZsSCHjujtE91+BPhbPeKqa1Nh0=
=qan2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to