Skip to content

PNE-9649: Remove allowed_names from ProcessTemplate - #1073

Draft
wjohnald wants to merge 2 commits into
mainfrom
feature/PNE-9649-deprecate-allowed-names
Draft

wjohnald wants to merge 2 commits into
mainfrom
feature/PNE-9649-deprecate-allowed-names

Conversation

@wjohnald

Copy link
Copy Markdown
Contributor

Depends on CitrineInformatics/gemd-python#242

Citrine Python PR

Description

Epic PNE-9643 retires process-template allowed_names. The server ignores the field on create requests and leaves it out of responses. Tables take ingredient names from ingredient specs.

A caller that passes allowed_names to ProcessTemplate gets a TypeError after this change. I bumped the major version to 6.0.0 for that reason.

  • I removed the allowed_names field and constructor argument from ProcessTemplate.
  • The SDK requires gemd 4.0.0, which drops the same field.

This PR waits on gemd-python #242. That PR must merge, and gemd 4.0.0 must reach the package index. Until then, CI fails when it installs dependencies.

I installed the gemd 4.0.0 branch from a local checkout, and the full suite, flake8, and derp pass with 100% coverage.

PR Type:

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Maintenance (non-breaking change to assist developers)

Adherence to team decisions

  • I have added tests for 100% coverage
  • I have written Numpy-style docstrings for every method and class.
  • I have communicated the downstream consequences of the PR to others.
  • I have bumped the version in __version__.py

🤖 Generated with Claude Code

wjohnald and others added 2 commits November 12, 2026 09:17
The platform no longer stores or returns process-template allowed_names.
Ingredient names for tables now come from ingredient specs. Keep the
argument and the field so constructors and loaders stay compatible, and
warn when a caller passes a non-empty list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The platform no longer stores or returns process-template allowed_names,
and gemd 4.0.0 drops the field. Remove the field and the constructor
argument from ProcessTemplate, require gemd 4, and bump to 6.0.0 for the
breaking change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant