KBNLresearch / iromlab

Loader software for automated imaging of optical media with Nimbie disc robot
Apache License 2.0
33 stars 5 forks source link

Imp removed in Python 3.12 #107

Open bitsgalore opened 11 months ago

bitsgalore commented 11 months ago

The Iromlab configuration script and iromlab.pyw both use the imp.is_frozen function, but the "imp" module was removed in Python 3.12.

Imp is replaced by importlib, but AFAIK this doesn't have a replacement for the is_frozen function.

BUT since Iromlab doesn't use py2exe I wonder if we even need this at all?

bitsgalore commented 7 months ago

Should be fixed by:

https://github.com/KBNLresearch/iromlab/commit/cf8d5b30880c5cd9156268b58cf717a2db63a30f

and:

https://github.com/KBNLresearch/iromlab/commit/808667c29787b946221b9ca9cf4cca96a73aaaf9

TODO: test on Windows machine.