Skip to content

Conversation

@paulfitz
Copy link
Member

@paulfitz paulfitz commented Aug 6, 2025

There were some significant performance improvements in 0.24:

https://blog.pyodide.org/posts/0.24-release/

They aren't particularly helpful for pyodide-in-node, but could be helpful for grist-static. Another development is support for snapshotting which could be a huge help, however this isn't mature enough yet to use.

There were some significant performance improvements in 0.24:

  https://blog.pyodide.org/posts/0.24-release/

They aren't particularly helpful for pyodide-in-node, but could
be helpful for grist-static. Another development is support for
snapshotting which could be a huge help, however this isn't
mature enough yet to use.
Copy link
Collaborator

@fflorent fflorent left a comment

Choose a reason for hiding this comment

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

I am checking these change using the Yunohost package and see whether it works as expected.

My remarks are mostly nit picks. Looks good to me, though this is not the part of the code I know the most.

@@ -0,0 +1,33 @@
#!/usr/bin/env bash

# Usage: ./clean_if_new_version.sh N
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, part of me wonders what happens when this script is not called using ./ but from another destination (like the root of the grist-core project).

But maybe it is rather expected that these scripts are called using Make, so not very relevant.

source env.sh
cd _build/pyodide
git checkout 0.23.4 || (git fetch && git checkout 0.23.4)
git checkout $PYODIDE_VERSION || (git fetch && git checkout $PYODIDE_VERSION)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Above the script starts with set -e.

What do you think of adding the -u option? I think it can be especially useful when you are using variables:

-u  Treat unset variables as an error when substituting.

(usually I work with set -eEuo pipefail which covers many cases of error)

cd _build/worker
yarn init --yes
yarn add pyodide@0.23.4
yarn add pyodide@$PYODIDE_VERSION
Copy link
Collaborator

Choose a reason for hiding this comment

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

Idem, maybe use set -eu above to be sure this variable is set.

"friendly_traceback-0.7.48-cp313-none-any.whl",
"iso8601-0.1.12-cp313-none-any.whl",
"lazy_object_proxy-1.6.0-cp313-cp313-pyodide_2025_0_wasm32.whl",
"openpyxl-3.0.10-cp313-none-any.whl",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are these changes related to the python version? (3.11 -> 3.13)

Copy link
Collaborator

@fflorent fflorent left a comment

Choose a reason for hiding this comment

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

LGTM (few remarks that may be ignored), and it works with Yunohost.

As I mentionned earlier, not the part of the code I know the most. A second review might be appropriate if you feel like it would need.

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.

2 participants