Skip to content

[WARN] Distutils has been deprecated #319

@sevdog

Description

@sevdog

I am seeing this behaviour on: (please complete the following information):

  • Python Version: 3.9+

Describe the bug
To check server version cbapi relies on distutils.version (see usage). This module has been deprecated and now it returns the following warning:

DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.

Steps to Reproduce
Steps to reproduce the behavior (Provide a log message if relevant):

  1. Istantiate any CbAPI class (CbResponseAPI or CbProtectionAPI)

Expected behavior
No warning should be raised.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions