Skip to content

bump gdsfactory to ~=9.40.2#227

Closed
thanojo wants to merge 1 commit intomainfrom
bump-gdsfactory-9.40.2
Closed

bump gdsfactory to ~=9.40.2#227
thanojo wants to merge 1 commit intomainfrom
bump-gdsfactory-9.40.2

Conversation

@thanojo
Copy link
Copy Markdown
Contributor

@thanojo thanojo commented Apr 14, 2026

Summary

  • Bump gdsfactory from gdsfactory~=9.40.0 to ~=9.40.2
  • Fixes gdsfactory/gdsfactory#4485: Pdk.__init__ in 9.40.0 didn't copy __pydantic_extra__ slot, causing copy.copy(pdk) to raise AttributeError
  • This crashed GF+ server on startup (get_base_pdk calls copy(pdk))
  • 9.40.1 has the fix, 9.40.2 adds regression test coverage

🤖 Generated with Claude Code

Fixes Pdk.__init__ missing __pydantic_extra__ slot copy (gdsfactory/gdsfactory#4485).
9.40.0 broke copy.copy(Pdk) which crashes GF+ server on startup.

Co-Authored-By: Claude <noreply@anthropic.com>
@thanojo thanojo closed this Apr 14, 2026
@thanojo thanojo deleted the bump-gdsfactory-9.40.2 branch April 14, 2026 10:00
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.

Pdk.__init__ (9.40.0) leaves __pydantic_extra__ uninitialised → copy.copy(pdk) raises AttributeError

1 participant