borisbu / OctoRelay

OctoPrint / Octopi plugin to control relays
GNU Affero General Public License v3.0
43 stars 24 forks source link

Supporting OctoPrint 1.10 and Python 3.12 #258

Closed RobinTail closed 4 months ago

RobinTail commented 6 months ago

Preparing for the upcoming OctoPrint 1.10 having Python 3.12 support and testing the compatibility.

Instead of #233

coveralls commented 6 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 188c39a43ef36b5265edfd3d03dfc1dfd36c9786 on support-1-10 into b023c8fb9bb24de0da128196c89192fd56caadd0 on develop.

RobinTail commented 6 months ago

That version should also enable Python 3.12 support

RobinTail commented 6 months ago

3.12 has a newer setuptools, which since version 66 does not like the unknown version produced by miniver. Related issue: https://github.com/pypa/setuptools/issues/3772

RobinTail commented 6 months ago

snapshottest is not compatible with Python 3.12 — related issue: https://github.com/syrusakbary/snapshottest/issues/166