Skip to content

Remove Python 2 compat: six, cached-property, __future__ imports#124

Merged
iskandr merged 2 commits into
masterfrom
modernize-py3
Apr 5, 2026
Merged

Remove Python 2 compat: six, cached-property, __future__ imports#124
iskandr merged 2 commits into
masterfrom
modernize-py3

Conversation

@iskandr

@iskandr iskandr commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove six dependency — replace with Python 3 builtins (str, int, bytes, range, zip, metaclass syntax)
  • Remove cached-property — use functools.cached_property (stdlib since 3.8)
  • Remove from __future__ import statements from all files
  • Add python_requires='>=3.9'
  • Bump version to 1.4.0

Test plan

  • CI passes on Python 3.9, 3.10, 3.11

iskandr added 2 commits April 4, 2026 22:43
Replace six with Python 3 builtins, cached_property with functools.cached_property.
Requires Python >=3.9.
@iskandr iskandr merged commit 3cdc033 into master Apr 5, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant