Fluigent / fgt-SDK

Fluigent Software Developement Kit
https://www.fluigent.com/
Apache License 2.0
34 stars 16 forks source link

Support Python 3.12 #93

Open paulmueller opened 2 weeks ago

paulmueller commented 2 weeks ago

Vanilla Python 3.12 is not supported at the moment due to (at least) the usage of pkg_resources:


    import Fluigent.SDK as fgt
.env/lib/python3.12/site-packages/Fluigent/SDK/__init__.py:5: in <module>
    from . import low_level
.env/lib/python3.12/site-packages/Fluigent/SDK/low_level.py:10: in <module>
    import pkg_resources
E   ModuleNotFoundError: No module named 'pkg_resources'

pkg_resources has been deprecated for quite some time and importlib.resources should be used instead. See also https://importlib-resources.readthedocs.io/en/latest/migration.html.

Workaround is to install the setuptools package.

Ygor-Oliveira commented 2 weeks ago

Hello,

This was first reported in #78. It had been fixed in the 24.0 release, which was withdrawn due to a bug. We should release it again soon.