Date: Sat, 14 Sep 2019 03:52:55 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 240476] security/py-fido2: Add FreeBSD support Message-ID: <bug-240476-21822-GboaAtRVQt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240476-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-240476-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240476 Kubilay Kocak <koobs@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-patch --- Comment #15 from Kubilay Kocak <koobs@FreeBSD.org> --- Thanks Michael, nice work upstreaming. A couple of leftovers: - RUN_DEPENDS don't also need to be in TEST_DEPENDS (uhid-freebsd) - setup.py says uhid-freebsd>=1.2.1, RUN_DEPENDS says >=1.0. *_DEPENDS should match upstream requirements as closely as possible modulo any syntax limitations we have (we cant foo!=x.y right now for example) On the test suite with OS specific tests, upstreams should always 'skip' these tests if the environment isn't appropriate for the test. pytest and nose have very easy decorators upstreams can use to do this with various condition support) When test suites 'dont' skip inappropriate tests, one can usually (with most unittest frameworks), skip individual tests explicitly in the test invocation. For example with pytest you can -k 'not <expression>' and with nose you can -e{xclude} <regex> With unittest (in Python > 3.1) you can skipIf [1], i cant recall if there's a command line arg for skipping tests. Also, if the tests use 'unittest', then the Python package should probably tests_require on "unittest2; python_version < 3" [1] https://docs.python.org/3/library/unittest.html#unittest.skipIf -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240476-21822-GboaAtRVQt>
