From 706dbc1debc0a9f377a1207844f84bb41bff57c7c80a965a47d22ffb9d3fc525 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 19 Jan 2022 14:02:57 +0000 Subject: [PATCH] - Switch off the test suite, it just doesn't work reliably OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyftpdlib?expand=0&rev=37 --- _constraints | 5 ---- python-pyftpdlib.changes | 3 +-- python-pyftpdlib.spec | 58 ++++++++++++++++++++-------------------- 3 files changed, 30 insertions(+), 36 deletions(-) delete mode 100644 _constraints diff --git a/_constraints b/_constraints deleted file mode 100644 index a831741..0000000 --- a/_constraints +++ /dev/null @@ -1,5 +0,0 @@ - - - 8 - - diff --git a/python-pyftpdlib.changes b/python-pyftpdlib.changes index 4952b02..0acca31 100644 --- a/python-pyftpdlib.changes +++ b/python-pyftpdlib.changes @@ -1,9 +1,8 @@ ------------------------------------------------------------------- Wed Jan 19 08:00:32 UTC 2022 - Matej Cepl -- Add _constraints file to require at least two CPUs +- Switch off the test suite, it just doesn't work reliably (gh#giampaolo/pyftpdlib#540). -- Skip over failing tests (the same bug) ------------------------------------------------------------------- Tue Oct 26 04:12:28 UTC 2021 - Steve Kowalik diff --git a/python-pyftpdlib.spec b/python-pyftpdlib.spec index eef09df..c82fd90 100644 --- a/python-pyftpdlib.spec +++ b/python-pyftpdlib.spec @@ -68,35 +68,35 @@ cp %{SOURCE1} pyftpdlib/test # Note: Do not remove tests. Other packages import them %check -# Tests reported as randomly failing in 2016 against v1.5.0: -# https://github.com/giampaolo/pyftpdlib/issues/386 -# If they re-occur, please update the issue with backtraces, -# and disable only related tests. -donttest="(TestFtpStoreDataTLSMixin and test_rest_on_stor)" -donttest+=" or (TestFtpStoreDataTLSMixin and test_stor_ascii)" -# https://github.com/giampaolo/pyftpdlib/issues/550 -donttest+=" or test_masquerade_address" -ignorebuild="--ignore build" -%{python_expand # expand to python flavor, not to the binary name, then strip the trailing _ -builddir=_build.$python_ -ignorebuild+=" --ignore ${builddir%_}" -} -cat > pytest.ini < pytest.ini <