v0.4.0
Major change in DLite v0.4.0
Minimal installation
Running pip install dlite-python
now does a minimal installation with NumPy as the only dependency.
To retain the former behaviour of get all optional dependencies needed by the different plugins, install DLite with
pip install dlite-python[full]
Improved error
Errors at C-level now raises corrosponding subclasses of DLiteError.
It is not possible to see traceback from errors occuring within Python storage plugins by setting the DLITE_PYDEBUG environment variable.
Merged pull requests
- 580 error messages from python plugins by @jesper-friis in #585
- Fix segfault when calling Instance.to_bytes() for drivers not supporting memsave by @jesper-friis in #588
- Code cleanup by @jesper-friis in #591
- Fix gcc warning by @jesper-friis in #596
- Cleaned up docstrings in the YAML storage plugin by @jesper-friis in #590
- Updated formatting of entities by @jesper-friis in #586
- Added support for Pydantic 2.x by @jesper-friis in #592
- Added --package option to patch-activate.sh script by @jesper-friis in #598
- Test http plugin by @jesper-friis in #593
- Install cmake with pip by @jesper-friis in #608
- Fix iterate over storage plugin names by @jesper-friis in #607
- Run python files through black by @jesper-friis in #610
- Make figures show up correctly in README on PyPI by @jesper-friis in #611
- Better error messages from within plugins by @jesper-friis in #613
- Reduce requirements by @jesper-friis in #594
Full Changelog: v0.3.22...v0.4.0
Changelog
v0.4.0 (2023-08-24)
Fixed bugs:
Closed issues:
- Remove test_python_bindings #605
- Install Python package under lib64/ on systems supporting that #597
- Instance.to_bytes() segfaults if driver is not supported #587
- Support for pydantic 2.0 #574
- storages/python/python-storage-plugins/http.py needs requests #569
- Clean up requirements #517
- Shorten build time for musl linux #362
Merged pull requests:
- Better error messages from within plugins #613 (jesper-friis)
- Make figures show up correctly in README on PyPI #611 (jesper-friis)
- Run python files through black #610 (jesper-friis)
- Install cmake with pip #608 (jesper-friis)
- Fix iterate over storage plugin names #607 (jesper-friis)
- Added --package option to patch-activate.sh script #598 (jesper-friis)
- Fix gcc warning #596 (jesper-friis)
- Reduce requirements #594 (jesper-friis)
- Test http plugin #593 (jesper-friis)
- Added support for Pydantic 2.x #592 (jesper-friis)
- Code cleanup #591 (jesper-friis)
- Cleaned up docstrings in the YAML storage plugin #590 (jesper-friis)
- Python errors #589 (jesper-friis)
- Fix segfault when calling Instance.to_bytes() for drivers not supporting memsave #588 (jesper-friis)
- Updated formatting of entities #586 (jesper-friis)
- 580 error messages from python plugins #585 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator