Python 3.10, ezdxf 0.17.1, vispy 0.9.0 fixes - fixed for next version

Issue #547 new
Adam Sałata created an issue

Python 3.10

https://docs.python.org/3/library/collections.abc.html (depricated since 3.3 removed in 3.10)

  • appCommon/Common.py
    change line 22 to import collections.abc as collections
  • camlib.py
    change line 41 to from collections.abc import Iterable
  • appTools/ToolCopperThieving.py
    change line 23 to from collections.abc import Iterable
  • appTools/ToolQRCode.py
    change line 21 to from collections.abc import Iterable
  • makefile sorts numbers (python version) alphabetically (10<5)
    not sure how to fix it easily (split by '.' compare each element?)

EzDxf

ezdxf.math no longer has Vector (now Vec3)

  • appParsers/ParseDXF.py
    change line 10 to from ezdxf.math import Vec3 as ezdxf_vector

VisPy

I have found in another issue (#534) that you have removed the ++ marker patch but it is still present in beta_8.994

  • appGui/VisPyPatches.py
    remove lines 16-34 (inclusive)

After these changes it will start, not sure if it will work properly

Comments (2)

  1. Marius Stanciu

    Those issues are fixed in my working copy and the fix will be in the next release (when released).

  2. Log in to comment