Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 support #483

Merged
merged 3 commits into from Mar 16, 2024
Merged

Python 3.12 support #483

merged 3 commits into from Mar 16, 2024

Conversation

glennmatthews
Copy link
Contributor

@glennmatthews glennmatthews commented Mar 14, 2024

  • Replace distutils.version.LooseVersion (distutils is removed in Python 3.12) with looseversion.LooseVersion (a very lightweight package that reimplements this specific class only)
    • Instead, vendor distutils.version module into netutils.
  • Replace distutils.strtobool usage in tasks.py with local code. (Relates to but does not close Implement strtobool? #280, as that was asking for a strtobool or is_truthy implementation in netutils itself)
  • Require flake8 7.x as earlier versions didn't support Python 3.12
  • Require pylint 3.x as earlier versions didn't support Python 3.12

pyproject.toml Outdated Show resolved Hide resolved
@itdependsnetworks itdependsnetworks merged commit 4d2cece into develop Mar 16, 2024
38 checks passed
@itdependsnetworks itdependsnetworks deleted the u/glennmatthews-280 branch March 16, 2024 20:54
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.

Implement strtobool?
2 participants