Lavalink.py icon indicating copy to clipboard operation
Lavalink.py copied to clipboard

aiohttp version upgrade

Open ArynRama opened this issue 1 year ago • 2 comments

Summary

when trying to install lavalink.py it tries to install a version of aiohttp which is unsupported by python 3.12

Lavalink & System Version

OS: Windows Python version: 3.12 Lavalink.py: 5.1.0

Reproduction

run pip install lavalink

ArynRama avatar Feb 13 '24 03:02 ArynRama

The current state of affairs with aiohttp 3.9 is that I would sacrifice support for Python versions below 3.8. If I bump it now, I would need to slate it for a lavalink.py v6 release due to its breaking nature. For the time being, you can work around this by doing pip install lavalink --no-dependencies. Lavalink.py doesn't need any dependencies other than aiohttp anyway, so as long as you have the desired version of aiohttp installed, the library will just use that.

I shall keep this issue opened until a solution is pushed to the master branch, however there may not be any updates to this issue until a 6.0 release is ready, but with 5.0 still being relatively new, this may be a ways off.

devoxin avatar Feb 13 '24 15:02 devoxin

You can make a beta release without aiohttp or with an updated one because poetry does not allow you to install without dependencies

BazZziliuS avatar May 11 '24 20:05 BazZziliuS

This also prevents compatibility with other libraries (e.g. hikari) whose latest versions require a newer aiohttp version (>=3.9).

FWIW Python3.7 reached EOL in 2023 and 3.8 will later this year so it's not unreasonable to drop support.

zlalvani avatar Jul 17 '24 02:07 zlalvani