Skip to content

deprecations: collections.abc, Engine.table_name  #83

Closed

Description

@dnadeau-lanl

Deprecation of collections.abc

/dbprocessing/DButils.py:704: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  or not isinstance(filename, collections.Iterable):

Deprecation of Engine.table_names() in sqlalchemy in unit tests

dbprocessing/unit_tests/test_tables.py:58: SADeprecationWarning: The Engine.table_names() method is deprecated and will be removed in a future release.  Please refer to Inspector.get_table_names(). (deprecated since: 1.4)
  sorted(tables), sorted(self.engine.table_names()))

Relation to an issue

#60

Version of dbprocessing

5c0082c

Closure condition

We don't have deprecated warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions