Skip to content

PNE-9755: Remove generative design and design space sampling - #1074

Draft
dleblanc wants to merge 1 commit into
mainfrom
feature/PNE-9755-remove-generative-design-sampling
Draft

dleblanc wants to merge 1 commit into
mainfrom
feature/PNE-9755-remove-generative-design-sampling

Conversation

@dleblanc

Copy link
Copy Markdown
Contributor

Citrine Python PR

Description

This PR removes generative design and design space sampling from the SDK, for PNE-9755. The platform removed both features, and platform-backend now answers their routes with 410 Gone.

A script that uses either feature fails at its first use. The SDK raises FeatureRemovedError with the platform's message, and makes no network call first. The input classes, the enumerations, and the two accessors stay so that a script reaches that error, rather than failing on import. FeatureRemovedError also subclasses AttributeError, so hasattr() returns False for the two accessors.

Both features were effectively unused, so the version moves to 5.3.0 rather than 6.0.0.

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

The Citrine Platform has removed both features; their routes now return
410 Gone. The SDK drops the execution resources, result types and
waiting support, keeping only the names user scripts touch
(GenerativeDesignInput, FingerprintType, StructureExclusion,
SampleDesignSpaceInput, project.generative_design_executions and
design_space.sample_design_space_executions). Constructing an input or
reaching a collection raises FeatureRemovedError with the platform's own
message, without a network call.

Both features were effectively unused, so this is a minor bump to 5.3.0.

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