-
Notifications
You must be signed in to change notification settings - Fork 505
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
Migrate to hatch
#1197
Migrate to hatch
#1197
Conversation
Getting the following error for the UI tests:
Seems to be having troubles installing the |
Benchmark reportThe execution time (in milliseconds) are grouped by test file, test type and browser. Results table
❗ Test metadata have changed--- /dev/fd/63 2022-09-29 14:13:33.322245086 +0000
+++ /dev/fd/62 2022-09-29 14:13:33.322245086 +0000
@@ -4,7 +4,7 @@
"BENCHMARK_REFERENCE": "actual"
},
"browsers": {
- "chromium": "97.0.4666.0"
+ "chromium": "94.0.4595.0"
},
"systemInformation": {
"cpu": {
@@ -34,7 +34,7 @@
"voltage": ""
},
"mem": {
- "total": 7281311744
+ "total": 7291699200
},
"osInfo": {
"arch": "x64",
@@ -42,11 +42,11 @@
"codename": "Focal Fossa",
"codepage": "UTF-8",
"distro": "Ubuntu",
- "kernel": "5.15.0-1020-azure",
+ "kernel": "5.8.0-1040-azure",
"logofile": "ubuntu",
"platform": "linux",
- "release": "20.04.5 LTS",
- "serial": "1d24188fee7f4944b0cb9c8863cdca51",
+ "release": "20.04.3 LTS",
+ "serial": "cfc067bfcb844f35865e279a1b0e66c5",
"servicepack": "",
"uefi": false
} |
So 55ab7ed seems to be fixing it, by updating |
cc @martinRenou @trungleduc for review. I think it should be fine to get this in a |
I took the liberty to rebase and fix the conflict |
Converting back to a draft for now to check the handling of extra CSS files that used to happen in |
The CSS files now seem to be correctly downloaded and available when looking at the releaser assets from https://github.com/voila-dashboards/voila/actions/runs/3150560686 |
The size of the sdist seems to be bigger than before: Which might be related to the gif that are included: These gifs are not in the assets on the latest So we should be able to filter them out. |
Marking as ready for a second round of review. The UI tests failure might not be related. The "Expected" snapshot currently looks broken and might need to be updated separately (or in this PR): ui-tests-mismatch.mp4 |
Co-authored-by: martinRenou <[email protected]>
Please update galata references |
The snapshot update for the |
Looking at another build like for this PR, the UI-tests seems to pass. So I'm not sure I understand why this PR would need to change the reference screenshots? |
Agree it's odd. One thing for sure is the current classic snapshot on Wondering if this switch to hatch fixes some things to the way Voila is built and packaged for the UI tests. |
That could be it indeed. Your PR looks good to me. Let's probably move forward and merge? |
References
Kickstarting the migration to
hatch
using the migration script: https://hatch-jupyter-builder.readthedocs.io/en/stable/source/how_to_guides/migrating_javascript_projects.htmlMore info: https://blog.jupyter.org/packaging-for-jupyter-in-2022-c7be64c38926
Code changes
hatch
.hatch
to bump the Python versionsetup.py
:voila/setup.py
Lines 112 to 118 in b16d377
User-facing changes
None
Backwards-incompatible changes
None