Skip to content

Citrine v5.5.0 is released!

Latest

Choose a tag to compare

@wjohnald wjohnald released this 24 Nov 18:21
8c6dd72

This release removes generative design and design space sampling from the SDK, following their removal from the Citrine Platform. It also fixes Ingestion.status() for error types that the SDK did not recognize, and moves the SDK onto gemd 3.1.

Improvements

  • Citrine Python requires gemd 3.1, with the range gemd>=3.1,<4. Upgrade gemd before you install this release in an environment pinned to gemd 3.0. #1078

Fixes

  • Ingestion.status() raised ValueError when an ingestion failed with an error type missing from the SDK. This release adds eleven platform error types to IngestionErrorType, such as EMPTY_FILE and MISSING_ROW_IDENTIFIER. An unrecognized type maps to IngestionErrorType.UNKNOWN_ERROR, and the error keeps its msg. #1070, #1071

Deprecated

  • The Citrine Platform has removed generative design and design space sampling, and this release removes them from the SDK. Project.generative_design_executions and a design space's sample_design_space_executions raise the new citrine.exceptions.FeatureRemovedError. The constructor of a related class, such as GenerativeDesignInput or SampleDesignSpaceInput, raises the same error. The class and enumeration names import with a DeprecationWarning until version 6.0.0, which deletes them. #1074
  • ProcessTemplate.allowed_names is deprecated, following gemd 3.1. The constructor accepts the argument, but gemd warns and discards the value, and the SDK leaves the field out of its requests to the platform. To build GEM Table ingredient columns, use TableConfig.add_all_ingredients, which reads ingredient names from your process specs. #1078

Full Changelog: v5.2.0...v5.5.0