aboutcode-org / aboutcode-org/vulnerablecode

Python version 3.12 and 3.13 do not support "ImpImporter"

Open
#1,782 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

The Newer version of Python do not support "ImpImporter" while making the installation. Running command "make test" will give the following error message :

register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

The newer versions has removed "ImpImporter" from its "pkgutil" module.
I would like to suggest to mention about it in the [Installation docs](https://vulnerablecode.readthedocs.io/en/latest/installation.html) to depreciate the version to 3.11 so that all the commands can run.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.