-
Type: Task
-
Resolution: Gone away
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
test_son.TestSON.test_copying is failing on Python 3.6.0:
[2022/03/10 01:54:17.200] ERROR: test_copying (test_son.TestSON) [2022/03/10 01:54:17.200] ---------------------------------------------------------------------- [2022/03/10 01:54:17.200] Traceback (most recent call last): [2022/03/10 01:54:17.200] File "/data/mci/de3663a3adff8e04b9ae59be3fa0b734/src/test/test_son.py", line 114, in test_copying [2022/03/10 01:54:17.200] simple_son1 = copy.copy(simple_son) [2022/03/10 01:54:17.200] File "/opt/mongodbtoolchain/revisions/e5348beb43e147b74a40f4ca5fb05a330ea646cf/stow/python3-v2.Y8G/lib/python3.6/copy.py", line 88, in copy [2022/03/10 01:54:17.200] return copier(x) [2022/03/10 01:54:17.200] TypeError: __copy__() takes 1 positional argument but 2 were given
I believe this error is caused by the SON generics change in PYTHON-3052. The only solution will be to drop support for Python <3.6.X.
- depends on
-
PYTHON-3172 Drop support for Python 3.6.0 and 3.6.1, require >=3.6.2
- Closed
- is caused by
-
PYTHON-3052 Add Typings to PyMongo Itself
- Closed