From d6f0d268855374ec134e89cd79bbb6f71008c8c8 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Wed, 10 Jul 2019 16:59:21 +0200
Subject: [PATCH] Fix deprecation warning: `collections.abc` instead of `abc`

DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from '' is deprecated, and in 3.8 it will stop working
---
 pystencils/datahandling/datahandling_interface.py | 2 +-
 pystencils/gpucuda/indexing.py                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pystencils/datahandling/datahandling_interface.py b/pystencils/datahandling/datahandling_interface.py
index da2108bf..0848eb96 100644
--- a/pystencils/datahandling/datahandling_interface.py
+++ b/pystencils/datahandling/datahandling_interface.py
@@ -1,5 +1,5 @@
 import numpy as np
-from abc import ABC, abstractmethod
+from collections.abc import ABC, abstractmethod
 from typing import Optional, Callable, Sequence, Iterable, Tuple, Dict, Union
 from pystencils.field import Field
 
diff --git a/pystencils/gpucuda/indexing.py b/pystencils/gpucuda/indexing.py
index 5864c4f8..7cc293fd 100644
--- a/pystencils/gpucuda/indexing.py
+++ b/pystencils/gpucuda/indexing.py
@@ -1,4 +1,4 @@
-import abc
+import collections.abc as abc
 from typing import Tuple  # noqa
 import sympy as sp
 from pystencils.astnodes import Conditional, Block
-- 
GitLab