Skip to content

Old / deprecated dependencies - wont run on Ubuntu 24 or 26 #401

Description

@tomarquardt

When following installation instructions, even server testing fails.

bin/tools/switchmap_poller_test.py --hostname HOSTNAME

returns pkg_resources doesn't exist.
pkg_resources was deprecated and removed from python since setuptools version 81.0.0
Even when forcing version 80.x.x to be used, other errors appear:

AttributeError: module 'ast' has no attribute 'Str'

The Str in ast was deprecated in python3.8 and removed completely in 3.14.

The requirements.txt also seems to lock this into old versions of flask and other prerequisites.

Is switchmap-ng still being maintained?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions