>>> py3-autopep8: Building community/py3-autopep8 2.1.0-r1 (using abuild 3.15.0-r0) started Sun, 12 Oct 2025 15:29:48 +0000 >>> py3-autopep8: Validating /home/udu/aports/community/py3-autopep8/APKBUILD... >>> py3-autopep8: Analyzing dependencies... >>> py3-autopep8: Installing for build: build-base py3-pycodestyle py3-tomli py3-gpep517 py3-setuptools py3-wheel py3-pytest WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/25) Installing py3-pycodestyle-pyc (2.13.0-r0) (2/25) Installing py3-pycodestyle (2.13.0-r0) (3/25) Installing py3-tomli (2.2.1-r0) (4/25) Installing py3-tomli-pyc (2.2.1-r0) (5/25) Installing py3-installer (0.7.0-r2) (6/25) Installing py3-installer-pyc (0.7.0-r2) (7/25) Installing py3-gpep517 (19-r0) (8/25) Installing py3-gpep517-pyc (19-r0) (9/25) Installing py3-parsing (3.2.3-r0) (10/25) Installing py3-parsing-pyc (3.2.3-r0) (11/25) Installing py3-packaging (25.0-r0) (12/25) Installing py3-packaging-pyc (25.0-r0) (13/25) Installing py3-setuptools (80.9.0-r0) (14/25) Installing py3-setuptools-pyc (80.9.0-r0) (15/25) Installing py3-wheel (0.46.1-r0) (16/25) Installing py3-wheel-pyc (0.46.1-r0) (17/25) Installing py3-iniconfig (2.1.0-r0) (18/25) Installing py3-iniconfig-pyc (2.1.0-r0) (19/25) Installing py3-pluggy (1.5.0-r0) (20/25) Installing py3-pluggy-pyc (1.5.0-r0) (21/25) Installing py3-py (1.11.0-r4) (22/25) Installing py3-py-pyc (1.11.0-r4) (23/25) Installing py3-pytest (8.3.5-r0) (24/25) Installing py3-pytest-pyc (8.3.5-r0) (25/25) Installing .makedepends-py3-autopep8 (20251012.152948) Executing busybox-1.37.0-r19.trigger OK: 310 MiB in 114 packages >>> py3-autopep8: Cleaning up srcdir >>> py3-autopep8: Cleaning up pkgdir >>> py3-autopep8: Cleaning up tmpdir >>> py3-autopep8: Fetching py3-autopep8-2.1.0.tar.gz::https://github.com/hhatto/autopep8/archive/refs/tags/v2.1.0.tar.gz >>> py3-autopep8: Fetching py3-autopep8-2.1.0.tar.gz::https://github.com/hhatto/autopep8/archive/refs/tags/v2.1.0.tar.gz >>> py3-autopep8: Checking sha512sums... py3-autopep8-2.1.0.tar.gz: OK >>> py3-autopep8: Unpacking /var/cache/distfiles/py3-autopep8-2.1.0.tar.gz... 2025-10-12 15:29:49,177 gpep517 INFO Building wheel via backend setuptools.build_meta /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.12/site-packages/setuptools/config/expand.py:128: SetuptoolsWarning: File '/home/udu/aports/community/py3-autopep8/src/autopep8-2.1.0/LICENSE.rst' cannot be found for path in _filter_existing_files(_filepaths) /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() 2025-10-12 15:29:49,223 root INFO running bdist_wheel /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() 2025-10-12 15:29:49,229 root INFO running build 2025-10-12 15:29:49,229 root INFO running build_py 2025-10-12 15:29:49,230 root INFO creating build/lib 2025-10-12 15:29:49,230 root INFO copying autopep8.py -> build/lib 2025-10-12 15:29:49,230 root INFO running egg_info 2025-10-12 15:29:49,231 root INFO creating autopep8.egg-info 2025-10-12 15:29:49,232 root INFO writing autopep8.egg-info/PKG-INFO 2025-10-12 15:29:49,232 root INFO writing dependency_links to autopep8.egg-info/dependency_links.txt 2025-10-12 15:29:49,232 root INFO writing entry points to autopep8.egg-info/entry_points.txt 2025-10-12 15:29:49,232 root INFO writing requirements to autopep8.egg-info/requires.txt 2025-10-12 15:29:49,232 root INFO writing top-level names to autopep8.egg-info/top_level.txt 2025-10-12 15:29:49,232 root INFO writing manifest file 'autopep8.egg-info/SOURCES.txt' 2025-10-12 15:29:49,234 root INFO reading manifest file 'autopep8.egg-info/SOURCES.txt' 2025-10-12 15:29:49,234 root INFO reading manifest template 'MANIFEST.in' 2025-10-12 15:29:49,234 root WARNING warning: no files found matching 'test/example' 2025-10-12 15:29:49,234 root WARNING warning: no files found matching 'test/example/x.py' 2025-10-12 15:29:49,234 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite' 2025-10-12 15:29:49,234 root WARNING warning: no previously-included files matching '*.py' found under directory 'test/suite/out' 2025-10-12 15:29:49,234 root WARNING warning: no previously-included files found matching '.travis.yml' 2025-10-12 15:29:49,234 root WARNING warning: no previously-included files found matching 'CONTRIBUTING.rst' 2025-10-12 15:29:49,234 root WARNING warning: no previously-included files found matching 'Makefile' 2025-10-12 15:29:49,234 root WARNING warning: no previously-included files found matching 'coveralls.bash' 2025-10-12 15:29:49,234 root WARNING warning: no previously-included files found matching 'hooks' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'hooks/pre-push' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'install_hooks.bash' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'test/.gitignore' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'test/acid.py' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'test/acid_pypi.py' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'test/suite' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'test/suite/out' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'test/vim_autopep8.py' 2025-10-12 15:29:49,235 root WARNING warning: no previously-included files found matching 'update_readme.py' 2025-10-12 15:29:49,235 root INFO adding license file 'LICENSE' 2025-10-12 15:29:49,235 root INFO adding license file 'AUTHORS.rst' 2025-10-12 15:29:49,236 root INFO writing manifest file 'autopep8.egg-info/SOURCES.txt' 2025-10-12 15:29:49,238 root INFO installing to build/bdist.linux-x86_64/wheel 2025-10-12 15:29:49,238 root INFO running install 2025-10-12 15:29:49,242 root INFO running install_lib 2025-10-12 15:29:49,243 root INFO creating build/bdist.linux-x86_64/wheel 2025-10-12 15:29:49,243 root INFO copying build/lib/autopep8.py -> build/bdist.linux-x86_64/wheel/. 2025-10-12 15:29:49,244 root INFO running install_egg_info 2025-10-12 15:29:49,245 root INFO Copying autopep8.egg-info to build/bdist.linux-x86_64/wheel/./autopep8-2.1.0-py3.12.egg-info 2025-10-12 15:29:49,245 root INFO running install_scripts 2025-10-12 15:29:49,246 root INFO creating build/bdist.linux-x86_64/wheel/autopep8-2.1.0.dist-info/WHEEL 2025-10-12 15:29:49,246 wheel INFO creating '/home/udu/aports/community/py3-autopep8/src/autopep8-2.1.0/.dist/.tmp-dfibcakt/autopep8-2.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2025-10-12 15:29:49,246 wheel INFO adding 'autopep8.py' 2025-10-12 15:29:49,246 wheel INFO adding 'autopep8-2.1.0.dist-info/licenses/AUTHORS.rst' 2025-10-12 15:29:49,246 wheel INFO adding 'autopep8-2.1.0.dist-info/licenses/LICENSE' 2025-10-12 15:29:49,247 wheel INFO adding 'autopep8-2.1.0.dist-info/METADATA' 2025-10-12 15:29:49,247 wheel INFO adding 'autopep8-2.1.0.dist-info/WHEEL' 2025-10-12 15:29:49,247 wheel INFO adding 'autopep8-2.1.0.dist-info/entry_points.txt' 2025-10-12 15:29:49,247 wheel INFO adding 'autopep8-2.1.0.dist-info/top_level.txt' 2025-10-12 15:29:49,247 wheel INFO adding 'autopep8-2.1.0.dist-info/RECORD' 2025-10-12 15:29:49,247 root INFO removing build/bdist.linux-x86_64/wheel 2025-10-12 15:29:49,247 gpep517 INFO The backend produced .dist/autopep8-2.1.0-py2.py3-none-any.whl autopep8-2.1.0-py2.py3-none-any.whl ============================================================================================================================================ test session starts ============================================================================================================================================= platform linux -- Python 3.12.11, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/udu/aports/community/py3-autopep8/src/autopep8-2.1.0 configfile: pyproject.toml collected 560 items test/test_autopep8.py ................................................................................................................................................................................................................................................................................ [ 48%] ..................s..............................................................s..............................................................................................F.FFF..........s.....................s..............s............s..........s................................... [100%] ================================================================================================================================================== FAILURES ================================================================================================================================================== _______________________________________________________________________________________________________________________ CommandLineTests.test_non_diff_with_exit_code_and_jobs_options _______________________________________________________________________________________________________________________ self = def test_non_diff_with_exit_code_and_jobs_options(self): line = "'abc'\n" with autopep8_subprocess(line, ['-j0', '--diff', '--exit-code']) as (result, retcode): self.assertEqual('', '\n'.join(result.split('\n')[3:])) > self.assertEqual(retcode, autopep8.EXIT_CODE_OK) E AssertionError: 1 != 0 test/test_autopep8.py:5441: AssertionError ____________________________________________________________________________________________________________________________________ CommandLineTests.test_parallel_jobs _____________________________________________________________________________________________________________________________________ self = def test_parallel_jobs(self): line = "'abc' \n" fixed = "'abc'\n" with temporary_file_context(line) as filename_a: with temporary_file_context(line) as filename_b: p = Popen(list(AUTOPEP8_CMD_TUPLE) + [filename_a, filename_b, '--jobs=3', '--in-place']) p.wait() with open(filename_a) as f: > self.assertEqual(fixed, f.read()) E AssertionError: "'abc'\n" != "'abc' \n" E - 'abc' E + 'abc' E ? ++ test/test_autopep8.py:5612: AssertionError ________________________________________________________________________________________________________________________ CommandLineTests.test_parallel_jobs_with_automatic_cpu_count ________________________________________________________________________________________________________________________ self = def test_parallel_jobs_with_automatic_cpu_count(self): line = "'abc' \n" fixed = "'abc'\n" with temporary_file_context(line) as filename_a: with temporary_file_context(line) as filename_b: p = Popen(list(AUTOPEP8_CMD_TUPLE) + [filename_a, filename_b, '--jobs=0', '--in-place']) p.wait() with open(filename_a) as f: > self.assertEqual(fixed, f.read()) E AssertionError: "'abc'\n" != "'abc' \n" E - 'abc' E + 'abc' E ? ++ test/test_autopep8.py:5676: AssertionError ____________________________________________________________________________________________________________________________ CommandLineTests.test_parallel_jobs_with_diff_option ____________________________________________________________________________________________________________________________ self = def test_parallel_jobs_with_diff_option(self): line = "'abc' \n" with temporary_file_context(line) as filename_a: with temporary_file_context(line) as filename_b: files = list(set([filename_a, filename_b])) p = Popen(list(AUTOPEP8_CMD_TUPLE) + files + ['--jobs=3', '--diff'], stdout=PIPE) p.wait() output = p.stdout.read().decode() output = output.replace("\r\n","\n") # windows compatibility p.stdout.close() actual_diffs = [] for filename in files: actual_diffs.append("""\ --- original/{filename} +++ fixed/{filename} @@ -1 +1 @@ -'abc' {blank} +'abc' """.format(filename=filename, blank="")) # in case the users IDE trims leaning whitespace > self.assertEqual(p.returncode, autopep8.EXIT_CODE_OK) E AssertionError: 1 != 0 test/test_autopep8.py:5639: AssertionError ========================================================================================================================================== short test summary info =========================================================================================================================================== FAILED test/test_autopep8.py::CommandLineTests::test_non_diff_with_exit_code_and_jobs_options - AssertionError: 1 != 0 FAILED test/test_autopep8.py::CommandLineTests::test_parallel_jobs - AssertionError: "'abc'\n" != "'abc' \n" FAILED test/test_autopep8.py::CommandLineTests::test_parallel_jobs_with_automatic_cpu_count - AssertionError: "'abc'\n" != "'abc' \n" FAILED test/test_autopep8.py::CommandLineTests::test_parallel_jobs_with_diff_option - AssertionError: 1 != 0 ================================================================================================================================== 4 failed, 549 passed, 7 skipped in 6.94s ================================================================================================================================== >>> ERROR: py3-autopep8: check failed >>> py3-autopep8: Uninstalling dependencies... (1/25) Purging .makedepends-py3-autopep8 (20251012.152948) (2/25) Purging py3-pycodestyle-pyc (2.13.0-r0) (3/25) Purging py3-pycodestyle (2.13.0-r0) (4/25) Purging py3-tomli-pyc (2.2.1-r0) (5/25) Purging py3-tomli (2.2.1-r0) (6/25) Purging py3-gpep517-pyc (19-r0) (7/25) Purging py3-gpep517 (19-r0) (8/25) Purging py3-installer-pyc (0.7.0-r2) (9/25) Purging py3-installer (0.7.0-r2) (10/25) Purging py3-setuptools-pyc (80.9.0-r0) (11/25) Purging py3-setuptools (80.9.0-r0) (12/25) Purging py3-wheel-pyc (0.46.1-r0) (13/25) Purging py3-wheel (0.46.1-r0) (14/25) Purging py3-pytest-pyc (8.3.5-r0) (15/25) Purging py3-pytest (8.3.5-r0) (16/25) Purging py3-iniconfig-pyc (2.1.0-r0) (17/25) Purging py3-iniconfig (2.1.0-r0) (18/25) Purging py3-packaging-pyc (25.0-r0) (19/25) Purging py3-packaging (25.0-r0) (20/25) Purging py3-parsing-pyc (3.2.3-r0) (21/25) Purging py3-parsing (3.2.3-r0) (22/25) Purging py3-pluggy-pyc (1.5.0-r0) (23/25) Purging py3-pluggy (1.5.0-r0) (24/25) Purging py3-py-pyc (1.11.0-r4) (25/25) Purging py3-py (1.11.0-r4) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages