Extremely sorry for the wrong patch.

Here's the fixed patch that did apply and made the package build in an
isolated environment:

Description: Skip test_core_size of the prlimit suite
Author: Andrey Feofilaktov <[email protected]>
Last-Update: 2023-11-20

---

This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: python-oslo.concurrency-5.2.0/debian/rules
===================================================================
--- python-oslo.concurrency-5.2.0.orig/debian/rules
+++ python-oslo.concurrency-5.2.0/debian/rules
@@ -19,8 +19,8 @@ override_dh_auto_install:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
  set -e ; set -x ; for i in $(PYTHON3S) ; do \
  rm -rf .stestr ;\
- PATH=$$PATH:$(CURDIR)/debian/exe-test
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages
PYTHON=python$$i TEST_EVENTLET=0 lockutils-wrapper stestr run --parallel
--subunit
'oslo_concurrency\.tests\.unit\.(?!test_processutils\.PrlimitTestCase\.test_setrlimit_error)'
| subunit2pyunit ; \
- PATH=$$PATH:$(CURDIR)/debian/exe-test
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages
PYTHON=python$$i TEST_EVENTLET=1 lockutils-wrapper stestr run --parallel
--subunit
'oslo_concurrency\.tests\.unit\.(?!test_processutils\.PrlimitTestCase\.test_setrlimit_error)'
| subunit2pyunit ; \
+ PATH=$$PATH:$(CURDIR)/debian/exe-test
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages
PYTHON=python$$i TEST_EVENTLET=0 lockutils-wrapper stestr run --parallel
--subunit
'oslo_concurrency\.tests\.unit\.(?!test_processutils\.PrlimitTestCase\.(test_setrlimit_error|test_core_size))'
| subunit2pyunit ; \
+ PATH=$$PATH:$(CURDIR)/debian/exe-test
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages
PYTHON=python$$i TEST_EVENTLET=1 lockutils-wrapper stestr run --parallel
--subunit
'oslo_concurrency\.tests\.unit\.(?!test_processutils\.PrlimitTestCase\.(test_setrlimit_error|test_core_size))'
| subunit2pyunit ; \
  done
 endif


-- 
Regards,
Andrey

Reply via email to