>>> py3-oauth2: Building community/py3-oauth2 1.9.0-r12 (using abuild 3.16.0_rc4-r0) started Mon, 10 Nov 2025 03:45:04 +0000 >>> py3-oauth2: Validating /home/buildozer/aports/community/py3-oauth2/APKBUILD... >>> py3-oauth2: Analyzing dependencies... >>> py3-oauth2: Installing for build: build-base py3-httplib2 py3-setuptools py3-gpep517 py3-wheel py3-mock py3-pytest ( 1/35) Installing gdbm (1.26-r0) ( 2/35) Installing xz-libs (5.8.1-r0) ( 3/35) Installing mpdecimal (4.0.1-r0) ( 4/35) Installing libpanelw (6.5_p20251010-r0) ( 5/35) Installing python3 (3.12.12-r0) ( 6/35) Installing python3-pycache-pyc0 (3.12.12-r0) ( 7/35) Installing pyc (3.12.12-r0) ( 8/35) Installing py3-parsing-pyc (3.2.3-r0) ( 9/35) Installing py3-httplib2-pyc (0.30.0-r0) (10/35) Installing python3-pyc (3.12.12-r0) (11/35) Installing py3-parsing (3.2.3-r0) (12/35) Installing py3-httplib2 (0.30.0-r0) (13/35) Installing py3-packaging (25.0-r0) (14/35) Installing py3-packaging-pyc (25.0-r0) (15/35) Installing py3-setuptools (80.9.0-r2) (16/35) Installing py3-setuptools-pyc (80.9.0-r2) (17/35) Installing py3-installer (0.7.0-r2) (18/35) Installing py3-installer-pyc (0.7.0-r2) (19/35) Installing py3-gpep517 (19-r1) (20/35) Installing py3-gpep517-pyc (19-r1) (21/35) Installing py3-wheel (0.46.1-r0) (22/35) Installing py3-wheel-pyc (0.46.1-r0) (23/35) Installing py3-mock (5.2.0-r0) (24/35) Installing py3-mock-pyc (5.2.0-r0) (25/35) Installing py3-iniconfig (2.3.0-r0) (26/35) Installing py3-iniconfig-pyc (2.3.0-r0) (27/35) Installing py3-pluggy (1.6.0-r0) (28/35) Installing py3-pluggy-pyc (1.6.0-r0) (29/35) Installing py3-py (1.11.0-r4) (30/35) Installing py3-py-pyc (1.11.0-r4) (31/35) Installing py3-pygments (2.19.2-r0) (32/35) Installing py3-pygments-pyc (2.19.2-r0) (33/35) Installing py3-pytest (8.4.2-r1) (34/35) Installing py3-pytest-pyc (8.4.2-r1) (35/35) Installing .makedepends-py3-oauth2 (20251110.034512) busybox-1.37.0-r24.trigger: Executing script... OK: 435 MiB in 186 packages >>> py3-oauth2: Cleaning up srcdir >>> py3-oauth2: Cleaning up pkgdir >>> py3-oauth2: Cleaning up tmpdir >>> py3-oauth2: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/oauth2-1.9.0.post1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.23/oauth2-1.9.0.post1.tar.gz.part' oauth2-1.9.0.post1.t 100% |********************************| 21306 0:00:00 ETA '/var/cache/distfiles/v3.23/oauth2-1.9.0.post1.tar.gz.part' saved /var/cache/distfiles/v3.23/oauth2-1.9.0.post1.tar.gz: OK /home/buildozer/aports/community/py3-oauth2/assertEquals.patch: OK >>> py3-oauth2: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/oauth2-1.9.0.post1.tar.gz /var/cache/distfiles/v3.23/oauth2-1.9.0.post1.tar.gz: OK /home/buildozer/aports/community/py3-oauth2/assertEquals.patch: OK >>> py3-oauth2: Unpacking /var/cache/distfiles/v3.23/oauth2-1.9.0.post1.tar.gz... >>> py3-oauth2: assertEquals.patch patching file tests/test_oauth.py 2025-11-10 03:45:13,012 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /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-11-10 03:45:13,040 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-11-10 03:45:13,060 root INFO running build 2025-11-10 03:45:13,060 root INFO running build_py 2025-11-10 03:45:13,065 root INFO creating build/lib/tests 2025-11-10 03:45:13,065 root INFO copying tests/__init__.py -> build/lib/tests 2025-11-10 03:45:13,065 root INFO copying tests/test_oauth.py -> build/lib/tests 2025-11-10 03:45:13,066 root INFO creating build/lib/oauth2 2025-11-10 03:45:13,066 root INFO copying oauth2/__init__.py -> build/lib/oauth2 2025-11-10 03:45:13,066 root INFO copying oauth2/_compat.py -> build/lib/oauth2 2025-11-10 03:45:13,067 root INFO copying oauth2/_version.py -> build/lib/oauth2 2025-11-10 03:45:13,067 root INFO creating build/lib/oauth2/clients 2025-11-10 03:45:13,067 root INFO copying oauth2/clients/__init__.py -> build/lib/oauth2/clients 2025-11-10 03:45:13,067 root INFO copying oauth2/clients/imap.py -> build/lib/oauth2/clients 2025-11-10 03:45:13,068 root INFO copying oauth2/clients/smtp.py -> build/lib/oauth2/clients 2025-11-10 03:45:13,076 root INFO installing to build/bdist.linux-armv8l/wheel 2025-11-10 03:45:13,076 root INFO running install 2025-11-10 03:45:13,087 root INFO running install_lib 2025-11-10 03:45:13,091 root INFO creating build/bdist.linux-armv8l/wheel 2025-11-10 03:45:13,091 root INFO creating build/bdist.linux-armv8l/wheel/tests 2025-11-10 03:45:13,091 root INFO copying build/lib/tests/__init__.py -> build/bdist.linux-armv8l/wheel/./tests 2025-11-10 03:45:13,092 root INFO copying build/lib/tests/test_oauth.py -> build/bdist.linux-armv8l/wheel/./tests 2025-11-10 03:45:13,092 root INFO creating build/bdist.linux-armv8l/wheel/oauth2 2025-11-10 03:45:13,092 root INFO copying build/lib/oauth2/__init__.py -> build/bdist.linux-armv8l/wheel/./oauth2 2025-11-10 03:45:13,093 root INFO copying build/lib/oauth2/_compat.py -> build/bdist.linux-armv8l/wheel/./oauth2 2025-11-10 03:45:13,093 root INFO creating build/bdist.linux-armv8l/wheel/oauth2/clients 2025-11-10 03:45:13,093 root INFO copying build/lib/oauth2/clients/__init__.py -> build/bdist.linux-armv8l/wheel/./oauth2/clients 2025-11-10 03:45:13,093 root INFO copying build/lib/oauth2/clients/imap.py -> build/bdist.linux-armv8l/wheel/./oauth2/clients 2025-11-10 03:45:13,093 root INFO copying build/lib/oauth2/clients/smtp.py -> build/bdist.linux-armv8l/wheel/./oauth2/clients 2025-11-10 03:45:13,094 root INFO copying build/lib/oauth2/_version.py -> build/bdist.linux-armv8l/wheel/./oauth2 2025-11-10 03:45:13,094 root INFO running install_egg_info 2025-11-10 03:45:13,098 root INFO running egg_info 2025-11-10 03:45:13,101 root INFO writing oauth2.egg-info/PKG-INFO 2025-11-10 03:45:13,101 root INFO writing dependency_links to oauth2.egg-info/dependency_links.txt 2025-11-10 03:45:13,102 root INFO writing requirements to oauth2.egg-info/requires.txt 2025-11-10 03:45:13,102 root INFO writing top-level names to oauth2.egg-info/top_level.txt 2025-11-10 03:45:13,106 root INFO reading manifest file 'oauth2.egg-info/SOURCES.txt' 2025-11-10 03:45:13,107 root INFO writing manifest file 'oauth2.egg-info/SOURCES.txt' 2025-11-10 03:45:13,108 root INFO Copying oauth2.egg-info to build/bdist.linux-armv8l/wheel/./oauth2-1.9.0.post1-py3.12.egg-info 2025-11-10 03:45:13,109 root INFO running install_scripts 2025-11-10 03:45:13,110 root INFO creating build/bdist.linux-armv8l/wheel/oauth2-1.9.0.post1.dist-info/WHEEL 2025-11-10 03:45:13,110 wheel INFO creating '/home/buildozer/aports/community/py3-oauth2/src/oauth2-1.9.0.post1/.dist/.tmp-jr22pdzg/oauth2-1.9.0.post1-py2.py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2025-11-10 03:45:13,111 wheel INFO adding 'oauth2/__init__.py' 2025-11-10 03:45:13,111 wheel INFO adding 'oauth2/_compat.py' 2025-11-10 03:45:13,111 wheel INFO adding 'oauth2/_version.py' 2025-11-10 03:45:13,112 wheel INFO adding 'oauth2/clients/__init__.py' 2025-11-10 03:45:13,112 wheel INFO adding 'oauth2/clients/imap.py' 2025-11-10 03:45:13,112 wheel INFO adding 'oauth2/clients/smtp.py' 2025-11-10 03:45:13,112 wheel INFO adding 'tests/__init__.py' 2025-11-10 03:45:13,113 wheel INFO adding 'tests/test_oauth.py' 2025-11-10 03:45:13,113 wheel INFO adding 'oauth2-1.9.0.post1.dist-info/METADATA' 2025-11-10 03:45:13,113 wheel INFO adding 'oauth2-1.9.0.post1.dist-info/WHEEL' 2025-11-10 03:45:13,113 wheel INFO adding 'oauth2-1.9.0.post1.dist-info/top_level.txt' 2025-11-10 03:45:13,114 wheel INFO adding 'oauth2-1.9.0.post1.dist-info/zip-safe' 2025-11-10 03:45:13,114 wheel INFO adding 'oauth2-1.9.0.post1.dist-info/RECORD' 2025-11-10 03:45:13,114 root INFO removing build/bdist.linux-armv8l/wheel 2025-11-10 03:45:13,115 gpep517 INFO The backend produced .dist/oauth2-1.9.0.post1-py2.py3-none-any.whl oauth2-1.9.0.post1-py2.py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.12, pytest-8.4.2, pluggy-1.6.0 -- /home/buildozer/aports/community/py3-oauth2/src/oauth2-1.9.0.post1/.testenv/bin/python3 cachedir: .pytest_cache rootdir: /home/buildozer/aports/community/py3-oauth2/src/oauth2-1.9.0.post1 collecting ... collected 85 items tests/test_oauth.py::TestError::test_message PASSED [ 1%] tests/test_oauth.py::TestError::test_str PASSED [ 2%] tests/test_oauth.py::TestGenerateFunctions::test_build_auth_header PASSED [ 3%] tests/test_oauth.py::TestGenerateFunctions::test_build_xoauth_string PASSED [ 4%] tests/test_oauth.py::TestGenerateFunctions::test_escape PASSED [ 5%] tests/test_oauth.py::TestGenerateFunctions::test_gen_nonce PASSED [ 7%] tests/test_oauth.py::TestGenerateFunctions::test_gen_timestamp PASSED [ 8%] tests/test_oauth.py::TestGenerateFunctions::test_gen_verifier PASSED [ 9%] tests/test_oauth.py::TestConsumer::test_basic PASSED [ 10%] tests/test_oauth.py::TestConsumer::test_init PASSED [ 11%] tests/test_oauth.py::TestConsumer::test_str PASSED [ 12%] tests/test_oauth.py::TestToken::test___str__ PASSED [ 14%] tests/test_oauth.py::TestToken::test_basic PASSED [ 15%] tests/test_oauth.py::TestToken::test_from_string PASSED [ 16%] tests/test_oauth.py::TestToken::test_get_callback_url PASSED [ 17%] tests/test_oauth.py::TestToken::test_init PASSED [ 18%] tests/test_oauth.py::TestToken::test_set_callback PASSED [ 20%] tests/test_oauth.py::TestToken::test_set_verifier PASSED [ 21%] tests/test_oauth.py::TestToken::test_to_string PASSED [ 22%] tests/test_oauth.py::TestFuncs::test_to_unicode PASSED [ 23%] tests/test_oauth.py::TestFuncs::test_to_unicode_if_string PASSED [ 24%] tests/test_oauth.py::TestFuncs::test_to_unicode_optional_iterator PASSED [ 25%] tests/test_oauth.py::TestFuncs::test_to_utf8 PASSED [ 27%] tests/test_oauth.py::TestFuncs::test_to_utf8_if_string PASSED [ 28%] tests/test_oauth.py::TestFuncs::test_to_utf8_optional_iterator PASSED [ 29%] tests/test_oauth.py::TestRequest::test__init__ PASSED [ 30%] tests/test_oauth.py::TestRequest::test_bad_url PASSED [ 31%] tests/test_oauth.py::TestRequest::test_deleter PASSED [ 32%] tests/test_oauth.py::TestRequest::test_from_consumer_and_token PASSED [ 34%] tests/test_oauth.py::TestRequest::test_from_request PASSED [ 35%] tests/test_oauth.py::TestRequest::test_from_request_is_case_insensitive_checking_for_auth PASSED [ 36%] tests/test_oauth.py::TestRequest::test_from_request_works_with_wsgi PASSED [ 37%] tests/test_oauth.py::TestRequest::test_from_token_and_callback PASSED [ 38%] tests/test_oauth.py::TestRequest::test_get_nonoauth_parameters PASSED [ 40%] tests/test_oauth.py::TestRequest::test_get_normalized_parameters PASSED [ 41%] tests/test_oauth.py::TestRequest::test_get_normalized_parameters_duplicate PASSED [ 42%] tests/test_oauth.py::TestRequest::test_get_normalized_parameters_empty PASSED [ 43%] tests/test_oauth.py::TestRequest::test_get_normalized_parameters_from_url PASSED [ 44%] tests/test_oauth.py::TestRequest::test_get_normalized_parameters_ignores_auth_signature PASSED [ 45%] tests/test_oauth.py::TestRequest::test_get_normalized_parameters_multiple PASSED [ 47%] tests/test_oauth.py::TestRequest::test_get_normalized_string_escapes_spaces_properly PASSED [ 48%] tests/test_oauth.py::TestRequest::test_get_parameter PASSED [ 49%] tests/test_oauth.py::TestRequest::test_no_url_set PASSED [ 50%] tests/test_oauth.py::TestRequest::test_request_hash_of_body PASSED [ 51%] tests/test_oauth.py::TestRequest::test_request_nonutf8_bytes PASSED [ 52%] tests/test_oauth.py::TestRequest::test_set_signature_method PASSED [ 54%] tests/test_oauth.py::TestRequest::test_setter PASSED [ 55%] tests/test_oauth.py::TestRequest::test_sign_request PASSED [ 56%] tests/test_oauth.py::TestRequest::test_signature_base_bytes_nonascii_nonutf8_urlencoded PASSED [ 57%] tests/test_oauth.py::TestRequest::test_signature_base_string_bytes_nonascii_nonutf8 PASSED [ 58%] tests/test_oauth.py::TestRequest::test_signature_base_string_with_matrix_params PASSED [ 60%] tests/test_oauth.py::TestRequest::test_signature_base_string_with_query PASSED [ 61%] tests/test_oauth.py::TestRequest::test_signature_base_unicode_nonascii PASSED [ 62%] tests/test_oauth.py::TestRequest::test_signature_base_unicode_nonascii_nonutf8_url_encoded PASSED [ 63%] tests/test_oauth.py::TestRequest::test_signing_base PASSED [ 64%] tests/test_oauth.py::TestRequest::test_to_header PASSED [ 65%] tests/test_oauth.py::TestRequest::test_to_postdata PASSED [ 67%] tests/test_oauth.py::TestRequest::test_to_postdata_nonascii PASSED [ 68%] tests/test_oauth.py::TestRequest::test_to_url PASSED [ 69%] tests/test_oauth.py::TestRequest::test_to_url_nonascii PASSED [ 70%] tests/test_oauth.py::TestRequest::test_to_url_with_query PASSED [ 71%] tests/test_oauth.py::TestRequest::test_to_url_works_with_non_ascii_parameters PASSED [ 72%] tests/test_oauth.py::TestRequest::test_unset_consumer_and_token PASSED [ 74%] tests/test_oauth.py::TestRequest::test_url PASSED [ 75%] tests/test_oauth.py::TestRequest::test_url_query PASSED [ 76%] tests/test_oauth.py::TestServer::test_add_signature_method PASSED [ 77%] tests/test_oauth.py::TestServer::test_build_authenticate_header PASSED [ 78%] tests/test_oauth.py::TestServer::test_init PASSED [ 80%] tests/test_oauth.py::TestServer::test_invalid_signature_method PASSED [ 81%] tests/test_oauth.py::TestServer::test_invalid_version PASSED [ 82%] tests/test_oauth.py::TestServer::test_missing_signature PASSED [ 83%] tests/test_oauth.py::TestServer::test_no_version PASSED [ 84%] tests/test_oauth.py::TestServer::test_verify_request PASSED [ 85%] tests/test_oauth.py::TestServer::test_verify_request_invalid_signature PASSED [ 87%] tests/test_oauth.py::TestServer::test_verify_request_invalid_timestamp PASSED [ 88%] tests/test_oauth.py::TestServer::test_verify_request_missing_signature PASSED [ 89%] tests/test_oauth.py::TestClient::test_access_token_get FAILED [ 90%] tests/test_oauth.py::TestClient::test_access_token_post FAILED [ 91%] tests/test_oauth.py::TestClient::test_init PASSED [ 92%] tests/test_oauth.py::TestClient::test_init_passes_kwargs_to_httplib2 PASSED [ 94%] tests/test_oauth.py::TestClient::test_multipart_post_does_not_alter_body PASSED [ 95%] tests/test_oauth.py::TestClient::test_multiple_values_for_a_key PASSED [ 96%] tests/test_oauth.py::TestClient::test_two_legged_get FAILED [ 97%] tests/test_oauth.py::TestClient::test_two_legged_post FAILED [ 98%] tests/test_oauth.py::TestClient::test_url_with_query_string PASSED [100%] =================================== FAILURES =================================== _______________________ TestClient.test_access_token_get _______________________ self = def test_access_token_get(self): """Test getting an access token via GET.""" client = oauth.Client(self.consumer, None) resp, content = client.request(self._uri('request_token'), "GET") > self.assertEqual(int(resp['status']), 200) E AssertionError: 500 != 200 tests/test_oauth.py:1513: AssertionError ______________________ TestClient.test_access_token_post _______________________ self = def test_access_token_post(self): """Test getting an access token via POST.""" client = oauth.Client(self.consumer, None) resp, content = client.request(self._uri('request_token'), "POST") > self.assertEqual(int(resp['status']), 200) E AssertionError: 500 != 200 tests/test_oauth.py:1520: AssertionError ________________________ TestClient.test_two_legged_get ________________________ self = def test_two_legged_get(self): """A test of a two-legged OAuth GET request.""" resp, content = self._two_legged("GET") > self.assertEqual(int(resp['status']), 200) E AssertionError: 500 != 200 tests/test_oauth.py:1541: AssertionError _______________________ TestClient.test_two_legged_post ________________________ self = def test_two_legged_post(self): """A test of a two-legged OAuth POST request.""" resp, content = self._two_legged("POST") > self.assertEqual(int(resp['status']), 200) E AssertionError: 500 != 200 tests/test_oauth.py:1536: AssertionError =============================== warnings summary =============================== oauth2/_version.py:17 /home/buildozer/aports/community/py3-oauth2/src/oauth2-1.9.0.post1/oauth2/_version.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. __version__ = distutils_Version(verstr) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_oauth.py::TestClient::test_access_token_get - AssertionErro... FAILED tests/test_oauth.py::TestClient::test_access_token_post - AssertionErr... FAILED tests/test_oauth.py::TestClient::test_two_legged_get - AssertionError:... FAILED tests/test_oauth.py::TestClient::test_two_legged_post - AssertionError... =================== 4 failed, 81 passed, 1 warning in 0.68s ==================== >>> ERROR: py3-oauth2: check failed >>> py3-oauth2: Uninstalling dependencies... ( 1/35) Purging .makedepends-py3-oauth2 (20251110.034512) ( 2/35) Purging py3-httplib2-pyc (0.30.0-r0) ( 3/35) Purging py3-httplib2 (0.30.0-r0) ( 4/35) Purging py3-setuptools-pyc (80.9.0-r2) ( 5/35) Purging py3-setuptools (80.9.0-r2) ( 6/35) Purging py3-gpep517-pyc (19-r1) ( 7/35) Purging py3-gpep517 (19-r1) ( 8/35) Purging py3-installer-pyc (0.7.0-r2) ( 9/35) Purging py3-installer (0.7.0-r2) (10/35) Purging py3-wheel-pyc (0.46.1-r0) (11/35) Purging py3-wheel (0.46.1-r0) (12/35) Purging py3-mock-pyc (5.2.0-r0) (13/35) Purging py3-mock (5.2.0-r0) (14/35) Purging py3-pytest-pyc (8.4.2-r1) (15/35) Purging py3-pytest (8.4.2-r1) (16/35) Purging py3-iniconfig-pyc (2.3.0-r0) (17/35) Purging py3-iniconfig (2.3.0-r0) (18/35) Purging py3-packaging-pyc (25.0-r0) (19/35) Purging py3-packaging (25.0-r0) (20/35) Purging py3-parsing-pyc (3.2.3-r0) (21/35) Purging py3-parsing (3.2.3-r0) (22/35) Purging py3-pluggy-pyc (1.6.0-r0) (23/35) Purging py3-pluggy (1.6.0-r0) (24/35) Purging py3-py-pyc (1.11.0-r4) (25/35) Purging py3-py (1.11.0-r4) (26/35) Purging py3-pygments-pyc (2.19.2-r0) (27/35) Purging py3-pygments (2.19.2-r0) (28/35) Purging python3-pyc (3.12.12-r0) (29/35) Purging python3-pycache-pyc0 (3.12.12-r0) (30/35) Purging pyc (3.12.12-r0) (31/35) Purging python3 (3.12.12-r0) (32/35) Purging gdbm (1.26-r0) (33/35) Purging libpanelw (6.5_p20251010-r0) (34/35) Purging mpdecimal (4.0.1-r0) (35/35) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 382 MiB in 151 packages