>>> py3-openapi-codec: Building testing/py3-openapi-codec 1.3.2-r8 (using abuild 3.11.0_rc13-r0) started Tue, 25 Apr 2023 18:31:11 +0000 >>> py3-openapi-codec: Checking sanity of /home/buildozer/aports/testing/py3-openapi-codec/APKBUILD... >>> WARNING: py3-openapi-codec: No maintainer >>> py3-openapi-codec: Analyzing dependencies... >>> py3-openapi-codec: Installing for build: build-base py3-core-api py3-setuptools py3-coverage py3-pytest py3-jinja2 py3-pycodestyle py3-pyflakes (1/54) Installing libbz2 (1.0.8-r5) (2/54) Installing libffi (3.4.4-r2) (3/54) Installing gdbm (1.23-r1) (4/54) Installing xz-libs (5.4.2-r1) (5/54) Installing mpdecimal (2.5.1-r2) (6/54) Installing libpanelw (6.4_p20230401-r6) (7/54) Installing readline (8.2.1-r1) (8/54) Installing sqlite-libs (3.41.2-r2) (9/54) Installing python3 (3.11.3-r10) (10/54) Installing python3-pycache-pyc0 (3.11.3-r10) (11/54) Installing pyc (0.1-r0) (12/54) Installing py3-coreschema-pyc (0.0.4-r8) (13/54) Installing py3-jinja2-pyc (3.1.2-r2) (14/54) Installing py3-itypes (1.2.0-r5) (15/54) Installing py3-itypes-pyc (1.2.0-r5) (16/54) Installing py3-certifi (2022.12.7-r2) (17/54) Installing py3-certifi-pyc (2022.12.7-r2) (18/54) Installing py3-charset-normalizer (3.1.0-r1) (19/54) Installing py3-charset-normalizer-pyc (3.1.0-r1) (20/54) Installing py3-idna (3.4-r4) (21/54) Installing py3-idna-pyc (3.4-r4) (22/54) Installing py3-urllib3 (1.26.15-r1) (23/54) Installing py3-urllib3-pyc (1.26.15-r1) (24/54) Installing py3-requests (2.28.2-r1) (25/54) Installing py3-requests-pyc (2.28.2-r1) (26/54) Installing py3-uritemplate (4.1.1-r2) (27/54) Installing py3-uritemplate-pyc (4.1.1-r2) (28/54) Installing py3-core-api-pyc (2.3.3-r10) (29/54) Installing py3-markupsafe-pyc (2.1.2-r1) (30/54) Installing python3-pyc (3.11.3-r10) (31/54) Installing py3-markupsafe (2.1.2-r1) (32/54) Installing py3-jinja2 (3.1.2-r2) (33/54) Installing py3-coreschema (0.0.4-r8) (34/54) Installing py3-core-api (2.3.3-r10) (35/54) Installing py3-parsing (3.0.9-r2) (36/54) Installing py3-parsing-pyc (3.0.9-r2) (37/54) Installing py3-packaging (23.1-r1) (38/54) Installing py3-packaging-pyc (23.1-r1) (39/54) Installing py3-setuptools (67.7.2-r0) (40/54) Installing py3-setuptools-pyc (67.7.2-r0) (41/54) Installing py3-coverage (6.5.0-r4) (42/54) Installing py3-coverage-pyc (6.5.0-r4) (43/54) Installing py3-iniconfig (1.1.1-r6) (44/54) Installing py3-iniconfig-pyc (1.1.1-r6) (45/54) Installing py3-pluggy (1.0.0-r3) (46/54) Installing py3-pluggy-pyc (1.0.0-r3) (47/54) Installing py3-py (1.11.0-r2) (48/54) Installing py3-py-pyc (1.11.0-r2) (49/54) Installing py3-pytest (7.3.1-r1) (50/54) Installing py3-pytest-pyc (7.3.1-r1) (51/54) Installing py3-pycodestyle (2.10.0-r1) (52/54) Installing py3-pyflakes (3.0.1-r1) (53/54) Installing py3-pyflakes-pyc (3.0.1-r1) (54/54) Installing .makedepends-py3-openapi-codec (20230425.183113) Executing busybox-1.36.0-r8.trigger OK: 453 MiB in 155 packages >>> py3-openapi-codec: Cleaning up srcdir >>> py3-openapi-codec: Cleaning up pkgdir >>> py3-openapi-codec: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-openapi-codec-1.3.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14224 100 14224 0 0 141k 0 --:--:-- --:--:-- --:--:-- 143k >>> py3-openapi-codec: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-openapi-codec-1.3.2.tar.gz >>> py3-openapi-codec: Checking sha512sums... py3-openapi-codec-1.3.2.tar.gz: OK disable-flake8-tests-that-requires-pyflake15.patch: OK >>> py3-openapi-codec: Unpacking /var/cache/distfiles/edge/py3-openapi-codec-1.3.2.tar.gz... >>> py3-openapi-codec: disable-flake8-tests-that-requires-pyflake15.patch patching file runtests ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 rootdir: /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2 collected 8 items tests/test_decode.py . [ 12%] tests/test_encode.py ...... [ 87%] tests/test_mappings.py . [100%] =============================== warnings summary =============================== ../../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121 /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) ../../../../../../../usr/lib/python3.11/site-packages/coreapi/codecs/download.py:5 /usr/lib/python3.11/site-packages/coreapi/codecs/download.py:5: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import cgi tests/test_encode.py::TestBasicInfo::test_host /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:33: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.swagger['host'], expected) tests/test_encode.py::TestBasicInfo::test_info /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:23: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.swagger['info'], expected) tests/test_encode.py::TestBasicInfo::test_schemes /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:38: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.swagger['schemes'], expected) tests/test_encode.py::TestBasicInfo::test_swagger_version /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:28: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.swagger['swagger'], expected) tests/test_encode.py::TestPaths::test_paths /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:75: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.swagger['paths'][self.path]['get'], expected) tests/test_encode.py::TestPaths::test_paths /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:86: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.swagger['paths'][self.path]['post'], expected) tests/test_encode.py::TestParameters::test_expected_fields /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:100: DeprecationWarning: Please use assertEqual instead. self.assertEquals(len(self.swagger), 1) tests/test_encode.py::TestParameters::test_expected_fields /home/buildozer/aports/testing/py3-openapi-codec/src/python-openapi-codec-1.3.2/tests/test_encode.py:108: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.swagger[0], expected) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 8 passed, 10 warnings in 0.80s ======================== Name Stmts Miss Cover ----------------------------------------------- openapi_codec/__init__.py 26 4 85% openapi_codec/decode.py 139 10 93% openapi_codec/encode.py 116 11 91% openapi_codec/utils.py 33 1 97% tests/__init__.py 0 0 100% tests/test_decode.py 11 0 100% tests/test_encode.py 46 0 100% tests/test_mappings.py 19 0 100% ----------------------------------------------- TOTAL 390 26 93% >>> py3-openapi-codec: Entering fakeroot... /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution >>> py3-openapi-codec-pyc*: Running split function pyc... '/home/buildozer/aports/testing/py3-openapi-codec/pkg/py3-openapi-codec/usr/lib/python3.11/site-packages/openapi_codec/__pycache__' -> '/home/buildozer/aports/testing/py3-openapi-codec/pkg/py3-openapi-codec-pyc/usr/lib/python3.11/site-packages/openapi_codec/__pycache__' >>> py3-openapi-codec-pyc*: Preparing subpackage py3-openapi-codec-pyc... >>> py3-openapi-codec-pyc*: Running postcheck for py3-openapi-codec-pyc >>> py3-openapi-codec*: Running postcheck for py3-openapi-codec >>> py3-openapi-codec*: Preparing package py3-openapi-codec... >>> py3-openapi-codec-pyc*: Tracing dependencies... py3-core-api python3~3.11 >>> py3-openapi-codec-pyc*: Package size: 56.0 KB >>> py3-openapi-codec-pyc*: Compressing data... >>> py3-openapi-codec-pyc*: Create checksum... >>> py3-openapi-codec-pyc*: Create py3-openapi-codec-pyc-1.3.2-r8.apk >>> py3-openapi-codec*: Tracing dependencies... py3-core-api python3~3.11 >>> py3-openapi-codec*: Package size: 80.0 KB >>> py3-openapi-codec*: Compressing data... >>> py3-openapi-codec*: Create checksum... >>> py3-openapi-codec*: Create py3-openapi-codec-1.3.2-r8.apk >>> py3-openapi-codec: Build complete at Tue, 25 Apr 2023 18:31:17 +0000 elapsed time 0h 0m 6s >>> py3-openapi-codec: Cleaning up srcdir >>> py3-openapi-codec: Cleaning up pkgdir >>> py3-openapi-codec: Uninstalling dependencies... (1/54) Purging .makedepends-py3-openapi-codec (20230425.183113) (2/54) Purging py3-core-api-pyc (2.3.3-r10) (3/54) Purging py3-core-api (2.3.3-r10) (4/54) Purging py3-coreschema-pyc (0.0.4-r8) (5/54) Purging py3-coreschema (0.0.4-r8) (6/54) Purging py3-itypes-pyc (1.2.0-r5) (7/54) Purging py3-itypes (1.2.0-r5) (8/54) Purging py3-requests-pyc (2.28.2-r1) (9/54) Purging py3-requests (2.28.2-r1) (10/54) Purging py3-certifi-pyc (2022.12.7-r2) (11/54) Purging py3-certifi (2022.12.7-r2) (12/54) Purging py3-charset-normalizer-pyc (3.1.0-r1) (13/54) Purging py3-charset-normalizer (3.1.0-r1) (14/54) Purging py3-idna-pyc (3.4-r4) (15/54) Purging py3-idna (3.4-r4) (16/54) Purging py3-urllib3-pyc (1.26.15-r1) (17/54) Purging py3-urllib3 (1.26.15-r1) (18/54) Purging py3-uritemplate-pyc (4.1.1-r2) (19/54) Purging py3-uritemplate (4.1.1-r2) (20/54) Purging py3-setuptools-pyc (67.7.2-r0) (21/54) Purging py3-setuptools (67.7.2-r0) (22/54) Purging py3-coverage-pyc (6.5.0-r4) (23/54) Purging py3-coverage (6.5.0-r4) (24/54) Purging py3-pytest-pyc (7.3.1-r1) (25/54) Purging py3-pytest (7.3.1-r1) (26/54) Purging py3-iniconfig-pyc (1.1.1-r6) (27/54) Purging py3-iniconfig (1.1.1-r6) (28/54) Purging py3-packaging-pyc (23.1-r1) (29/54) Purging py3-packaging (23.1-r1) (30/54) Purging py3-parsing-pyc (3.0.9-r2) (31/54) Purging py3-parsing (3.0.9-r2) (32/54) Purging py3-pluggy-pyc (1.0.0-r3) (33/54) Purging py3-pluggy (1.0.0-r3) (34/54) Purging py3-py-pyc (1.11.0-r2) (35/54) Purging py3-py (1.11.0-r2) (36/54) Purging py3-jinja2-pyc (3.1.2-r2) (37/54) Purging py3-jinja2 (3.1.2-r2) (38/54) Purging py3-markupsafe-pyc (2.1.2-r1) (39/54) Purging py3-markupsafe (2.1.2-r1) (40/54) Purging py3-pycodestyle (2.10.0-r1) (41/54) Purging py3-pyflakes-pyc (3.0.1-r1) (42/54) Purging py3-pyflakes (3.0.1-r1) (43/54) Purging python3-pyc (3.11.3-r10) (44/54) Purging python3-pycache-pyc0 (3.11.3-r10) (45/54) Purging pyc (0.1-r0) (46/54) Purging python3 (3.11.3-r10) (47/54) Purging gdbm (1.23-r1) (48/54) Purging libbz2 (1.0.8-r5) (49/54) Purging libffi (3.4.4-r2) (50/54) Purging libpanelw (6.4_p20230401-r6) (51/54) Purging mpdecimal (2.5.1-r2) (52/54) Purging readline (8.2.1-r1) (53/54) Purging sqlite-libs (3.41.2-r2) (54/54) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r8.trigger OK: 393 MiB in 101 packages >>> py3-openapi-codec: Updating the testing/x86_64 repository index... >>> py3-openapi-codec: Signing the index...