chore(deps): update all dependencies #87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/all"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v6→v7==7.8.1→==8.0.1==0.4.2→==0.4.3==3.29.1→==3.29.4==21.4.2→==21.5.1Release Notes
actions/checkout (actions/checkout)
v7Compare Source
v7.0.0Compare Source
v6.0.3Compare Source
v6.0.2Compare Source
v6.0.1Compare Source
praw-dev/asyncpraw (asyncpraw)
v8.0.1Compare Source
Fixed
__all__inasyncprawandasyncpraw.modelsso that, now that AsyncPRAW ships a
py.typedmarker, type checkers recognize documented imports such asfrom asyncpraw import Redditandfrom asyncpraw.models import Redditoraspublic re-exports instead of reporting them as private.
v8.0.0Compare Source
Added
.Announcementand :class:.AnnouncementHelper, exposed as:attr:
.Reddit.announcements, for listing, hiding, and marking the currentlyauthenticated user's announcements as read. Provides :meth:
.Announcement.hide,:meth:
.Announcement.mark_read, :meth:.AnnouncementHelper.hide,:meth:
.AnnouncementHelper.mark_read, and :meth:.AnnouncementHelper.mark_all_read.:attr:
.Announcement.sent_datetimeand :attr:.Announcement.read_datetimereturn theannouncement's
sent_atandread_attimestamps as timezone-aware:class:
datetime.datetimeobjects (read_datetimeisNonefor unreadannouncements).
~.Comment.created_datetimeto objects with a creation time (for example:class:
.Comment, :class:.Submission, :class:.Redditor, :class:.Subreddit,:class:
.Collection, and :class:.ModNote), returning a timezone-aware:class:
datetime.datetime.~.Collection.updated_datetimeto :class:.Collection,:attr:
~.PollData.voting_end_datetimeto :class:.PollData, and:attr:
~.Comment.edited_datetimeto :class:.Commentand :class:.Submission(
Nonewhen the object has not been edited), all returning timezone-aware:class:
datetime.datetimeobjects.exception_handlerkeyword argument to :func:.stream_generator(and thus allstreammethods) that is invoked with any exception raised while fetching items,allowing the stream to resume rather than terminate. Re-raise from the handler to stop
the stream.
praw.iniin the current working directory sets theoauth_urlorreddit_urlendpoint, as such a file can redirect credentials to an untrusted host.The warning can be silenced by setting the
PRAW_ALLOW_ENDPOINT_OVERRIDEenvironment variable.
.Redditor.overviewto iterate over a Redditor's combined comments andsubmissions, mirroring the user overview page on Reddit.
selftextwhen submitting link, image,gallery and video posts.
.Mediaand its subclasses :class:.EmojiMedia, :class:.PostMedia,:class:
.StylesheetAsset, :class:.StylesheetImage, and :class:.WidgetMediatoconsolidate media uploads. Media can be constructed from a file path, or from
bytescontent along with aname, so media no longer has to be written to diskbefore uploading.
fetchto :meth:.get_ruleto control whether to fetch the rule datawhen initializing the rule object.
py.typedmarker (:PEP:561) so that downstream projects can type check againstAsync PRAW's inline annotations.
Changed
Drop support for Python 3.9, which was end-of-life on 2025-10-31.
Require
asyncprawcore >=3.1.0, <4for its public :class:!Sessionand authorizeraccessors and the widened :meth:
!Session.requestannotations, which let Async PRAWdrop a number of internal
cast\ s and type-checker suppressions.Require
update_checker[async] >=1.0, <2.0and perform the update check using itsnative async API on the first request, instead of a blocking call during
Redditinitialization. The 1.0 release is dependency-free, dropping
requestsfrom AsyncPRAW's transitive dependencies.
Drop support for Python 3.8, which was end-of-life on 2024-10-07.
Change
Reddit.user.meto raise :class:.ReadOnlyExceptionwhen called in:attr:
.read_onlymode.The
subredditattribute of :class:.Redditoris a :class:.UserSubredditinstance.
The
dataargument toObjector.objectifymust now be passed by keyword.The
mark_readargument tosubreddit.modmail(:class:.ModmailConversation)must now be passed by keyword.
The
flair_typeargument to :class:.SubredditFlairTemplatesmust be passed bykeyword.
The
selftextandurlarguments to :meth:.Subreddit.submitare no longermutually exclusive. When
urlis providedselftextwill be used as optionalbody text to accompany the link submission. An exception is raised when trying to use
inline_mediawithselftextfor aurlsubmission because Reddit does notsupport inline media in body text for link submissions.
Subreddit.submit_gallery,Subreddit.submit_image,Subreddit.submit_poll,and
Subreddit.submit_videohave been merged into :meth:.Subreddit.submit. Thekind of submission is selected with the
gallery,image,poll,url, orvideokeyword argument. At least one of those, orselftext, must be provided,and they are mutually exclusive, while
selftextmay accompany any of them asoptional Markdown-formatted body text.
imagetakes a :class:.PostMediainstance;gallerytakes a list of :class:.PostMediainstances ordict\ s with amediakey;videotakes a :class:.PostMediainstance or adictwith amediakey and optionalgifandthumbnailkeys; andpolltakes adictwithdurationandoptionskeys.Media upload methods now accept :class:
.Mediainstances instead of file paths:image_pathargument to :meth:.SubredditEmoji.addhas been replaced bymedia, which takes an :class:.EmojiMediainstance.image_patharguments to the :class:.SubredditStylesheetupload_*methods have been replaced by
media, which must be passed positionally.:meth:
.SubredditStylesheet.upload, :meth:.SubredditStylesheet.upload_header,:meth:
.SubredditStylesheet.upload_mobile_header, and:meth:
.SubredditStylesheet.upload_mobile_icontake a :class:.StylesheetImageinstance, while :meth:
.SubredditStylesheet.upload_banner,:meth:
.SubredditStylesheet.upload_banner_additional_image,:meth:
.SubredditStylesheet.upload_banner_hover_image, and:meth:
.SubredditStylesheet.upload_mobile_bannertake a :class:.StylesheetAssetinstance.
file_pathargument to :meth:.SubredditWidgetsModeration.upload_imagehasbeen replaced by
media, which takes a :class:.WidgetMediainstance and must bepassed positionally.
pathargument to :class:.InlineMedia(:class:.InlineGif,:class:
.InlineImage, and :class:.InlineVideo) has been replaced bymedia,which takes a :class:
.PostMediainstance.An unknown media type now raises :class:
.ClientExceptionwhen uploading media,instead of falling back to JPEG.
Media uploads to Reddit's S3 buckets now respect the configured
timeoutand raiseasyncprawcore.RequestExceptionon transport errors, consistent with all otherrequests, instead of bypassing the configured timeout and raising raw
aiohttpexceptions.
:meth:
.CommentForest.listno longer needs to be awaited.The keyword argument
lazyhas been replace byfetchto consolidate the keywordargument used to explicitly perform a fetch when initializing an object.
The argument
reason_idin :meth:.RemovalReason.__init__has been replaced withidand is now a positional-only argument.The
nameargument in :meth:.get_emojiis now a positional-only argument.The
reason_idargument in :meth:.get_reasonhas been replaced withidand isnow a positional-only argument.
The
short_nameargument in :meth:.get_ruleis now a positional-only argument.The
update_idargument in :meth:.get_updatehas been replaced withidand isnow a positional-only argument.
The
page_nameargument in :meth:.get_pageis now a positional-only argument.The
fetchargument in the following methods is now a keyword-only argument:.get_emoji.get_reason.get_update.DraftHelper.__call__.LiveHelper.__call__.Modmail.__call__.SubredditCollections.__call__.SubredditHelper.__call__:meth:
.Submission.add_fetch_paramnow raises :class:.ClientExceptionwhen calledon a submission that has already been fetched, rather than logging a warning, since
the added parameters would have no effect.
The
comment_sortandcomment_limitattributes of a :class:.Submissionmustnow be set before the submission is fetched; setting either after the submission has
been fetched raises :class:
.ClientExceptioninstead of logging a warning. Becausereddit.submission()fetches by default, initialize the submission withfetch=False, set the attributes, then call :meth:~.Submission.load.Require
asyncprawcore >=4, <5.Split
asyncpraw/models/reddit/subreddit.pyinto anasyncpraw.models.reddit.subredditpackage, with :class:.Subredditand each ofits helper classes (:class:
.Modmail, :class:.SubredditFilters,:class:
.SubredditFlair, :class:.SubredditModeration,:class:
.SubredditQuarantine, :class:.SubredditRelationship,:class:
.SubredditStream, :class:.SubredditStylesheet, :class:.SubredditWiki, andtheir related classes) moved to dedicated modules. All classes remain importable from
asyncpraw.models.reddit.subredditandasyncpraw.modelsfor backwardscompatibility. See the :ref:
migration guide <asyncpraw8_migration>for the fullmapping.
Fixed
.Submission.hideand :meth:.Submission.unhide, whichreturned a 404 due to a trailing slash.
TypeErrorwhen objectifying a response whosejson.errorsfield isnullrather than an empty list (e.g.
api/hide).Removed
warn_additional_fetch_paramsconfiguration option, which is obsolete now thatadding fetch parameters to an already-fetched submission raises
:class:
.ClientException.warn_comment_sortconfiguration option, which is obsolete now that settingcomment_sortorcomment_limitafter the comments have been fetched raises:class:
.ClientException.Reddit.random_subreddit,Subreddit.random, andSubreddit.random_rising.APIExceptionclass.PRAWExceptionclass rename handler.Comment.awardandSubmission.awardmethods.Comment.gild,Redditor.gild, andSubmission.gildmethods.Redditor.gildedandSubreddit.gildedmethods.Redditor.gildingsmethod.Subreddit.mod.inbox,Subreddit.mod.unread, andSubreddit.mod.stream.unreadmethods.Subreddits.search_by_topicmethod.Subreddits.goldmethod..Redditkeyword argumenttoken_managerand all associated tokenmanagers.
Reddit.validate_on_submitconfiguration attribute.WebSocketException.original_exceptionmethod.afterargument for :meth:.conversations..CommentForestas an asynchronous iterator..Redditas an synchronous context manager.reset_timestampfrom :meth:.limits.SubredditMessage.muteandSubredditMessage.unmutemethods.InboxableMixin.unblock_subredditmethod.pypa/distlib (distlib)
v0.4.3Compare Source
tox-dev/py-filelock (filelock)
v3.29.4Compare Source
What's Changed
Full Changelog: https://github.com/tox-dev/filelock/compare/3.29.3...3.29.4
v3.29.3Compare Source
What's Changed
Full Changelog: https://github.com/tox-dev/filelock/compare/3.29.2...3.29.3
v3.29.2Compare Source
What's Changed
Full Changelog: https://github.com/tox-dev/filelock/compare/3.29.1...3.29.2
pypa/virtualenv (virtualenv)
v21.5.1Compare Source
What's Changed
Full Changelog: https://github.com/pypa/virtualenv/compare/21.5.0...21.5.1
v21.5.0Compare Source
What's Changed
Full Changelog: https://github.com/pypa/virtualenv/compare/21.4.3...21.5.0
v21.4.3Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/pypa/virtualenv/compare/21.4.2...21.4.3
Configuration
📅 Schedule: (in timezone Asia/Riyadh)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate.
80ee52ad5dto9531272284chore(deps): update dependency filelock to v3.29.2to chore(deps): update dependency filelock to v3.29.39531272284to25360bda89chore(deps): update dependency filelock to v3.29.3to chore(deps): update all dependencies25360bda89to2a05e561c02a05e561c0to4313f7ea2d4313f7ea2dto16c08ee59216c08ee592toce611b0f49ce611b0f49to4192aa4b314192aa4b31to76fd55a5ad76fd55a5adtoe7f7677b78e7f7677b78to6f62c9bc516f62c9bc51to5aad384baaView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.