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

Replace distutils.version with packaging.version #164

Merged
merged 5 commits into from
Nov 24, 2023

Conversation

pederhan
Copy link
Member

@pederhan pederhan commented Nov 13, 2023

Distutils is deprecated in Python 3.10, and is removed in 3.12. This PR replaces instances of distutils.version.StrictVersion with packaging.version.Version from the packaging package.

zabbix_cli/version.py Outdated Show resolved Hide resolved
@pederhan pederhan changed the title Vendor distutils.version module Replace distutils.version module Nov 13, 2023
@pederhan pederhan changed the title Replace distutils.version module Replace distutils.version module with packaging.version Nov 24, 2023
@pederhan pederhan changed the title Replace distutils.version module with packaging.version Replace distutils.version with packaging.version Nov 24, 2023
@pederhan pederhan merged commit 217c66b into unioslo:master Nov 24, 2023
7 checks passed
@pederhan pederhan deleted the replace-distutils branch November 24, 2023 11:19
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.

2 participants