Repository navigation
Conversation
Setting a non-empty allowed_names now emits a DeprecationWarning. The Citrine Platform ignores the field, and it will be removed in 4.0.0. The constructor argument, property, and JSON round-trip still work. The cake demo no longer sets the field. Bump the version to 3.1.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Citrine Platform no longer uses process-template allowed_names. Remove the constructor argument, the property, and the deprecation warning, along with their tests. JSON that still has the field loads, and the loader logs that it ignores the unexpected key. Bump the version to 4.0.0 for the breaking change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Delete the attribute here would break all existing pipelines. I would much rather have a deprecation on 4.0 (which I was presuming would be dropping python 3.10 support) and then removal in 5.0. We'd presumably include a message about setting the attribute having no effect in the deprecation. |
|
@kroenlein , in what specific ways will it break existing pipelines? Do they import Nothing in citrine-python actually reads the field outside of the serde tests. I could upgrade citrine-python to drop the field altogether first. But again, I'm not sure how holding this change prevents the pipelines from breaking. |
|
@kroenlein, as an experiment, here is a run of the tests on a branch of citrine-python where I actively stripped the allowed_names field. branch: CitrineInformatics/citrine-python#1076 |
GEMD Python PR
Description
The Citrine Platform ignores
allowed_nameson process templates. It finds ingredient names from the ingredient specs. Epic PNE-9643 drops the field, so this PR removes it from GEMD Python.This PR breaks the public API. Code that passes or reads
allowed_namesfails with 4.0.0.This PR makes these changes:
allowed_namesfrom theProcessTemplateconstructor and its attributes.JSON that has the field loads in 4.0.0. The loader drops the field and logs a warning.
GEMD Python never checked ingredient names against
allowed_names. Every existing check stays in place.Run the checks in CONTRIBUTING.md to test it.
PR Type:
Adherence to team decisions
🤖 Generated with Claude Code