aboutcode-org / aboutcode-org/vulnerablecode

Python version 3.12 and 3.13 do not support "ImpImporter"

Offen
#1,782 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
702
Forks
328
Ø Merge
3 T. 8 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.