solsticegamestudios / vdf

📜 Package for working with Valve's text and binary KeyValue format
https://pypi.org/project/vdf/
MIT License
8 stars 1 forks source link

Drop Python 2 support and only support 3.6+ #1

Closed Matoking closed 2 months ago

Matoking commented 2 months ago

Remove Python 2 backwards compatibility workarounds and mark the package as Python 3 only. Python 3.6 is now set as the minimum supported Python version.

Python 3.4 was marked as the lowest supported version per package classifiers, though whether this was still the case hasn't been checked; the CI workflow for the original repo hasn't run tests on Python 3.4 since December 2020.

Also make the Python code more idiomatic by running it through pyupgrade --py36-plus. This was done in a separate commit.

WinterPhoenix commented 2 months ago

Tests are working and v4.0 has been released with this. Thanks again!