Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialization and Percy updates #1779

Merged
merged 8 commits into from
Sep 26, 2021
Merged

Serialization and Percy updates #1779

merged 8 commits into from
Sep 26, 2021

Conversation

alexcjohnson
Copy link
Collaborator

@alexcjohnson alexcjohnson commented Sep 25, 2021

Fixing some issues discovered in updating DDK

  • The version of orjson we were including in [dev] in Py3.6 has problems with numpy string (dtype=object) arrays. Not sure why we pinned this version, but bumping to the latest for each Python minor fixes this.

  • Cleaned up our error handling of serialization problems

  • Fixed our percy builds, so we only get one per project: one in dash, one in dash-table-test. Along the way I refactored the circleci config into one big workflow and removed some unnecessary jobs.

  • Reduced the number of percy snapshots we take for the table (only one width - we do so much in JS that there's no point having multiple widths on Percy's side), and added the ability for dash.testing percy_snapshot methods to choose widths to generate.

  • I have added entry in the CHANGELOG.md

rather than a built-in error because it had its own problem!
3.5.4 is the last version supporting py3.6
3.6.3 is current and supports py3.7+
- when a job modifies env vars, it must recreate all of them
- single big workflow
- drop some unused build steps - there's still more to do here.
- some merge keys had the same names. that's technically OK but fragile, so made unique
- standardized indentation
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