Package: python-pyorick / 1.4-4

collections_abc Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Import from collections.abc instead of collections
 Sequence and Mapping have been moved to collections.abc since Python 3.3.
Author: Thibaut Paumard <[email protected]>
Origin: vendor
Bug: https://github.com/LLNL/pyorick/issues/3
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002212
Last-Update: 2022-01-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/pyorick/pyorick.py
    b/pyorick/pyorick.py
@@ -26,7  26,7 @@
 import numpy as np
 
 from numbers import Number
-from collections import Sequence, Mapping
 from collections.abc import Sequence, Mapping
 from ctypes import (c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
                     c_long, c_ulong, c_longlong, c_ulonglong,
                     c_float, c_double, c_longdouble, sizeof)