EchterAlsFake / PHUB

A lightweight API for Pornhub
https://phub.rtfd.io
GNU General Public License v3.0
75 stars 25 forks source link

Support for Python 3.10 #38

Closed EchterAlsFake closed 10 months ago

EchterAlsFake commented 10 months ago

Hi,

I added support for Python 3.10 for latest v4.3. Can't say about py-3.9, that's why I created a new branch for it. I needed to remove the Self and LiteralString from typing and changed one of the consts, because it throwed an exception with re. I've tested it locally and didn't found any errors.

Btw. thanks for your effort in this project. v4.3 looks awesome xD

EchterAlsFake commented 10 months ago

Okay I am a bit lost now. I am not the best with git. I didn't see that it would write into your master branch. Maybe you can create a new branch in your repository py-3.10 with the content of your master branch and then I could make a new pull request :D

Egsagon commented 10 months ago

Done, thanks for taking time for this, it's really boring to do.

Also, don't forget to change the python version in the pyproject file too ^^