Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

will not install for python 3.10+ #175

Closed badgeminer closed 2 years ago

badgeminer commented 2 years ago

will not install for python 3.10+

Iapetus-11 commented 2 years ago

How so? Send any errors or messages that occur when it fails installing, so we can fix or troubleshoot the issue.

kevinkjt2000 commented 2 years ago

Actually I'm gonna change this to Bug, because it's intentional that python 3.10 is not supported.

https://github.com/Dinnerbone/mcstatus/blob/a31e808b1f35190c3875645e40d5bc31a6f3a950/pyproject.toml#L32 because of a development dependency pytype https://github.com/Dinnerbone/mcstatus/blob/a31e808b1f35190c3875645e40d5bc31a6f3a950/poetry.lock#L489

I'll cut a release later that fixes this by only installing pytype if python is less than 3.10

There could be other dependencies that are gated on python 3.10 too, but pytype was the only one that I found quickly.

kevinkjt2000 commented 2 years ago

I'm fighting a test that's failing before I can release the change I'm making that fixes this.

kevinkjt2000 commented 2 years ago

Fixed in v8.0.0 with (27fbe2e)