uwefladrich / scriptengine

A lightweight and extensible framework for execution scripts written in YAML.
GNU General Public License v3.0
15 stars 4 forks source link

Improve packaging and CI #95

Closed uwefladrich closed 1 year ago

uwefladrich commented 1 year ago
uwefladrich commented 1 year ago

This PR will drop support for Python3.6!

The src-layout and automatic package detection breaks with Python3.6 (and corresponding setuptools, I suppose) and that is a good enough reason to finally drop support for that version.

Closes #88

uwefladrich commented 1 year ago

Avoiding the pkg_resources deprecation warning (seen, e.g., with pytest) means migrating to importlib.metadata. This means also to implement fallback options for Python 3.7 (importlib_metadata dependency) and working around incompatible API calls to entry_points between Python3.8/9 versions of importlib.metadata and later (>=Python3.10). All done in scriptengine.tasks.core.loader.