Fedihosting-Foundation / plemmy

A Python package for accessing the LemmyHttp API
Apache License 2.0
45 stars 15 forks source link

Python version requirement #19

Closed gwbischof closed 12 months ago

gwbischof commented 12 months ago

the pyroject.toml file says that this project requires python 3.11. Is there a specific feature of 3.11 that is needed here? Python 3.11 is still a pre-release.

ihyoudou commented 12 months ago

I don't believe this project use any features from newer Python releases. I also did check using vermin and plemmy should work on >=3.7, so we should be fine to lower the required version.

Minimum required versions: 3.7
Incompatible versions:     2

Also, as far I can tell - Python 3.11 is current stable release and 3.12 is a pre-release?

gwbischof commented 12 months ago

Oh yep, I think you are right 3.11 is stable.

tjkessler commented 12 months ago

@gwbischof - you're correct, there's really no reason to require 3.11 if Plemmy doesn't use Python's newer features. @ihyoudou - thanks for testing which Python versions are compatible, and for introducing me to a cool tool!

Setting the minimum requirement to 3.7 makes sense, I'll merge the associated PR.