Skip to content

pkg_resources is deprecated; tutorials should be updated to use something else #955

@mhucka

Description

@mhucka

All the tutorials for TFQ currently have the following code:

# Update package resources to account for version changes.
import importlib, pkg_resources
importlib.reload(pkg_resources)

This produces the following warnings in all the tutorials:

Image

This code should be replaced with more modern equivalents that don't produce a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/dependenciesInvolves libraries or other software that TFQ depends onpythonPull requests that update python code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions