>>> py3-requests-cache: Building community/py3-requests-cache 1.0.1-r1 (using abuild 3.13.0-r3) started Wed, 08 May 2024 05:40:21 +0000 >>> py3-requests-cache: Checking sanity of /home/buildozer/aports/community/py3-requests-cache/APKBUILD... >>> py3-requests-cache: Analyzing dependencies... >>> py3-requests-cache: Installing for build: build-base py3-attrs py3-cattrs py3-platformdirs py3-requests py3-url-normalize py3-urllib3 py3-gpep517 py3-poetry-core py3-wheel py3-itsdangerous py3-mock py3-mongo py3-msgpack py3-orjson py3-pytest py3-pytest-xdist py3-requests-mock py3-responses py3-rich py3-timeout-decorator py3-ujson py3-yaml (1/93) Installing libbz2 (1.0.8-r6) (2/93) Installing libffi (3.4.6-r0) (3/93) Installing gdbm (1.23-r1) (4/93) Installing xz-libs (5.6.1-r3) (5/93) Installing mpdecimal (4.0.0-r0) (6/93) Installing libpanelw (6.4_p20240420-r0) (7/93) Installing readline (8.2.10-r0) (8/93) Installing sqlite-libs (3.45.3-r0) (9/93) Installing python3 (3.12.3-r1) (10/93) Installing python3-pycache-pyc0 (3.12.3-r1) (11/93) Installing pyc (3.12.3-r1) (12/93) Installing py3-attrs-pyc (23.2.0-r1) (13/93) Installing python3-pyc (3.12.3-r1) (14/93) Installing py3-attrs (23.2.0-r1) (15/93) Installing py3-cattrs (23.2.3-r1) (16/93) Installing py3-cattrs-pyc (23.2.3-r1) (17/93) Installing py3-platformdirs (4.2.1-r0) (18/93) Installing py3-platformdirs-pyc (4.2.1-r0) (19/93) Installing py3-certifi (2024.2.2-r1) (20/93) Installing py3-certifi-pyc (2024.2.2-r1) (21/93) Installing py3-charset-normalizer (3.3.2-r1) (22/93) Installing py3-charset-normalizer-pyc (3.3.2-r1) (23/93) Installing py3-idna (3.7-r0) (24/93) Installing py3-idna-pyc (3.7-r0) (25/93) Installing py3-urllib3 (1.26.18-r1) (26/93) Installing py3-urllib3-pyc (1.26.18-r1) (27/93) Installing py3-requests (2.31.0-r2) (28/93) Installing py3-requests-pyc (2.31.0-r2) (29/93) Installing py3-url-normalize (1.4.3-r4) (30/93) Installing py3-url-normalize-pyc (1.4.3-r4) (31/93) Installing py3-installer (0.7.0-r2) (32/93) Installing py3-installer-pyc (0.7.0-r2) (33/93) Installing py3-gpep517 (15-r2) (34/93) Installing py3-gpep517-pyc (15-r2) (35/93) Installing py3-fastjsonschema (2.19.1-r2) (36/93) Installing py3-fastjsonschema-pyc (2.19.1-r2) (37/93) Installing py3-lark-parser (1.1.9-r1) (38/93) Installing py3-lark-parser-pyc (1.1.9-r1) (39/93) Installing py3-parsing (3.1.2-r1) (40/93) Installing py3-parsing-pyc (3.1.2-r1) (41/93) Installing py3-packaging (24.0-r1) (42/93) Installing py3-packaging-pyc (24.0-r1) (43/93) Installing py3-poetry-core (1.8.1-r1) (44/93) Installing py3-poetry-core-pyc (1.8.1-r1) (45/93) Installing py3-wheel (0.42.0-r1) (46/93) Installing py3-wheel-pyc (0.42.0-r1) (47/93) Installing py3-itsdangerous (2.1.2-r4) (48/93) Installing py3-itsdangerous-pyc (2.1.2-r4) (49/93) Installing py3-mock (5.1.0-r2) (50/93) Installing py3-mock-pyc (5.1.0-r2) (51/93) Installing py3-dnspython (2.6.1-r1) (52/93) Installing py3-dnspython-pyc (2.6.1-r1) (53/93) Installing py3-mongo (4.6.0-r1) (54/93) Installing py3-mongo-pyc (4.6.0-r1) (55/93) Installing py3-msgpack (1.0.8-r1) (56/93) Installing py3-msgpack-pyc (1.0.8-r1) (57/93) Installing py3-orjson (3.10.1-r0) (58/93) Installing py3-orjson-pyc (3.10.1-r0) (59/93) Installing py3-iniconfig (2.0.0-r1) (60/93) Installing py3-iniconfig-pyc (2.0.0-r1) (61/93) Installing py3-pluggy (1.5.0-r0) (62/93) Installing py3-pluggy-pyc (1.5.0-r0) (63/93) Installing py3-py (1.11.0-r3) (64/93) Installing py3-py-pyc (1.11.0-r3) (65/93) Installing py3-pytest (8.2.0-r0) (66/93) Installing py3-pytest-pyc (8.2.0-r0) (67/93) Installing py3-execnet (2.1.1-r0) (68/93) Installing py3-execnet-pyc (2.1.1-r0) (69/93) Installing py3-pytest-xdist (3.6.1-r0) (70/93) Installing py3-pytest-xdist-pyc (3.6.1-r0) (71/93) Installing py3-six (1.16.0-r9) (72/93) Installing py3-six-pyc (1.16.0-r9) (73/93) Installing py3-requests-mock (1.11.0-r1) (74/93) Installing py3-requests-mock-pyc (1.11.0-r1) (75/93) Installing py3-toml (0.10.2-r7) (76/93) Installing py3-toml-pyc (0.10.2-r7) (77/93) Installing yaml (0.2.5-r2) (78/93) Installing py3-yaml (6.0.1-r3) (79/93) Installing py3-yaml-pyc (6.0.1-r3) (80/93) Installing py3-responses (0.25.0-r1) (81/93) Installing py3-responses-pyc (0.25.0-r1) (82/93) Installing py3-mdurl (0.1.2-r3) (83/93) Installing py3-mdurl-pyc (0.1.2-r3) (84/93) Installing py3-markdown-it-py (3.0.0-r1) (85/93) Installing py3-markdown-it-py-pyc (3.0.0-r1) (86/93) Installing py3-pygments (2.17.2-r1) (87/93) Installing py3-pygments-pyc (2.17.2-r1) (88/93) Installing py3-rich (13.7.1-r1) (89/93) Installing py3-rich-pyc (13.7.1-r1) (90/93) Installing py3-timeout-decorator (0.5.0-r4) (91/93) Installing py3-timeout-decorator-pyc (0.5.0-r4) (92/93) Installing py3-ujson (5.9.0-r1) (93/93) Installing .makedepends-py3-requests-cache (20240508.054031) Executing busybox-1.36.1-r26.trigger OK: 306 MiB in 195 packages >>> py3-requests-cache: Cleaning up srcdir >>> py3-requests-cache: Cleaning up pkgdir >>> py3-requests-cache: Cleaning up tmpdir >>> py3-requests-cache: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/py3-requests-cache-1.0.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/py3-requests-cache-1.0.1.tar.gz.part' py3-requests-cache-1 100% |********************************| 2845k 0:00:00 ETA '/var/cache/distfiles/py3-requests-cache-1.0.1.tar.gz.part' saved >>> py3-requests-cache: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/py3-requests-cache-1.0.1.tar.gz >>> py3-requests-cache: Checking sha512sums... py3-requests-cache-1.0.1.tar.gz: OK >>> py3-requests-cache: Unpacking /var/cache/distfiles/py3-requests-cache-1.0.1.tar.gz... 2024-05-08 05:40:35,668 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-05-08 05:40:36,359 poetry.core.masonry.builders.wheel INFO Building wheel fatal: not a git repository (or any of the parent directories): .git 2024-05-08 05:40:36,484 poetry.core.masonry.builders.wheel INFO Built requests_cache-1.0.1-py3-none-any.whl 2024-05-08 05:40:36,485 gpep517 INFO The backend produced .dist/requests_cache-1.0.1-py3-none-any.whl requests_cache-1.0.1-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.2.0, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1 configfile: pyproject.toml plugins: requests-mock-1.11.0, xdist-3.6.1 created: 64/64 workers 64 workers [369 items] ........................................................................ [ 19%] ........................................................................ [ 38%] ........................................................................ [ 57%] ......................................................................... [ 78%] ........................................................................ [ 97%] ........ [100%] =============================== warnings summary =============================== tests/conftest.py:68: 65 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/conftest.py:68: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). EXPIRED_DT = datetime.utcnow() - timedelta(1) tests/unit/models/test_response.py:38: 64 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/models/test_response.py:38: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). (datetime.utcnow() + timedelta(days=1), False), tests/unit/models/test_response.py:39: 64 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/models/test_response.py:39: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). (datetime.utcnow() - timedelta(days=1), True), tests/unit/policy/test_actions.py:21: 64 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/policy/test_actions.py:21: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). EXPIRED_RESPONSE = CachedResponse(expires=datetime.utcnow() - timedelta(1)) requests_cache/models/response.py:83: 64 warnings tests/compat/test_requests_mock_combine_cache.py: 1 warning tests/unit/policy/test_actions.py: 33 warnings tests/unit/models/test_response.py: 19 warnings tests/unit/models/test_raw_response.py: 1 warning tests/unit/models/test_request.py: 1 warning tests/unit/test_base_cache.py: 71 warnings tests/unit/test_session.py: 283 warnings tests/unit/test_serializers.py: 3 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/models/response.py:83: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). self.created_at = self.created_at or datetime.utcnow() tests/unit/test_base_cache.py:27: 64 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_base_cache.py:27: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). YESTERDAY = datetime.utcnow() - timedelta(days=1) tests/compat/test_requests_mock_combine_cache.py: 1 warning tests/unit/models/test_response.py: 10 warnings tests/unit/models/test_raw_response.py: 1 warning tests/unit/models/test_request.py: 1 warning tests/unit/test_base_cache.py: 53 warnings tests/unit/test_session.py: 303 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/models/response.py:57: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). response.created_at = datetime.utcnow() # type: ignore tests/unit/policy/test_actions.py::test_update_from_cached_response__revalidate[response_headers0-expected_validation_headers0] tests/unit/policy/test_actions.py::test_update_from_cached_response__revalidate[response_headers2-expected_validation_headers2] tests/unit/policy/test_actions.py::test_update_from_cached_response__revalidate[response_headers1-expected_validation_headers1] tests/unit/policy/test_actions.py::test_update_from_cached_response__revalidate[response_headers3-expected_validation_headers3] /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/policy/test_actions.py:178: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). headers=response_headers, expires=datetime.utcnow() - timedelta(1) tests/unit/policy/test_actions.py: 50 warnings tests/unit/models/test_response.py: 9 warnings tests/unit/test_base_cache.py: 16 warnings tests/unit/test_session.py: 200 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/models/response.py:149: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return self.expires is not None and datetime.utcnow() >= self.expires tests/unit/policy/test_actions.py: 22 warnings tests/unit/test_base_cache.py: 4 warnings tests/unit/test_session.py: 70 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/policy/actions.py:166: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return datetime.utcnow() < cached_response.expires + offset tests/unit/policy/test_actions.py::test_is_usable__max_stale[15-True] tests/unit/policy/test_actions.py::test_is_usable__max_stale[5-False] /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/policy/test_actions.py:338: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). cached_response = CachedResponse(expires=datetime.utcnow() - timedelta(seconds=10)) tests/unit/models/test_response.py::test_reset_expiration__shorten_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/models/test_response.py:97: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). expires=datetime.utcnow() + timedelta(seconds=1), tests/unit/policy/test_actions.py::test_is_usable__stale_while_revalidate[5-False] tests/unit/policy/test_actions.py::test_is_usable__stale_while_revalidate[15-True] /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/policy/test_actions.py:393: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). cached_response = CachedResponse(expires=datetime.utcnow() - timedelta(seconds=10)) tests/unit/policy/test_actions.py: 4 warnings tests/unit/policy/test_expiration.py: 3 warnings tests/unit/test_base_cache.py: 22 warnings tests/unit/test_session.py: 81 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/policy/expiration.py:48: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return (start_time or datetime.utcnow()) + expire_after tests/unit/policy/test_actions.py: 4 warnings tests/unit/test_session.py: 23 warnings tests/unit/test_base_cache.py: 2 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/policy/expiration.py:56: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return ceil((expires - datetime.utcnow()).total_seconds()) if expires else NEVER_EXPIRE tests/unit/policy/test_actions.py::test_is_usable__stale_if_error[15-True-True] tests/unit/policy/test_actions.py::test_is_usable__stale_if_error[5-True-False] tests/unit/policy/test_actions.py::test_is_usable__stale_if_error[15-False-False] /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/policy/test_actions.py:373: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). cached_response = CachedResponse(expires=datetime.utcnow() - timedelta(seconds=10)) tests/unit/models/test_response.py::test_reset_expiration__shorten_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/models/test_response.py:102: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). is_expired = response.reset_expiration(datetime.utcnow() - timedelta(seconds=1)) tests/unit/policy/test_actions.py::test_is_usable__min_fresh[15-False] tests/unit/policy/test_actions.py::test_is_usable__min_fresh[5-True] /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/policy/test_actions.py:352: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). cached_response = CachedResponse(expires=datetime.utcnow() + timedelta(seconds=10)) tests/unit/policy/test_expiration.py::test_get_expiration_datetime__relative[33.3-expected_expiration_delta2] tests/unit/policy/test_expiration.py::test_get_expiration_datetime__relative[expire_after0-expected_expiration_delta0] tests/unit/policy/test_expiration.py::test_get_expiration_datetime__relative[60-expected_expiration_delta1] /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/policy/test_expiration.py:32: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). expected_expiration = datetime.utcnow() + expected_expiration_delta tests/unit/models/test_response.py::test_reset_expiration__extend_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/models/test_response.py:82: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). expires=datetime.utcnow() - timedelta(seconds=0.01), tests/unit/models/test_response.py::test_reset_expiration__extend_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/models/test_response.py:87: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). is_expired = response.reset_expiration(datetime.utcnow() + timedelta(seconds=0.01)) tests/unit/test_base_cache.py::test_has_key tests/unit/test_base_cache.py::test_has_key /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/backends/base.py:289: DeprecationWarning: BaseCache.has_key() is deprecated; please use .contains() instead warn( tests/unit/test_base_cache.py::test_reset_expiration__extend_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_base_cache.py:235: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). mock_session.settings.expire_after = datetime.utcnow() - timedelta(seconds=1) tests/unit/test_base_cache.py: 14 warnings tests/unit/test_session.py: 36 warnings /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/models/response.py:133: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). delta = self.expires - datetime.utcnow() tests/unit/test_base_cache.py::test_reset_expiration__shorten_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_base_cache.py:247: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). mock_session.settings.expire_after = datetime.utcnow() + timedelta(seconds=1) tests/unit/test_base_cache.py::test_reset_expiration__extend_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_base_cache.py:239: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). mock_session.cache.reset_expiration(datetime.utcnow() + timedelta(seconds=1)) tests/unit/test_base_cache.py::test_reset_expiration__shorten_expiration /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_base_cache.py:251: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). mock_session.cache.reset_expiration(datetime.utcnow() - timedelta(seconds=1)) tests/unit/test_session.py::test_response_defaults /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_session.py:88: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). mock_session.settings.expire_after = datetime.utcnow() + timedelta(days=1) tests/unit/test_session.py::test_expire_immediately tests/unit/test_session.py::test_expire_immediately tests/unit/test_session.py::test_expire_immediately tests/unit/test_session.py::test_expire_immediately /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/requests_cache/policy/expiration.py:33: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return start_time or datetime.utcnow() tests/unit/test_session.py::test_304_not_modified[304-True-True-True] tests/unit/test_session.py::test_304_not_modified[200-True-True-False] /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_session.py:665: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). mock_session.settings.expire_after = datetime.utcnow() - timedelta(1) tests/unit/test_session.py::test_stale_if_error__max_stale /home/buildozer/aports/community/py3-requests-cache/src/requests-cache-1.0.1/tests/unit/test_session.py:428: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). mock_session.settings.expire_after = datetime.utcnow() - timedelta(seconds=10) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===================== 369 passed, 1760 warnings in 26.78s ====================== >>> py3-requests-cache: Entering fakeroot... >>> py3-requests-cache-pyc*: Running split function pyc... '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache/usr/lib/python3.12/site-packages/requests_cache/__pycache__' -> '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache-pyc/usr/lib/python3.12/site-packages/requests_cache/__pycache__' '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache/usr/lib/python3.12/site-packages/requests_cache/models/__pycache__' -> '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache-pyc/usr/lib/python3.12/site-packages/requests_cache/models/__pycache__' '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache/usr/lib/python3.12/site-packages/requests_cache/policy/__pycache__' -> '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache-pyc/usr/lib/python3.12/site-packages/requests_cache/policy/__pycache__' '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache/usr/lib/python3.12/site-packages/requests_cache/backends/__pycache__' -> '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache-pyc/usr/lib/python3.12/site-packages/requests_cache/backends/__pycache__' '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache/usr/lib/python3.12/site-packages/requests_cache/serializers/__pycache__' -> '/home/buildozer/aports/community/py3-requests-cache/pkg/py3-requests-cache-pyc/usr/lib/python3.12/site-packages/requests_cache/serializers/__pycache__' >>> py3-requests-cache-pyc*: Preparing subpackage py3-requests-cache-pyc... >>> py3-requests-cache-pyc*: Running postcheck for py3-requests-cache-pyc >>> py3-requests-cache*: Running postcheck for py3-requests-cache >>> py3-requests-cache*: Preparing package py3-requests-cache... >>> py3-requests-cache-pyc*: Tracing dependencies... py3-attrs py3-cattrs py3-platformdirs py3-requests py3-url-normalize py3-urllib3 python3~3.12 >>> py3-requests-cache-pyc*: Package size: 320.0 KB >>> py3-requests-cache-pyc*: Compressing data... >>> py3-requests-cache-pyc*: Create checksum... >>> py3-requests-cache-pyc*: Create py3-requests-cache-pyc-1.0.1-r1.apk >>> py3-requests-cache*: Tracing dependencies... py3-attrs py3-cattrs py3-platformdirs py3-requests py3-url-normalize py3-urllib3 python3~3.12 >>> py3-requests-cache*: Package size: 272.0 KB >>> py3-requests-cache*: Compressing data... >>> py3-requests-cache*: Create checksum... >>> py3-requests-cache*: Create py3-requests-cache-1.0.1-r1.apk >>> py3-requests-cache: Build complete at Wed, 08 May 2024 05:41:09 +0000 elapsed time 0h 0m 48s >>> py3-requests-cache: Cleaning up srcdir >>> py3-requests-cache: Cleaning up pkgdir >>> py3-requests-cache: Uninstalling dependencies... (1/93) Purging .makedepends-py3-requests-cache (20240508.054031) (2/93) Purging py3-cattrs-pyc (23.2.3-r1) (3/93) Purging py3-cattrs (23.2.3-r1) (4/93) Purging py3-platformdirs-pyc (4.2.1-r0) (5/93) Purging py3-platformdirs (4.2.1-r0) (6/93) Purging py3-url-normalize-pyc (1.4.3-r4) (7/93) Purging py3-url-normalize (1.4.3-r4) (8/93) Purging py3-gpep517-pyc (15-r2) (9/93) Purging py3-gpep517 (15-r2) (10/93) Purging py3-installer-pyc (0.7.0-r2) (11/93) Purging py3-installer (0.7.0-r2) (12/93) Purging py3-poetry-core-pyc (1.8.1-r1) (13/93) Purging py3-poetry-core (1.8.1-r1) (14/93) Purging py3-fastjsonschema-pyc (2.19.1-r2) (15/93) Purging py3-fastjsonschema (2.19.1-r2) (16/93) Purging py3-lark-parser-pyc (1.1.9-r1) (17/93) Purging py3-lark-parser (1.1.9-r1) (18/93) Purging py3-wheel-pyc (0.42.0-r1) (19/93) Purging py3-wheel (0.42.0-r1) (20/93) Purging py3-itsdangerous-pyc (2.1.2-r4) (21/93) Purging py3-itsdangerous (2.1.2-r4) (22/93) Purging py3-mock-pyc (5.1.0-r2) (23/93) Purging py3-mock (5.1.0-r2) (24/93) Purging py3-mongo-pyc (4.6.0-r1) (25/93) Purging py3-mongo (4.6.0-r1) (26/93) Purging py3-dnspython-pyc (2.6.1-r1) (27/93) Purging py3-dnspython (2.6.1-r1) (28/93) Purging py3-msgpack-pyc (1.0.8-r1) (29/93) Purging py3-msgpack (1.0.8-r1) (30/93) Purging py3-orjson-pyc (3.10.1-r0) (31/93) Purging py3-orjson (3.10.1-r0) (32/93) Purging py3-pytest-xdist-pyc (3.6.1-r0) (33/93) Purging py3-pytest-xdist (3.6.1-r0) (34/93) Purging py3-execnet-pyc (2.1.1-r0) (35/93) Purging py3-execnet (2.1.1-r0) (36/93) Purging py3-pytest-pyc (8.2.0-r0) (37/93) Purging py3-pytest (8.2.0-r0) (38/93) Purging py3-iniconfig-pyc (2.0.0-r1) (39/93) Purging py3-iniconfig (2.0.0-r1) (40/93) Purging py3-packaging-pyc (24.0-r1) (41/93) Purging py3-packaging (24.0-r1) (42/93) Purging py3-parsing-pyc (3.1.2-r1) (43/93) Purging py3-parsing (3.1.2-r1) (44/93) Purging py3-pluggy-pyc (1.5.0-r0) (45/93) Purging py3-pluggy (1.5.0-r0) (46/93) Purging py3-py-pyc (1.11.0-r3) (47/93) Purging py3-py (1.11.0-r3) (48/93) Purging py3-requests-mock-pyc (1.11.0-r1) (49/93) Purging py3-requests-mock (1.11.0-r1) (50/93) Purging py3-six-pyc (1.16.0-r9) (51/93) Purging py3-six (1.16.0-r9) (52/93) Purging py3-responses-pyc (0.25.0-r1) (53/93) Purging py3-responses (0.25.0-r1) (54/93) Purging py3-requests-pyc (2.31.0-r2) (55/93) Purging py3-requests (2.31.0-r2) (56/93) Purging py3-certifi-pyc (2024.2.2-r1) (57/93) Purging py3-certifi (2024.2.2-r1) (58/93) Purging py3-charset-normalizer-pyc (3.3.2-r1) (59/93) Purging py3-charset-normalizer (3.3.2-r1) (60/93) Purging py3-idna-pyc (3.7-r0) (61/93) Purging py3-idna (3.7-r0) (62/93) Purging py3-toml-pyc (0.10.2-r7) (63/93) Purging py3-toml (0.10.2-r7) (64/93) Purging py3-urllib3-pyc (1.26.18-r1) (65/93) Purging py3-urllib3 (1.26.18-r1) (66/93) Purging py3-rich-pyc (13.7.1-r1) (67/93) Purging py3-rich (13.7.1-r1) (68/93) Purging py3-markdown-it-py-pyc (3.0.0-r1) (69/93) Purging py3-markdown-it-py (3.0.0-r1) (70/93) Purging py3-attrs-pyc (23.2.0-r1) (71/93) Purging py3-attrs (23.2.0-r1) (72/93) Purging py3-mdurl-pyc (0.1.2-r3) (73/93) Purging py3-mdurl (0.1.2-r3) (74/93) Purging py3-pygments-pyc (2.17.2-r1) (75/93) Purging py3-pygments (2.17.2-r1) (76/93) Purging py3-timeout-decorator-pyc (0.5.0-r4) (77/93) Purging py3-timeout-decorator (0.5.0-r4) (78/93) Purging py3-ujson (5.9.0-r1) (79/93) Purging py3-yaml-pyc (6.0.1-r3) (80/93) Purging py3-yaml (6.0.1-r3) (81/93) Purging python3-pyc (3.12.3-r1) (82/93) Purging python3-pycache-pyc0 (3.12.3-r1) (83/93) Purging pyc (3.12.3-r1) (84/93) Purging python3 (3.12.3-r1) (85/93) Purging gdbm (1.23-r1) (86/93) Purging libbz2 (1.0.8-r6) (87/93) Purging libffi (3.4.6-r0) (88/93) Purging libpanelw (6.4_p20240420-r0) (89/93) Purging mpdecimal (4.0.0-r0) (90/93) Purging readline (8.2.10-r0) (91/93) Purging sqlite-libs (3.45.3-r0) (92/93) Purging xz-libs (5.6.1-r3) (93/93) Purging yaml (0.2.5-r2) Executing busybox-1.36.1-r26.trigger OK: 229 MiB in 102 packages >>> py3-requests-cache: Updating the community/riscv64 repository index... >>> py3-requests-cache: Signing the index...