>>> py3-praw: Building community/py3-praw 7.8.1-r0 (using abuild 3.14.1-r0) started Sat, 26 Oct 2024 21:56:04 +0000 >>> py3-praw: Validating /home/buildozer/aports/community/py3-praw/APKBUILD... >>> py3-praw: Analyzing dependencies... >>> py3-praw: Installing for build: build-base py3-prawcore py3-update-checker py3-requests py3-websocket-client py3-gpep517 py3-flit-core py3-wheel py3-betamax py3-betamax_matchers py3-betamax_serializers py3-pytest-xdist (1/63) Installing libbz2 (1.0.8-r6) (2/63) Installing libffi (3.4.6-r0) (3/63) Installing gdbm (1.24-r0) (4/63) Installing xz-libs (5.6.3-r0) (5/63) Installing mpdecimal (4.0.0-r0) (6/63) Installing libpanelw (6.5_p20241006-r0) (7/63) Installing sqlite-libs (3.47.0-r0) (8/63) Installing python3 (3.12.7-r1) (9/63) Installing python3-pycache-pyc0 (3.12.7-r1) (10/63) Installing pyc (3.12.7-r1) (11/63) Installing py3-certifi-pyc (2024.8.30-r0) (12/63) Installing py3-prawcore-pyc (2.4.0-r0) (13/63) Installing py3-charset-normalizer (3.3.2-r1) (14/63) Installing py3-charset-normalizer-pyc (3.3.2-r1) (15/63) Installing py3-idna (3.10-r0) (16/63) Installing py3-idna-pyc (3.10-r0) (17/63) Installing py3-urllib3 (1.26.20-r0) (18/63) Installing py3-urllib3-pyc (1.26.20-r0) (19/63) Installing py3-requests-pyc (2.32.3-r0) (20/63) Installing python3-pyc (3.12.7-r1) (21/63) Installing py3-certifi (2024.8.30-r0) (22/63) Installing py3-requests (2.32.3-r0) (23/63) Installing py3-prawcore (2.4.0-r0) (24/63) Installing py3-update-checker (0.18.0-r5) (25/63) Installing py3-update-checker-pyc (0.18.0-r5) (26/63) Installing py3-websocket-client (1.8.0-r0) (27/63) Installing py3-websocket-client-pyc (1.8.0-r0) (28/63) Installing py3-installer (0.7.0-r2) (29/63) Installing py3-installer-pyc (0.7.0-r2) (30/63) Installing py3-gpep517 (16-r0) (31/63) Installing py3-gpep517-pyc (16-r0) (32/63) Installing py3-flit-core (3.9.0-r1) (33/63) Installing py3-flit-core-pyc (3.9.0-r1) (34/63) Installing py3-parsing (3.1.4-r0) (35/63) Installing py3-parsing-pyc (3.1.4-r0) (36/63) Installing py3-packaging (24.1-r0) (37/63) Installing py3-packaging-pyc (24.1-r0) (38/63) Installing py3-wheel (0.43.0-r0) (39/63) Installing py3-wheel-pyc (0.43.0-r0) (40/63) Installing py3-betamax (0.9.0-r1) (41/63) Installing py3-betamax-pyc (0.9.0-r1) (42/63) Installing py3-requests-toolbelt (1.0.0-r1) (43/63) Installing py3-requests-toolbelt-pyc (1.0.0-r1) (44/63) Installing py3-betamax_matchers (0.4.0-r5) (45/63) Installing py3-betamax_matchers-pyc (0.4.0-r5) (46/63) Installing yaml (0.2.5-r2) (47/63) Installing py3-yaml (6.0.2-r0) (48/63) Installing py3-yaml-pyc (6.0.2-r0) (49/63) Installing py3-betamax_serializers (0.2.1-r6) (50/63) Installing py3-betamax_serializers-pyc (0.2.1-r6) (51/63) Installing py3-execnet (2.1.1-r0) (52/63) Installing py3-execnet-pyc (2.1.1-r0) (53/63) Installing py3-iniconfig (2.0.0-r1) (54/63) Installing py3-iniconfig-pyc (2.0.0-r1) (55/63) Installing py3-pluggy (1.5.0-r0) (56/63) Installing py3-pluggy-pyc (1.5.0-r0) (57/63) Installing py3-py (1.11.0-r4) (58/63) Installing py3-py-pyc (1.11.0-r4) (59/63) Installing py3-pytest (8.3.3-r0) (60/63) Installing py3-pytest-pyc (8.3.3-r0) (61/63) Installing py3-pytest-xdist (3.6.1-r0) (62/63) Installing py3-pytest-xdist-pyc (3.6.1-r0) (63/63) Installing .makedepends-py3-praw (20241026.215605) Executing busybox-1.37.0-r3.trigger OK: 298 MiB in 165 packages >>> py3-praw: Cleaning up srcdir >>> py3-praw: Cleaning up pkgdir >>> py3-praw: Cleaning up tmpdir >>> py3-praw: Fetching https://distfiles.alpinelinux.org/distfiles/edge/praw-7.8.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-praw: Fetching praw-7.8.1.tar.gz::https://github.com/praw-dev/praw/archive/v7.8.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 977k 0 977k 0 0 2573k 0 --:--:-- --:--:-- --:--:-- 2573k 100 9174k 0 9174k 0 0 6651k 0 --:--:-- 0:00:01 --:--:-- 8197k 100 15.7M 0 15.7M 0 0 6756k 0 --:--:-- 0:00:02 --:--:-- 7547k 100 20.5M 0 20.5M 0 0 6194k 0 --:--:-- 0:00:03 --:--:-- 6652k 100 23.1M 0 23.1M 0 0 6331k 0 --:--:-- 0:00:03 --:--:-- 6757k >>> py3-praw: Fetching https://distfiles.alpinelinux.org/distfiles/edge/praw-7.8.1.tar.gz >>> py3-praw: Checking sha512sums... praw-7.8.1.tar.gz: OK >>> py3-praw: Unpacking /var/cache/distfiles/praw-7.8.1.tar.gz... 2024-10-26 21:56:10,955 gpep517 INFO Building wheel via backend flit_core.buildapi 2024-10-26 21:56:11,303 flit_core.wheel INFO Zip timestamps will be from SOURCE_DATE_EPOCH: 2024-10-26 21:55:39 2024-10-26 21:56:11,303 flit_core.wheel INFO Copying package file(s) from praw 2024-10-26 21:56:11,327 flit_core.wheel INFO Writing metadata files 2024-10-26 21:56:11,328 flit_core.wheel INFO Writing the record of files 2024-10-26 21:56:11,329 flit_core.wheel INFO Built wheel: .dist/praw-7.8.1-py3-none-any.whl 2024-10-26 21:56:11,329 gpep517 INFO The backend produced .dist/praw-7.8.1-py3-none-any.whl praw-7.8.1-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-praw/src/praw-7.8.1 configfile: pyproject.toml plugins: betamax-0.9.0, xdist-3.6.1 created: 32/32 workers 32 workers [1029 items] ........................................................................ [ 6%] ........................................................................ [ 13%] ........................................................................ [ 20%] ........................................................................ [ 27%] ........................................................................ [ 34%] ........................................................................ [ 41%] ........................................................................ [ 48%] .......................................................................s [ 55%] ........................................................................ [ 62%] ........................................................................ [ 69%] ........................................................................ [ 76%] ........................................................................ [ 83%] ........................................................................ [ 90%] ........................................................................ [ 97%] ..................... [100%] =============================== warnings summary =============================== tests/integration/models/reddit/test_redditor.py: 47 warnings tests/integration/models/reddit/test_comment.py: 51 warnings tests/integration/models/reddit/test_multi.py: 21 warnings tests/integration/models/reddit/test_live.py: 32 warnings tests/integration/models/reddit/test_rules.py: 17 warnings tests/integration/models/reddit/test_modmail.py: 12 warnings tests/integration/models/reddit/test_emoji.py: 8 warnings tests/integration/models/reddit/test_removal_reasons.py: 9 warnings tests/integration/models/reddit/test_collections.py: 27 warnings tests/integration/models/reddit/test_message.py: 13 warnings tests/integration/models/reddit/test_more.py: 2 warnings tests/integration/models/reddit/test_draft.py: 8 warnings tests/integration/models/reddit/test_submission.py: 78 warnings tests/integration/models/listing/test_generator.py: 3 warnings tests/integration/models/reddit/test_subreddit.py: 204 warnings tests/integration/models/reddit/test_widgets.py: 31 warnings tests/integration/models/reddit/test_wikipage.py: 19 warnings tests/integration/models/test_auth.py: 5 warnings tests/integration/models/test_front.py: 6 warnings tests/integration/models/reddit/test_user_subreddit.py: 1 warning tests/integration/models/test_inbox.py: 18 warnings tests/integration/models/test_preferences.py: 2 warnings tests/integration/models/test_comment_forest.py: 10 warnings tests/integration/models/test_subreddits.py: 13 warnings tests/integration/models/test_mod_notes.py: 5 warnings tests/integration/models/test_user.py: 23 warnings tests/integration/models/test_trophy.py: 1 warning tests/integration/models/test_redditors.py: 6 warnings tests/integration/test_objector.py: 1 warning tests/integration/test_reddit.py: 26 warnings tests/integration/models/reddit/test_poll.py: 2 warnings /usr/lib/python3.12/site-packages/betamax/adapter.py:105: 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). now = datetime.utcnow() tests/integration/models/reddit/test_redditor.py::TestRedditor::test_gild__no_creddits /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_redditor.py:48: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert excinfo.value.error_type == "INSUFFICIENT_CREDDITS" tests/integration/models/reddit/test_redditor.py::TestRedditor::test_trophies__user_not_exist /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_redditor.py:110: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert excinfo.value.error_type == "USER_DOESNT_EXIST" tests/integration/models/reddit/test_comment.py::TestComment::test_gild /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_comment.py:88: DeprecationWarning: '.gild' has been renamed to '.award'. award_data = Comment(reddit, "g7cmlgc").gild() tests/integration/models/reddit/test_comment.py::TestComment::test_award__not_enough_coins /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_comment.py:30: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert exception.error_type == "INSUFFICIENT_COINS_WITH_AMOUNT" tests/integration/models/reddit/test_comment.py::TestComment::test_award__self_gild /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_comment.py:40: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert exception.error_type == "SELF_GILDING_NOT_ALLOWED" tests/integration/models/reddit/test_collections.py: 6 warnings tests/integration/models/reddit/test_draft.py: 4 warnings tests/integration/models/reddit/test_subreddit.py: 47 warnings tests/unit/models/reddit/test_subreddit.py: 8 warnings /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/praw/util/deprecate_args.py:46: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True. return func(**dict(zip(_old_args, args)), **kwargs) tests/integration/models/reddit/test_submission.py::TestSubmission::test_award__not_enough_coins /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:38: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert exception.error_type == "INSUFFICIENT_COINS_WITH_AMOUNT" tests/integration/models/reddit/test_comment.py::TestCommentModeration::test_send_removal_message__error /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_comment.py:314: DeprecationWarning: Accessing attribute 'field' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert exception.field == "title" tests/integration/models/reddit/test_comment.py::TestCommentModeration::test_send_removal_message__error /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_comment.py:315: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert exception.error_type == "TOO_LONG" tests/integration/models/reddit/test_redditor.py::TestRedditorListings::test_trust_blocked_user /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_redditor.py:269: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert excinfo.value.error_type == "CANT_WHITELIST_AN_ENEMY" tests/integration/models/reddit/test_comment.py::TestComment::test_edit /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_comment.py:77: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True. comment.edit("New text") tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__existing_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:179: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True. submission._edit_experimental(submission.selftext, preserve_inline_media=True) tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__experimental /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:185: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True. submission._edit_experimental("New text") tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:146: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True. submission.edit("New text") tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__new_inline_media tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__existing_and_new_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:12: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. gif = InlineGif(image_path("test.gif"), "optional caption") tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__new_inline_media tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__existing_and_new_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:13: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. image = InlineImage(image_path("test.png"), "optional caption") tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__new_inline_media tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__existing_and_new_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:14: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. video = InlineVideo(image_path("test.mp4"), "optional caption") tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__new_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:199: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True. submission._edit_experimental( tests/integration/models/reddit/test_submission.py::TestSubmission::test_award__self_gild /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:48: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert exception.error_type == "SELF_GILDING_NOT_ALLOWED" tests/integration/models/reddit/test_submission.py::TestSubmission::test_gild /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:225: DeprecationWarning: '.gild' has been renamed to '.award'. award_data = Submission(reddit, "j3kyoo").gild() tests/integration/models/reddit/test_subreddit.py::TestSubredditModeration::test_unread tests/integration/models/reddit/test_subreddit.py::TestSubredditModeration::test_inbox /usr/lib/python3.12/site-packages/_pytest/python.py:159: DeprecationWarning: Legacy modmail is being deprecated in June 2021. Please see https://www.reddit.com/r/modnews/comments/mar9ha/even_more_modmail_improvements/ for more info. result = testfunction(**testargs) tests/integration/models/reddit/test_submission.py::TestSubmission::test_edit__existing_and_new_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_submission.py:160: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True. submission._edit_experimental( tests/integration/models/reddit/test_subreddit.py::TestSubreddit::test_submit__selftext_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_subreddit.py:1432: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. gif = InlineGif(image_path("test.gif"), "optional caption") tests/integration/models/reddit/test_subreddit.py::TestSubreddit::test_submit__selftext_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_subreddit.py:1433: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. image = InlineImage(image_path("test.png"), "optional caption") tests/integration/models/reddit/test_subreddit.py::TestSubreddit::test_submit__selftext_inline_media /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_subreddit.py:1434: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. video = InlineVideo(image_path("test.mp4"), "optional caption") tests/integration/models/reddit/test_subreddit.py::TestSubredditModerationStreams::test_unread /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_subreddit.py:698: DeprecationWarning: Legacy modmail is being deprecated in June 2021. Please see https://www.reddit.com/r/modnews/comments/mar9ha/even_more_modmail_improvements/ for more info. assert isinstance(next(generator), SubredditMessage) tests/integration/models/test_subreddits.py::TestSubreddits::test_gold__with_gold /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/test_subreddits.py:17: DeprecationWarning: 'subreddits.gold' has be renamed to 'subreddits.premium'. subreddits = list(reddit.subreddits.gold()) tests/integration/models/test_subreddits.py::TestSubreddits::test_gold__without_gold /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/test_subreddits.py:22: DeprecationWarning: 'subreddits.gold' has be renamed to 'subreddits.premium'. subreddits = list(reddit.subreddits.gold()) tests/unit/models/reddit/test_removal_reasons.py::TestRemovalReason::test_exception /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/models/reddit/test_removal_reasons.py:45: DeprecationWarning: Parameter 'reason_id' is deprecated. Either use positional arguments (e.g., reason_id="x" -> "x") or change the parameter name to 'id' (e.g., reason_id="x" -> id="x"). This parameter will be removed in PRAW 8. RemovalReason(reddit, subreddit=reddit.subreddit("a"), reason_id="") tests/unit/models/reddit/test_removal_reasons.py::TestRemovalReason::test_equality /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/models/reddit/test_removal_reasons.py:22: DeprecationWarning: Parameter 'reason_id' is deprecated. Either use positional arguments (e.g., reason_id="x" -> "x") or change the parameter name to 'id' (e.g., reason_id="x" -> id="x"). This parameter will be removed in PRAW 8. reason5 = RemovalReason(reddit, subreddit=reddit.subreddit("a"), reason_id="X") tests/unit/models/reddit/test_removal_reasons.py::TestRemovalReason::test_hash /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/models/reddit/test_removal_reasons.py:52: DeprecationWarning: Parameter 'reason_id' is deprecated. Either use positional arguments (e.g., reason_id="x" -> "x") or change the parameter name to 'id' (e.g., reason_id="x" -> id="x"). This parameter will be removed in PRAW 8. reason5 = RemovalReason(reddit, subreddit=reddit.subreddit("a"), reason_id="X") tests/unit/models/reddit/test_subreddit.py::TestSubreddit::test_submit_inline_media__invalid_path /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/models/reddit/test_subreddit.py:187: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. gif = InlineGif("invalid_image_path", "optional caption") tests/unit/models/reddit/test_subreddit.py::TestSubreddit::test_submit_inline_media__invalid_path /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/models/reddit/test_subreddit.py:188: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. image = InlineImage("invalid_image_path", "optional caption") tests/unit/models/reddit/test_subreddit.py::TestSubreddit::test_submit_inline_media__invalid_path /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/models/reddit/test_subreddit.py:189: DeprecationWarning: Positional arguments for 'InlineMedia.__init__' will no longer be supported in PRAW 8. Call this function with 'path' and 'caption' as keyword arguments. video = InlineVideo("invalid_image_path", "optional caption") tests/unit/models/test_user.py::TestUser::test_me__in_read_only_mode__deprecated /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/praw/util/deprecate_args.py:46: DeprecationWarning: The 'None' return value is deprecated, and will raise a ReadOnlyException beginning with PRAW 8. See documentation for forward compatibility options. return func(**dict(zip(_old_args, args)), **kwargs) tests/unit/test_reddit.py::TestReddit::test_conflicting_settings tests/unit/test_reddit.py::TestReddit::test_read_only__with_authenticated_core /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/praw/reddit.py:645: DeprecationWarning: Token managers have been deprecated and will be removed in the near future. See https://www.reddit.com/r/redditdev/comments/olk5e6/followup_oauth2_api_changes_regarding_refresh/ for more details. self._prepare_common_authorizer(authenticator) tests/unit/test_reddit.py::TestReddit::test_check_for_async__disabled /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/test_reddit.py:65: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() tests/unit/test_reddit.py::TestReddit::test_check_for_async /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/test_reddit.py:48: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() tests/unit/test_reddit.py::TestReddit::test_post_ratelimit__invalid_rate_limit_message /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/test_reddit.py:173: DeprecationWarning: Accessing attribute 'message' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert exception.value.message == "Some unexpected error message" tests/unit/test_reddit.py::TestReddit::test_post_ratelimit__over_threshold__minutes /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/test_reddit.py:200: DeprecationWarning: Accessing attribute 'message' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. ) tests/unit/test_reddit.py::TestReddit::test_post_ratelimit__over_threshold__seconds /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/test_reddit.py:227: DeprecationWarning: Accessing attribute 'message' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. ) tests/unit/test_reddit.py::TestReddit::test_post_ratelimit__under_threshold__seconds_failure /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/unit/test_reddit.py:363: DeprecationWarning: Accessing attribute 'message' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. ) tests/unit/test_reddit.py::TestReddit::test_read_only__with_authenticated_core__non_confidential /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/praw/reddit.py:655: DeprecationWarning: Token managers have been deprecated and will be removed in the near future. See https://www.reddit.com/r/redditdev/comments/olk5e6/followup_oauth2_api_changes_regarding_refresh/ for more details. self._prepare_common_authorizer(authenticator) tests/integration/models/reddit/test_redditor.py::TestRedditor::test_friend__with_note__no_gold /home/buildozer/aports/community/py3-praw/src/praw-7.8.1/tests/integration/models/reddit/test_redditor.py:29: DeprecationWarning: Accessing attribute 'error_type' through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code. assert excinfo.value.error_type == "GOLD_REQUIRED" -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================ 1028 passed, 1 skipped, 814 warnings in 10.42s ================ /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-787dc140-334f-4c7c-aec8-ab4974a40763/popen-gw9/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-787dc140-334f-4c7c-aec8-ab4974a40763/popen-gw9/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-787dc140-334f-4c7c-aec8-ab4974a40763/popen-gw9 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-787dc140-334f-4c7c-aec8-ab4974a40763/popen-gw9' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-787dc140-334f-4c7c-aec8-ab4974a40763 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-787dc140-334f-4c7c-aec8-ab4974a40763' warnings.warn( >>> py3-praw: Entering fakeroot... >>> py3-praw-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/praw/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/__pycache__' 'usr/lib/python3.12/site-packages/praw/util/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/util/__pycache__' 'usr/lib/python3.12/site-packages/praw/models/reddit/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/models/reddit/__pycache__' 'usr/lib/python3.12/site-packages/praw/models/reddit/mixins/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/models/reddit/mixins/__pycache__' 'usr/lib/python3.12/site-packages/praw/models/listing/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/models/listing/__pycache__' 'usr/lib/python3.12/site-packages/praw/models/listing/mixins/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/models/listing/mixins/__pycache__' 'usr/lib/python3.12/site-packages/praw/models/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/models/__pycache__' 'usr/lib/python3.12/site-packages/praw/models/list/__pycache__' -> '/home/buildozer/aports/community/py3-praw/pkg/py3-praw-pyc/usr/lib/python3.12/site-packages/praw/models/list/__pycache__' >>> py3-praw-pyc*: Preparing subpackage py3-praw-pyc... >>> py3-praw-pyc*: Running postcheck for py3-praw-pyc >>> py3-praw*: Running postcheck for py3-praw >>> py3-praw*: Preparing package py3-praw... >>> py3-praw-pyc*: Tracing dependencies... py3-prawcore py3-update-checker py3-requests py3-websocket-client python3~3.12 >>> py3-praw-pyc*: Package size: 830.8 KB >>> py3-praw-pyc*: Compressing data... >>> py3-praw-pyc*: Create checksum... >>> py3-praw-pyc*: Create py3-praw-pyc-7.8.1-r0.apk >>> py3-praw*: Tracing dependencies... py3-prawcore py3-update-checker py3-requests py3-websocket-client python3~3.12 >>> py3-praw*: Package size: 707.0 KB >>> py3-praw*: Compressing data... >>> py3-praw*: Create checksum... >>> py3-praw*: Create py3-praw-7.8.1-r0.apk >>> py3-praw: Build complete at Sat, 26 Oct 2024 21:56:23 +0000 elapsed time 0h 0m 19s >>> py3-praw: Cleaning up srcdir >>> py3-praw: Cleaning up pkgdir >>> py3-praw: Uninstalling dependencies... (1/63) Purging .makedepends-py3-praw (20241026.215605) (2/63) Purging py3-prawcore-pyc (2.4.0-r0) (3/63) Purging py3-prawcore (2.4.0-r0) (4/63) Purging py3-update-checker-pyc (0.18.0-r5) (5/63) Purging py3-update-checker (0.18.0-r5) (6/63) Purging py3-websocket-client-pyc (1.8.0-r0) (7/63) Purging py3-websocket-client (1.8.0-r0) (8/63) Purging py3-gpep517-pyc (16-r0) (9/63) Purging py3-gpep517 (16-r0) (10/63) Purging py3-installer-pyc (0.7.0-r2) (11/63) Purging py3-installer (0.7.0-r2) (12/63) Purging py3-flit-core-pyc (3.9.0-r1) (13/63) Purging py3-flit-core (3.9.0-r1) (14/63) Purging py3-wheel-pyc (0.43.0-r0) (15/63) Purging py3-wheel (0.43.0-r0) (16/63) Purging py3-betamax_matchers-pyc (0.4.0-r5) (17/63) Purging py3-betamax_matchers (0.4.0-r5) (18/63) Purging py3-requests-toolbelt-pyc (1.0.0-r1) (19/63) Purging py3-requests-toolbelt (1.0.0-r1) (20/63) Purging py3-betamax_serializers-pyc (0.2.1-r6) (21/63) Purging py3-betamax_serializers (0.2.1-r6) (22/63) Purging py3-yaml-pyc (6.0.2-r0) (23/63) Purging py3-yaml (6.0.2-r0) (24/63) Purging py3-betamax-pyc (0.9.0-r1) (25/63) Purging py3-betamax (0.9.0-r1) (26/63) Purging py3-requests-pyc (2.32.3-r0) (27/63) Purging py3-requests (2.32.3-r0) (28/63) Purging py3-certifi-pyc (2024.8.30-r0) (29/63) Purging py3-certifi (2024.8.30-r0) (30/63) Purging py3-charset-normalizer-pyc (3.3.2-r1) (31/63) Purging py3-charset-normalizer (3.3.2-r1) (32/63) Purging py3-idna-pyc (3.10-r0) (33/63) Purging py3-idna (3.10-r0) (34/63) Purging py3-urllib3-pyc (1.26.20-r0) (35/63) Purging py3-urllib3 (1.26.20-r0) (36/63) Purging py3-pytest-xdist-pyc (3.6.1-r0) (37/63) Purging py3-pytest-xdist (3.6.1-r0) (38/63) Purging py3-execnet-pyc (2.1.1-r0) (39/63) Purging py3-execnet (2.1.1-r0) (40/63) Purging py3-pytest-pyc (8.3.3-r0) (41/63) Purging py3-pytest (8.3.3-r0) (42/63) Purging py3-iniconfig-pyc (2.0.0-r1) (43/63) Purging py3-iniconfig (2.0.0-r1) (44/63) Purging py3-packaging-pyc (24.1-r0) (45/63) Purging py3-packaging (24.1-r0) (46/63) Purging py3-parsing-pyc (3.1.4-r0) (47/63) Purging py3-parsing (3.1.4-r0) (48/63) Purging py3-pluggy-pyc (1.5.0-r0) (49/63) Purging py3-pluggy (1.5.0-r0) (50/63) Purging py3-py-pyc (1.11.0-r4) (51/63) Purging py3-py (1.11.0-r4) (52/63) Purging python3-pyc (3.12.7-r1) (53/63) Purging python3-pycache-pyc0 (3.12.7-r1) (54/63) Purging pyc (3.12.7-r1) (55/63) Purging python3 (3.12.7-r1) (56/63) Purging gdbm (1.24-r0) (57/63) Purging libbz2 (1.0.8-r6) (58/63) Purging libffi (3.4.6-r0) (59/63) Purging libpanelw (6.5_p20241006-r0) (60/63) Purging mpdecimal (4.0.0-r0) (61/63) Purging sqlite-libs (3.47.0-r0) (62/63) Purging xz-libs (5.6.3-r0) (63/63) Purging yaml (0.2.5-r2) Executing busybox-1.37.0-r3.trigger OK: 247 MiB in 102 packages >>> py3-praw: Updating the community/loongarch64 repository index... >>> py3-praw: Signing the index...