Skip to content

Conversation

@jonasvdd
Copy link
Member

@jonasvdd jonasvdd commented Feb 15, 2025

Note: In order to support plotly6, we drop python 3.7!

@jonasvdd jonasvdd self-assigned this Feb 17, 2025
@jonasvdd jonasvdd added enhancement New feature or request dependencies Issues related to dependencies of plotly-resampler labels Feb 17, 2025
@jonasvdd
Copy link
Member Author

Ready for review @jvdd!

@jonasvdd jonasvdd marked this pull request as ready for review February 20, 2025 09:24
Comment on lines +29 to +30
- os: ubuntu-latest
python-version: '3.12'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for excluding this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the tests keep randomly hanging on python3.12 and ubuntu (without providing an error)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@jonasvdd jonasvdd merged commit 18da98f into main Feb 21, 2025
20 checks passed
@jonasvdd jonasvdd deleted the feat/plotly6 branch February 21, 2025 15:49
jonasvdd added a commit that referenced this pull request Mar 6, 2025
* fix: check if update_data contains update before batch_update

* add test + avoid same error when verbose=True

* 🧹 create _hf_data_container if correct trace type

* 🙏 python 3.7 not supported on Apple Silicon

* remove WIP

* 🖊️ more verbose asserts

* 🖊️ more verbose asserts

* 🙏 more sleep time

* 🙏

* 🙌

* 🤔 fix for [BUG] Error handling timezones #305

* 🙈 linting

* 💨 Refactor timezone handling in PlotlyAggregatorParser

* Update minmax operator image

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>

* Drop duplicate sentence

* Feat/plotly6 (#338)

* Parametrize test_utils.py on is_figure

* 🔍 remove dtype parsing as orjon>3.10 supports float16 #118

* 💪 refactor: streamline JupyterDash integration and remove unused persistent inline logic

* 💨 move construct_update_data_patch method into the FigureResampler class

* 🐐 refactor: enhance test utilities and add support for Plotly>=6 data handling

* 🙏 enhance serialization tests for plotly>6

* 📝 remove debug print statement and enhance type handling for hf_x

* 🔒 update dependency versions in pyproject.toml to Support plotly 6 #334

* 🔍 drop python3.7 CI workflow and upgrade upload-artifact action

* 🙏 fix pickling of figurewidget resampler

* 🙏 fix tests

* 💨 migration of code towards new upload artifact

* 💪 enhance CI workflow to improve test result uploads and add retention settings

* 🕳️ fix: ensure correct dtype handling for aggregated x indices in PlotlyAggregatorParser

* ⬆️ chore: update dependency constraints for pandas and pyarrow in pyproject.toml

* 🙈 fix linting

* 🔍 fix: correct spelling in streamlit_app.py comments and update dash-extensions and pyarrow versions in requirements.txt

* ⬆️ chore: update ipywidgets version constraint to allow for newer versions

* 🚧 test: set random seed for reproducibility in test_wrap_aggregate

* 🙈 chore: update ipywidgets version constraint for serialization support

* 🙈

* 🔍 ci: conditionally skip tests on Python 3.12 for Ubuntu (as it keeps hanging in github actions)

* 🔍 ci: exclude Python 3.12 on Ubuntu from test matrix to prevent hangs

* 🖊️ review code

* 🧹 cleanup comments

---------

Co-authored-by: Maxim Ivanov <ivanovmg@gmail.com>
Co-authored-by: jeroen <boebievdd@gmail.com>

* 🤔 fix for [BUG] Error handling timezones #305

* 🙈 linting

* 💨 Refactor timezone handling in PlotlyAggregatorParser

* 📌 bug: Fix timezone handling for DST in PlotlyAggregatorParser and update tests

---------

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: jvdd <boebievdd@gmail.com>
Co-authored-by: Jeroen Van Der Donckt <18898740+jvdd@users.noreply.github.com>
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Maxim Ivanov <ivanovmg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Issues related to dependencies of plotly-resampler enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants