praw-dev/asyncpraw

Bump aiofiles dependency

Luc1412 opened this issue · 13 comments

Describe the solution you'd like

Some months ago I PRed #181 to support newer version of aiofiles. Since then they switched from normal versioning to versioning which includes the year eg. 22.1.0 .

I'm not fully sure how they handle breaking changes, but it would be nice to implement some solution which allows users to use newer aiofiles version.

Describe alternatives you've considered

No response

Additional context

No response

Bumping the version isn't going to have any impact unless you're using the deprecated token manager utilities.

Bumping provides devs who use this wrapper + aiofiles the ability to use newer versions of aiofiles in their project as the version is currently locked at < 1

Ah that's right. Feel free to open a PR to bump the version if you'd like.

Not entirely sure how to pin the version, as they didn't stated anything when they introduce breaking changes.

Any idea whether to just pin it to <= latest or something like < 23

Typically we pin to latest minor of the current version i.e., aiofiles==23.*. aiofiles<23 will also work but the former will ensure the latest version instead of any version below 23.

This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 30 days.

This issue was closed because it has been stale for 30 days with no activity.

Could this be reopened?

Sure! Is there something that aiofiles added or uses that would make the newer version better?

Sure! Is there something that aiofiles added or uses that would make the newer version better?

Hi @LilSpazJoekp, I have another package with a dependency on a later version of aiofiles. Has this been fixed in the last release? I'm still seeing asyncpraw is locked <1.

The dev version is not pinned. We haven't pushed a new version yet however.

The dev version is not pinned. We haven't pushed a new version yet however.

Thanks @LilSpazJoekp! I couldn't find a dev branch. Any ETA for new version?

The master branch is the dev branch. You can install it with this command:

pip install --upgrade https://github.com/praw-dev/asyncpraw/archive/master.zip

Any ETA for new version?

No ETA right now.