Skip to content

Compatibility support for python2 warning #3

Description

@eagoetz

When running a test-suite using pytest for a package that has dependency for python-declarative (via dttxml), I receive the following warning:

=============================== warnings summary ===============================
../../opt/miniconda3/lib/python3.7/site-packages/declarative/utilities/representations.py:8
  /Users/egoetz/opt/miniconda3/lib/python3.7/site-packages/declarative/utilities/representations.py:8: DeprecationWarning: Compatibility support for python2 has been dropped
    from ..utilities.future_from_2 import repr_compat

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================= 5 passed, 1 warning in 1.20s =========================

I python-declarative is installed via PyPI, version 1.3.0, running in a conda environment python-3.7.

Perhaps it's not a critical problem, but it may be worth taking a look since python2 is no longer supported.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions