Skip to content

Remove distutils - deprecated in python 3.10 - removed in python 3.12 #52

Description

@parthatom

I'm trying to use python-stix which relies on mixbox. However, this mixbox still relies on distutils in it's parser.

However, distutils has been deprecated since python 3.10 and has been officially removed from python 3.12 [python3.10/distutils].

This thread on stackoverflow has a more detailed discussion on how to replace distutils via setuptools.

Since, mixbox/parser.py uses distutils just for checking/managing versions, I believe this should be a quick fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions