Skip to content

Deal with deprecated pkg_resources API #112

@brews

Description

@brews

Doing anything with dscim spits out a

src/dscim/__init__.py:11
  /Users/username/Projects/dscim/src/dscim/__init__.py:11: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

because we're using pkg_resource in src/dscim/__init__.py and we're building with setuptools to build our package.

Need to rework this. There is a pretty good chance that this is setting __version__ to "999" because of the way it's coded.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions