Gemd

Latest version: v2.1.5

Safety actively analyzes 638361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

1.16.7

Releases for v1.16.3 and v1.16.4 didn't propagate to PyPI, so those release notes are repeated here.

As Python 3.7 hit [End-of-Life](https://devguide.python.org/versions/) 2023-06-27, this PR removes support for it and removes some crutches that were necessary to support it.

Improvements

* Drop reliance on [pkg-resources](https://setuptools.pypa.io/en/latest/pkg_resources.html) in favor of the more modern [importlib.resources](https://docs.python.org/3.10/library/importlib.html#module-importlib.resources). Note that the files methods were not introduced until 3.9, so until support for 3.7 and 3.8 is dropped, we cannot take advantage of them. https://github.com/CitrineInformatics/gemd-python/pull/195
* Modify the Travis-CI testing behavior for faster testing for PRs. https://github.com/CitrineInformatics/gemd-python/pull/197

Fixes

* Only build docs in one test permutation https://github.com/CitrineInformatics/gemd-python/pull/194
* Drop reliance on outdated [toolz](https://pypi.org/project/toolz/) and [Pint](https://pypi.org/project/Pint/) libraries https://github.com/CitrineInformatics/gemd-python/pull/196
* Correct for release issues https://github.com/CitrineInformatics/gemd-python/pull/198 / https://github.com/CitrineInformatics/gemd-python/pull/199 / https://github.com/CitrineInformatics/gemd-python/pull/200

Full Changelog: https://github.com/CitrineInformatics/gemd-python/compare/v1.16.0...v1.16.7

1.16.4

As Python 3.7 hit [End-of-Life](https://devguide.python.org/versions/) 2023-06-27, this PR removes support for it and removes some crutches that were necessary to support it.

Fixes
* Drop reliance on outdated [toolz](https://pypi.org/project/toolz/) and [Pint](https://pypi.org/project/Pint/) libraries #196

**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v1.16.3...v1.16.4

1.16.3

This is a maintenance release, just prior to releasing a gemd-python version that will drop support for Python 3.7.

Improvements
* Drop reliance on [pkg-resources](https://setuptools.pypa.io/en/latest/pkg_resources.html) in favor of the more modern [importlib.resources](https://docs.python.org/3.10/library/importlib.html#module-importlib.resources). Note that the `files` methods were not introduced until 3.9, so until support for 3.7 and 3.8 is dropped, we cannot take advantage of them. 195
* Modify the Travis-CI testing behavior for faster testing for PRs. 194 197

**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v1.16.0...v1.16.3

1.16.0

Adding support for downstream developers.

Improvements
* A decorator was added to support migration of Base Enumeration symbols. This makes it much easier for downstream consumers of this library to rename their enumerations (not the value). 193


**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.15.0...v.1.16.0

v.1.15.0
Further quality of life improvements, helping us help you.

Improvements
* We've changed the base of our enumeration to behave in a much more string-like way, and be much more useful in allowing for a wide range of input strings to map to the expected internal representations. Basically, a string enumeration is much friendlier in what it accepts while emitting a consistent output. 192
* We've improved our automated testing approach, so now our normal workflows are tested against a wider range of versions of dependent libraries. This identified a couple of outdated dependencies, and so the added clean-up is always nice. 191


**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.14.0...v.1.15.0

v.1.14.0
Quality of Life improvements around units handling and tests.

Improvements
* Improved unit handling capability around scaling factors, including `get_base_units` for converting to-and-from SI (190 )
* Better testing practice, boosting library versions and refactoring where tests live (189 )


**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.5...v.1.14.0

v.1.13.5
Quick fix for one issue.

Maintenance
* Units were being incorrectly normalized when they had fractional exponents. 187


**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.4...v.1.13.5

v.1.13.4
This release addresses minor bugs.

Maintenance
* `.` has been added to the allowed list of punctuation for units, to be tolerant of expressions like `mol.` and `a.u.`. 185
* This also addresses an issue where the scaling factor support was dropped anytime a custom units file was used. 185
* For some complex cases involving white space and unary operators (e.g., `-` as negative not minus), we've replicated Pint's parsing behavior. 186

**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.2...v.1.13.4

v.1.13.2
Happy to offer some minor quality of life improvements following last week's release.

Maintenance
* We've improved out units parsing. Punctuation that is not a mathematical operator is being flagged and we cleaned up our handling of scaling factors. And more tests. More tests is good. 183
* We also added Python 3.11 tests to our CI/CD process. 183
* And we cleaned up some of our serialization. We fixed a caching issue with our class map and removed an old tripping hazard when setting uids that look like UUIDs. 184


**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.0...v.1.13.2

v.1.13.0
This release updates some legacy architecture as well as rolls in some quality of life improvements.

Improvements
* In order to be compatible with Python 2.x, we hadn't really used [abc](https://docs.python.org/3.10/library/abc.html) in some core work. Here, we're updated the class DictSerializable to make subclassing easier and enable some bigger clean-up in the near future. (#182)
* We've added a little magic so that the core [Pint](https://pypi.org/project/Pint/) units handling will work with scaling factors. Now we can support customary units like `g/100 mL` to better represent how data are transcribed in the real world. (#180)

Maintenance
* Improved some of our testing infrastrcture (181)

**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.12.1...v.1.13.0

v.1.12.1
This release is driven by dependencies in the Python ecosystem. No new functionality.

Improvements
* We've updated our library to be compatible with the latest version of Pint (https://github.com/CitrineInformatics/gemd-python/pull/178)
* And we've updated our installs and tests to include that version (https://github.com/CitrineInformatics/gemd-python/pull/179)


**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v1.11.1...v.1.12.1

1.11.1

This release is driven by dependencies in the Python ecosystem. No new functionality.

Fixes
* [Pint](https://pypi.org/project/Pint/) dropped support for the pint.unit object in their 0.20 release, so we're adding a cap on our dependencies until we migrate the library. (#177)

Deprecated
* We're formally dropping support for Python 3.6. We don't expect anything to break, but the final release is a year old and time moves on. (176)

**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.10.4...v1.11.1

v.1.10.4
Quality of life improvements that speed up unit conversion calls. These should be transparent.

Improvements
* We added an early exit when the two unit strings are identical 173
* Add caching for repeated calls for the same units and value 174


**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v1.10.2...v.1.10.4

1.10.2

One new great feature and some quality of life coming your way.

Improvements
* `bounds` objects now have `union` and `update` methods. This should make it much more straightforward to update your templates when you encounter out-of-bounds-but-still-valid data values. 170
* We've added some input filters to our InChI value type so common ways people don't follow the standard (e.g., skipping the `InChI=1S/` prefix) won't break your workflow. 172
* We've updated our [contributing](CONTRIBUTING.md) docs. This should remove a couple of common stumbling blocks. 171

**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v1.9.0...v1.10.2

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.