Skip to content

ci: pin Chrome version for Pyodide tests#1422

Merged
ianna merged 7 commits intomainfrom
ariostas/update_pyodide
Apr 18, 2025
Merged

ci: pin Chrome version for Pyodide tests#1422
ianna merged 7 commits intomainfrom
ariostas/update_pyodide

Conversation

@ariostas
Copy link
Copy Markdown
Member

I'm updating the version of Pyodide that the CI uses to see if it fixes the issue we started to see in #1420.

@ariostas ariostas changed the title ci: update Pyodide version ci: use Node.js to run Pyodide tests Apr 18, 2025
@ariostas ariostas changed the title ci: use Node.js to run Pyodide tests ci: pin Chrome version for Pyodide tests Apr 18, 2025
@ariostas
Copy link
Copy Markdown
Member Author

It turns out that the issue was that an update to Chrome broke something. I tried switching to using Node.js, but the http tests don't work there. For now I just pinned the Chrome version, and later I'll think about whether it's worth to continue having http tests, since they are pretty finicky and in a real deployment it's tricky to access files through http due to CORS protections.

@ariostas ariostas marked this pull request as ready for review April 18, 2025 14:31
@ariostas ariostas requested a review from ianna April 18, 2025 14:31
Copy link
Copy Markdown
Member

@ianna ianna left a comment

Choose a reason for hiding this comment

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

@ariostas - thanks! It seems weird that we have to pin the browser version. It is ok for now, I think.

@henryiii - could you please have a look? Thanks!

@ianna ianna merged commit 1d16d63 into main Apr 18, 2025
27 checks passed
@ianna ianna deleted the ariostas/update_pyodide branch April 18, 2025 15:51
pfackeldey pushed a commit that referenced this pull request Apr 23, 2025
* Updated Pyodide version

* Pinned chrome version

* Changed chrome version

* Try using node instead of chrome

* Remove chrome-specific setup

* Actually use Node

* Go back to chrome
ianna added a commit that referenced this pull request Oct 28, 2025
* add tree to virtual array conversion

* chore: update pre-commit hooks (#1418)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.11.5](astral-sh/ruff-pre-commit@v0.11.4...v0.11.5)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* ci: pin Chrome version for Pyodide tests (#1422)

* Updated Pyodide version

* Pinned chrome version

* Changed chrome version

* Try using node instead of chrome

* Remove chrome-specific setup

* Actually use Node

* Go back to chrome

* chore: update pre-commit hooks (#1423)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.5 → v0.11.6](astral-sh/ruff-pre-commit@v0.11.5...v0.11.6)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* fix: issue with empty big_endian array (#1420)

fix issue with empty big_endian array

Co-authored-by: Ianna Osborne <ianna.osborne@cern.ch>

* fix: safer branch title access (#1421)

* safer branch title access

* empty str -> None

---------

Co-authored-by: Ianna Osborne <ianna.osborne@cern.ch>

* docs: add contributing guide (#1425)

* docs: add contributing guide

* style: pre-commit fixes

* Update CONTRIBUTING.md

Co-authored-by: Andres Rios Tascon <ariostas@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: Andres Rios Tascon <ariostas@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: Andres Rios Tascon <ariostas@gmail.com>

* use pre-commit

* build local documentation howto

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andres Rios Tascon <ariostas@gmail.com>

* improve virtual array loading

* style: pre-commit fixes

* add 'access_log' kwarg

* style: pre-commit fixes

* don't re-define 'Accessed'

* add doc string

* minor doc string fixes

* use form_with_unique_keys from awkward

* rm accidentally committed file...

* refactor virtual buffer loading to better work with form mappings

* require awkward v2.8.2

* merge main

* style: pre-commit fixes

* fix pre-commit

* add virtual kwarg to avoid API sprawl

* satisfy pre-commit

* add special single-branch handling like in .arrays(virtual=False)

* properly forward the recursive function call for single branch cases

* ... also for eager .arrays

* add tests

* pre-commit

* add one test with access_log=None (default)

---------

Co-authored-by: Ianna Osborne <ianna.osborne@cern.ch>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andres Rios Tascon <ariostas@gmail.com>
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.

3 participants