Skip to content

Upgrade kaleido 0.2.1 -> 0.4.1 is causing errors in CI #226

@bmosley

Description

@bmosley

Hi, first of all, thank you for this project. Really appreciate the work! After as of the 0.4.1 release several of our unit tests started failing here. In the meantime I've pinned our version to 0.2.1 and all is well but not sure if there's something deprecated that I didn't see before as our code hasn't changed in ages. Let me know if there's more information you need. Thank you.

         self._plotlyfier = os.path.join(
         os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
         'vendor',
         'kaleido_scopes.js'
         )
         path = os.environ.get("BROWSER_PATH", which_browser())
         if tmp_path:
         temp_args = dict(dir=self.tmp_path)
         >       elif "snap" in path:
         E       TypeError: argument of type 'NoneType' is not iterable
         
         /usr/local/bin/python-3.12.0-1/lib/python3.12/site-packages/kaleido/scopes/plotly.py:64: TypeError

and also seeing this traceback as well with the only change being Kaleido 0.4.1

        # force a single process to manage the trace rendering
>       pio.kaleido.scope.chromium_args += (
            "--single-process",
            "--disable-gpu",
        )
E       AttributeError: 'PlotlyScope' object has no attribute 'chromium_args'

Metadata

Metadata

Assignees

Labels

P2needed for current cycleTNGrelated to next-generation architectureactivebugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions