From owner-freebsd-python@freebsd.org Tue Aug 8 10:35:45 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B6E3DD1E8F for ; Tue, 8 Aug 2017 10:35:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 834E07DB7E for ; Tue, 8 Aug 2017 10:35:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7E96EDD1E8C; Tue, 8 Aug 2017 10:35:45 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C78CDD1E8B for ; Tue, 8 Aug 2017 10:35:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A77B7DB7D for ; Tue, 8 Aug 2017 10:35:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v78AZjS1050983 for ; Tue, 8 Aug 2017 10:35:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 221311] [NEW PORT] databases/influxdb-python: InfluxDB Python client Date: Tue, 08 Aug 2017 10:35:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 10:35:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221311 --- Comment #7 from Kubilay Kocak --- (In reply to Konstantin Shapkin from comment #4) As far as "ImportError: No module named tests" goes: a) there is no tests/ directory (module) in the root b) there *is* an influxdb/tests directory (module) c) their CI (travis.yml/tox.ini) configuration runs: 'nosetests -v ...' directly d) (c) means they don't test their "python setup.py test" test entry point My guess is that tests/ was probably moved to influxdb/tests at some point,= and setup.py:test_suite was not updated (to 'influxdb.tests') to match. Since n= ose has good test discovery, it finds influxdb/tests without being pointed to i= t. This all means, you can probably run tests by either: 1) Patching setup.py:test_suite, settings its value to 'influxdb.tests' 2) use ${PYTHON_CMD} -m nose as the test command Personally, I would do (1), as I prefer to use the canonical 'pythonX.Y setup.py test' command, making it work if I have to (with patches), and submitting the changes/bugfixes upstream so projects know that people care. --=20 You are receiving this mail because: You are on the CC list for the bug.=