>>> py3-requests-cache: Building community/py3-requests-cache 1.0.1-r1 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 23:29:40 +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/95) Installing libbz2 (1.0.8-r6) (2/95) Installing libffi (3.4.6-r0) (3/95) Installing gdbm (1.23-r1) (4/95) Installing xz-libs (5.6.1-r3) (5/95) Installing mpdecimal (4.0.0-r0) (6/95) Installing libpanelw (6.4_p20240330-r0) (7/95) Installing readline (8.2.10-r0) (8/95) Installing sqlite-libs (3.45.3-r0) (9/95) Installing python3 (3.12.3-r1) (10/95) Installing python3-pycache-pyc0 (3.12.3-r1) (11/95) Installing pyc (3.12.3-r1) (12/95) Installing py3-attrs-pyc (23.2.0-r1) (13/95) Installing python3-pyc (3.12.3-r1) (14/95) Installing py3-attrs (23.2.0-r1) (15/95) Installing py3-cattrs (23.2.3-r1) (16/95) Installing py3-cattrs-pyc (23.2.3-r1) (17/95) Installing py3-platformdirs (4.2.0-r1) (18/95) Installing py3-platformdirs-pyc (4.2.0-r1) (19/95) Installing py3-certifi (2024.2.2-r1) (20/95) Installing py3-certifi-pyc (2024.2.2-r1) (21/95) Installing py3-charset-normalizer (3.3.2-r1) (22/95) Installing py3-charset-normalizer-pyc (3.3.2-r1) (23/95) Installing py3-idna (3.7-r0) (24/95) Installing py3-idna-pyc (3.7-r0) (25/95) Installing py3-urllib3 (1.26.18-r1) (26/95) Installing py3-urllib3-pyc (1.26.18-r1) (27/95) Installing py3-requests (2.31.0-r2) (28/95) Installing py3-requests-pyc (2.31.0-r2) (29/95) Installing py3-url-normalize (1.4.3-r4) (30/95) Installing py3-url-normalize-pyc (1.4.3-r4) (31/95) Installing py3-installer (0.7.0-r2) (32/95) Installing py3-installer-pyc (0.7.0-r2) (33/95) Installing py3-gpep517 (15-r2) (34/95) Installing py3-gpep517-pyc (15-r2) (35/95) Installing py3-fastjsonschema (2.19.1-r2) (36/95) Installing py3-fastjsonschema-pyc (2.19.1-r2) (37/95) Installing py3-lark-parser (1.1.9-r1) (38/95) Installing py3-lark-parser-pyc (1.1.9-r1) (39/95) Installing py3-parsing (3.1.2-r1) (40/95) Installing py3-parsing-pyc (3.1.2-r1) (41/95) Installing py3-packaging (24.0-r1) (42/95) Installing py3-packaging-pyc (24.0-r1) (43/95) Installing py3-poetry-core (1.8.1-r1) (44/95) Installing py3-poetry-core-pyc (1.8.1-r1) (45/95) Installing py3-wheel (0.42.0-r1) (46/95) Installing py3-wheel-pyc (0.42.0-r1) (47/95) Installing py3-itsdangerous (2.1.2-r4) (48/95) Installing py3-itsdangerous-pyc (2.1.2-r4) (49/95) Installing py3-mock (5.1.0-r2) (50/95) Installing py3-mock-pyc (5.1.0-r2) (51/95) Installing py3-dnspython (2.6.1-r1) (52/95) Installing py3-dnspython-pyc (2.6.1-r1) (53/95) Installing py3-mongo (4.6.0-r1) (54/95) Installing py3-mongo-pyc (4.6.0-r1) (55/95) Installing py3-msgpack (1.0.8-r1) (56/95) Installing py3-msgpack-pyc (1.0.8-r1) (57/95) Installing py3-orjson (3.10.1-r0) (58/95) Installing py3-orjson-pyc (3.10.1-r0) (59/95) Installing py3-iniconfig (2.0.0-r1) (60/95) Installing py3-iniconfig-pyc (2.0.0-r1) (61/95) Installing py3-pluggy (1.4.0-r1) (62/95) Installing py3-pluggy-pyc (1.4.0-r1) (63/95) Installing py3-py (1.11.0-r3) (64/95) Installing py3-py-pyc (1.11.0-r3) (65/95) Installing py3-pytest (8.1.1-r1) (66/95) Installing py3-pytest-pyc (8.1.1-r1) (67/95) Installing py3-apipkg (2.1.0-r3) (68/95) Installing py3-apipkg-pyc (2.1.0-r3) (69/95) Installing py3-execnet (1.9.0-r3) (70/95) Installing py3-execnet-pyc (1.9.0-r3) (71/95) Installing py3-pytest-xdist (3.5.0-r1) (72/95) Installing py3-pytest-xdist-pyc (3.5.0-r1) (73/95) Installing py3-six (1.16.0-r9) (74/95) Installing py3-six-pyc (1.16.0-r9) (75/95) Installing py3-requests-mock (1.11.0-r1) (76/95) Installing py3-requests-mock-pyc (1.11.0-r1) (77/95) Installing py3-toml (0.10.2-r7) (78/95) Installing py3-toml-pyc (0.10.2-r7) (79/95) Installing yaml (0.2.5-r2) (80/95) Installing py3-yaml (6.0.1-r3) (81/95) Installing py3-yaml-pyc (6.0.1-r3) (82/95) Installing py3-responses (0.25.0-r1) (83/95) Installing py3-responses-pyc (0.25.0-r1) (84/95) Installing py3-mdurl (0.1.2-r3) (85/95) Installing py3-mdurl-pyc (0.1.2-r3) (86/95) Installing py3-markdown-it-py (3.0.0-r1) (87/95) Installing py3-markdown-it-py-pyc (3.0.0-r1) (88/95) Installing py3-pygments (2.17.2-r1) (89/95) Installing py3-pygments-pyc (2.17.2-r1) (90/95) Installing py3-rich (13.7.1-r1) (91/95) Installing py3-rich-pyc (13.7.1-r1) (92/95) Installing py3-timeout-decorator (0.5.0-r4) (93/95) Installing py3-timeout-decorator-pyc (0.5.0-r4) (94/95) Installing py3-ujson (5.9.0-r1) (95/95) Installing .makedepends-py3-requests-cache (20240426.232942) Executing busybox-1.36.1-r26.trigger OK: 513 MiB in 201 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) wget: server returned error: HTTP/1.1 404 Not Found >>> py3-requests-cache: Fetching py3-requests-cache-1.0.1.tar.gz::https://github.com/requests-cache/requests-cache/archive/refs/tags/v1.0.1.tar.gz Connecting to github.com (20.26.156.215:443) Connecting to codeload.github.com (20.26.156.216:443) saving to '/var/cache/distfiles/v3.20/py3-requests-cache-1.0.1.tar.gz.part' py3-requests-cache-1 100% |********************************| 2845k 0:00:00 ETA '/var/cache/distfiles/v3.20/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/v3.20/py3-requests-cache-1.0.1.tar.gz... 2024-04-26 23:29:46,025 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-04-26 23:29:46,163 poetry.core.masonry.builders.wheel INFO Building wheel fatal: not a git repository (or any of the parent directories): .git 2024-04-26 23:29:46,183 poetry.core.masonry.builders.wheel INFO Built requests_cache-1.0.1-py3-none-any.whl 2024-04-26 23:29:46,183 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.1.1, pluggy-1.4.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.5.0 created: 8/8 workers 8 workers [369 items] ........................................................................ [ 19%] ........................................................................ [ 39%] ......................................................................... [ 58%] ........................................................................ [ 78%] ........................................................................ [ 97%] ........ [100%] =============================== warnings summary =============================== tests/conftest.py:68 tests/conftest.py:68 tests/conftest.py:68 tests/conftest.py:68 tests/conftest.py:68 tests/conftest.py:68 tests/conftest.py:68 tests/conftest.py:68 tests/conftest.py:68 /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 tests/unit/models/test_response.py:38 tests/unit/models/test_response.py:38 tests/unit/models/test_response.py:38 tests/unit/models/test_response.py:38 tests/unit/models/test_response.py:38 tests/unit/models/test_response.py:38 tests/unit/models/test_response.py:38 /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 tests/unit/models/test_response.py:39 tests/unit/models/test_response.py:39 tests/unit/models/test_response.py:39 tests/unit/models/test_response.py:39 tests/unit/models/test_response.py:39 tests/unit/models/test_response.py:39 tests/unit/models/test_response.py:39 /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 tests/unit/policy/test_actions.py:21 tests/unit/policy/test_actions.py:21 tests/unit/policy/test_actions.py:21 tests/unit/policy/test_actions.py:21 tests/unit/policy/test_actions.py:21 tests/unit/policy/test_actions.py:21 tests/unit/policy/test_actions.py:21 /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: 8 warnings tests/unit/models/test_response.py: 19 warnings tests/unit/policy/test_actions.py: 33 warnings tests/compat/test_requests_mock_combine_cache.py: 1 warning tests/unit/models/test_request.py: 1 warning tests/unit/test_base_cache.py: 71 warnings tests/unit/models/test_raw_response.py: 1 warning 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 tests/unit/test_base_cache.py:27 tests/unit/test_base_cache.py:27 tests/unit/test_base_cache.py:27 tests/unit/test_base_cache.py:27 tests/unit/test_base_cache.py:27 tests/unit/test_base_cache.py:27 tests/unit/test_base_cache.py:27 /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/unit/models/test_response.py: 10 warnings tests/compat/test_requests_mock_combine_cache.py: 1 warning tests/unit/models/test_request.py: 1 warning tests/unit/test_base_cache.py: 53 warnings tests/unit/models/test_raw_response.py: 1 warning 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: 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_update_from_cached_response__revalidate[response_headers0-expected_validation_headers0] 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_headers2-expected_validation_headers2] 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::test_is_usable__max_stale[5-False] tests/unit/policy/test_actions.py::test_is_usable__max_stale[15-True] /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/policy/test_actions.py::test_is_usable__min_fresh[5-True] tests/unit/policy/test_actions.py::test_is_usable__min_fresh[15-False] /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_actions.py::test_is_usable__stale_if_error[5-True-False] 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[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/policy/test_actions.py: 4 warnings tests/unit/policy/test_expiration.py: 3 warnings tests/unit/test_session.py: 81 warnings tests/unit/test_base_cache.py: 22 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_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_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] tests/unit/policy/test_expiration.py::test_get_expiration_datetime__relative[33.3-expected_expiration_delta2] /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/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_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::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_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_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__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/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/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/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/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[200-True-True-False] tests/unit/test_session.py::test_304_not_modified[304-True-True-True] /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, 1424 warnings in 9.66s ====================== >>> 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/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__' '/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__' >>> 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 Fri, 26 Apr 2024 23:29:57 +0000 elapsed time 0h 0m 17s >>> py3-requests-cache: Cleaning up srcdir >>> py3-requests-cache: Cleaning up pkgdir >>> py3-requests-cache: Uninstalling dependencies... (1/95) Purging .makedepends-py3-requests-cache (20240426.232942) (2/95) Purging py3-cattrs-pyc (23.2.3-r1) (3/95) Purging py3-cattrs (23.2.3-r1) (4/95) Purging py3-platformdirs-pyc (4.2.0-r1) (5/95) Purging py3-platformdirs (4.2.0-r1) (6/95) Purging py3-url-normalize-pyc (1.4.3-r4) (7/95) Purging py3-url-normalize (1.4.3-r4) (8/95) Purging py3-gpep517-pyc (15-r2) (9/95) Purging py3-gpep517 (15-r2) (10/95) Purging py3-installer-pyc (0.7.0-r2) (11/95) Purging py3-installer (0.7.0-r2) (12/95) Purging py3-poetry-core-pyc (1.8.1-r1) (13/95) Purging py3-poetry-core (1.8.1-r1) (14/95) Purging py3-fastjsonschema-pyc (2.19.1-r2) (15/95) Purging py3-fastjsonschema (2.19.1-r2) (16/95) Purging py3-lark-parser-pyc (1.1.9-r1) (17/95) Purging py3-lark-parser (1.1.9-r1) (18/95) Purging py3-wheel-pyc (0.42.0-r1) (19/95) Purging py3-wheel (0.42.0-r1) (20/95) Purging py3-itsdangerous-pyc (2.1.2-r4) (21/95) Purging py3-itsdangerous (2.1.2-r4) (22/95) Purging py3-mock-pyc (5.1.0-r2) (23/95) Purging py3-mock (5.1.0-r2) (24/95) Purging py3-mongo-pyc (4.6.0-r1) (25/95) Purging py3-mongo (4.6.0-r1) (26/95) Purging py3-dnspython-pyc (2.6.1-r1) (27/95) Purging py3-dnspython (2.6.1-r1) (28/95) Purging py3-msgpack-pyc (1.0.8-r1) (29/95) Purging py3-msgpack (1.0.8-r1) (30/95) Purging py3-orjson-pyc (3.10.1-r0) (31/95) Purging py3-orjson (3.10.1-r0) (32/95) Purging py3-pytest-xdist-pyc (3.5.0-r1) (33/95) Purging py3-pytest-xdist (3.5.0-r1) (34/95) Purging py3-execnet-pyc (1.9.0-r3) (35/95) Purging py3-execnet (1.9.0-r3) (36/95) Purging py3-apipkg-pyc (2.1.0-r3) (37/95) Purging py3-apipkg (2.1.0-r3) (38/95) Purging py3-pytest-pyc (8.1.1-r1) (39/95) Purging py3-pytest (8.1.1-r1) (40/95) Purging py3-iniconfig-pyc (2.0.0-r1) (41/95) Purging py3-iniconfig (2.0.0-r1) (42/95) Purging py3-packaging-pyc (24.0-r1) (43/95) Purging py3-packaging (24.0-r1) (44/95) Purging py3-parsing-pyc (3.1.2-r1) (45/95) Purging py3-parsing (3.1.2-r1) (46/95) Purging py3-pluggy-pyc (1.4.0-r1) (47/95) Purging py3-pluggy (1.4.0-r1) (48/95) Purging py3-py-pyc (1.11.0-r3) (49/95) Purging py3-py (1.11.0-r3) (50/95) Purging py3-requests-mock-pyc (1.11.0-r1) (51/95) Purging py3-requests-mock (1.11.0-r1) (52/95) Purging py3-six-pyc (1.16.0-r9) (53/95) Purging py3-six (1.16.0-r9) (54/95) Purging py3-responses-pyc (0.25.0-r1) (55/95) Purging py3-responses (0.25.0-r1) (56/95) Purging py3-requests-pyc (2.31.0-r2) (57/95) Purging py3-requests (2.31.0-r2) (58/95) Purging py3-certifi-pyc (2024.2.2-r1) (59/95) Purging py3-certifi (2024.2.2-r1) (60/95) Purging py3-charset-normalizer-pyc (3.3.2-r1) (61/95) Purging py3-charset-normalizer (3.3.2-r1) (62/95) Purging py3-idna-pyc (3.7-r0) (63/95) Purging py3-idna (3.7-r0) (64/95) Purging py3-toml-pyc (0.10.2-r7) (65/95) Purging py3-toml (0.10.2-r7) (66/95) Purging py3-urllib3-pyc (1.26.18-r1) (67/95) Purging py3-urllib3 (1.26.18-r1) (68/95) Purging py3-rich-pyc (13.7.1-r1) (69/95) Purging py3-rich (13.7.1-r1) (70/95) Purging py3-markdown-it-py-pyc (3.0.0-r1) (71/95) Purging py3-markdown-it-py (3.0.0-r1) (72/95) Purging py3-attrs-pyc (23.2.0-r1) (73/95) Purging py3-attrs (23.2.0-r1) (74/95) Purging py3-mdurl-pyc (0.1.2-r3) (75/95) Purging py3-mdurl (0.1.2-r3) (76/95) Purging py3-pygments-pyc (2.17.2-r1) (77/95) Purging py3-pygments (2.17.2-r1) (78/95) Purging py3-timeout-decorator-pyc (0.5.0-r4) (79/95) Purging py3-timeout-decorator (0.5.0-r4) (80/95) Purging py3-ujson (5.9.0-r1) (81/95) Purging py3-yaml-pyc (6.0.1-r3) (82/95) Purging py3-yaml (6.0.1-r3) (83/95) Purging python3-pyc (3.12.3-r1) (84/95) Purging python3-pycache-pyc0 (3.12.3-r1) (85/95) Purging pyc (3.12.3-r1) (86/95) Purging python3 (3.12.3-r1) (87/95) Purging gdbm (1.23-r1) (88/95) Purging libbz2 (1.0.8-r6) (89/95) Purging libffi (3.4.6-r0) (90/95) Purging libpanelw (6.4_p20240330-r0) (91/95) Purging mpdecimal (4.0.0-r0) (92/95) Purging readline (8.2.10-r0) (93/95) Purging sqlite-libs (3.45.3-r0) (94/95) Purging xz-libs (5.6.1-r3) (95/95) Purging yaml (0.2.5-r2) Executing busybox-1.36.1-r26.trigger OK: 435 MiB in 106 packages >>> py3-requests-cache: Updating the community/s390x repository index... >>> py3-requests-cache: Signing the index...