Skip to content

Commit 93c654a

Browse files
authored
Update versions for 0.2.0 release (#74)
* bump a bunch of versions * update some docs * update more versions, links, style
1 parent 143526c commit 93c654a

File tree

13 files changed

+1115
-1107
lines changed

13 files changed

+1115
-1107
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build:
44
os: ubuntu-22.04
55
tools:
66
python: '3.11'
7-
nodejs: '18'
7+
nodejs: '20'
88
apt_packages:
99
- libarchive-dev
1010

.yarnrc.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ nodeLinker: node-modules
66
npmRegistryServer: https://registry.npmjs.org/
77
installStatePath: ./build/.cache/yarn/install-state.gz
88
cacheFolder: ./build/.cache/yarn/cache
9+
# these messages provide no actionable information, and make non-TTY output
10+
# almost unreadable, masking real dependency-related information
11+
# see: https://yarnpkg.com/advanced/error-codes
912
logFilters:
10-
- code: YN0006
13+
- code: YN0006 # SOFT_LINK_BUILD
1114
level: discard
12-
- code: YN0002
15+
- code: YN0007 # MUST_BUILD
1316
level: discard
14-
- code: YN0007
17+
- code: YN0008 # MUST_REBUILD
1518
level: discard
16-
- code: YN0013
19+
- code: YN0013 # FETCH_NOT_CACHED
1720
level: discard
18-
- code: YN0019
19-
level: discard
20-
- code: YN0008
21+
- code: YN0019 # UNUSED_CACHE_ENTRY
2122
level: discard

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The final, user-facing products of `jupyterlite-pyodide-kernel` are:
44

5-
- the [distribution](#distributions) on `pyp.org` and `npmjs.org`
5+
- the [distribution](#distributions) on `pypi.org` and `npmjs.org`
66
- the [documentation](#documentation) on ReadTheDocs
77

88
Preparing for a [release], however, requires a number of intermediate steps.
@@ -18,7 +18,7 @@ and watch what it does to files on disk and in the terminal log.
1818

1919
- `git`
2020
- `python >=3.8`
21-
- `nodejs >=18,<19`
21+
- `nodejs >=20,<21`
2222

2323
### Setup
2424

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919

2020
### Compatibility
2121

22-
| status | `jupyterlite-pyodide-kernel` | `jupyterlite-core` | `jupyterlab` | `notebook` | `retrolab` |
23-
| :---------------------------: | :--------------------------: | :----------------: | :----------: | :--------: | ---------- |
24-
| [alpha](#prerelease-versions) | `0.2.*` | `0.2.*` | `4.0.*` | `7.0.*` | - |
25-
| stable | `0.1.*` | `0.1.*` | `3.5.*` | - | `0.3.*` |
22+
| status | `jupyterlite-pyodide-kernel` | `jupyterlite-core` | `jupyterlab` | `notebook` | `retrolab` |
23+
| :----: | :--------------------------: | :----------------: | :----------: | :----------: | :----------: |
24+
| stable | `0.2.*` | `>=0.2,<0.3` | `>=4.0.7,<5` | `>=7.0.5,<8` | - |
25+
| stable | `0.1.*` | `>=0.1,<0.2` | `>=3.5,<3.6` | - | `>=0.3,<0.4` |
2626

2727
Installing the matching version of JupyterLab with your package manager can help ensure
2828
matching labextension assets and kernel dependencies, even though this kernel does not
@@ -89,7 +89,7 @@ documentation site:
8989
To remove the extension, run:
9090

9191
```bash
92-
pip uninstall jupyterlite-pyodide-kernel # or howver you installed it
92+
pip uninstall jupyterlite-pyodide-kernel # or however you installed it
9393
```
9494

9595
## Prerelease Versions

docs/_static/variables.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.table {
2+
--bs-table-bg: transparent;
3+
}

docs/conf.py

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,20 @@
3232

3333
# theme
3434
html_theme = "pydata_sphinx_theme"
35+
html_logo = "../packages/pyodide-kernel-extension/style/img/pyodide.svg"
36+
html_favicon = html_logo
3537
html_theme_options = {
3638
"github_url": P["urls"]["Source"],
37-
"use_edit_page_button": True,
3839
"icon_links": [
39-
{
40-
"name": "PyPI",
41-
"url": P["urls"]["PyPI"],
42-
"icon": "fa-solid fa-box",
43-
},
40+
{"name": "PyPI", "url": P["urls"]["PyPI"], "icon": "fa-solid fa-box"}
4441
],
42+
"logo": {
43+
"text": P["name"]
44+
},
45+
"navigation_with_keys": False,
4546
"pygment_light_style": "github-light",
46-
"pygment_dark_style": "github-dark"
47+
"pygment_dark_style": "github-dark",
48+
"use_edit_page_button": True,
4749
}
4850

4951
github_user, github_repo = P["urls"]["Source"].split("/")[-2:]
@@ -56,16 +58,13 @@
5658
}
5759
# rely on the order of these to patch json, labextensions correctly
5860
html_static_path = [
61+
"./_static",
5962
# as-built assets for testing "hot" downstreams against a PR without rebuilding
6063
"../dist",
6164
# as-built application, extensions, contents, and patched jupyter-lite.json
6265
"../build/docs-app",
6366
]
6467

65-
# TODO: add the pyodide logo
66-
# html_theme_options = {
67-
# "logo": {
68-
# "image_light": "TODO",
69-
# "image_dark": "TODO",
70-
# }
71-
# }
68+
html_css_files = [
69+
"variables.css",
70+
]

docs/contributing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
```{include} ../CONTRIBUTING.md
22
```
3+
4+
```{include} ../RELEASE.md
5+
```

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</style>
4848

4949
<iframe
50-
src="./_static/retro/notebooks/index.html?path=intro.ipynb"
50+
src="./_static/notebooks/index.html?path=intro.ipynb"
5151
style="width: 99%; border: solid 1px #999; height: 500px"
5252
></iframe>
5353

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jupyterlite/pyodide-kernel-root",
3-
"version": "0.2.0-alpha.4",
3+
"version": "0.2.0",
44
"private": true,
55
"workspaces": {
66
"packages": [

packages/pyodide-kernel-extension/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jupyterlite/pyodide-kernel-extension",
3-
"version": "0.2.0-alpha.2",
3+
"version": "0.2.0",
44
"description": "JupyterLite - Pyodide Kernel Extension",
55
"homepage": "https://github.com/jupyterlite/pyodide-kernel",
66
"bugs": {
@@ -48,13 +48,13 @@
4848
},
4949
"dependencies": {
5050
"@jupyterlab/coreutils": "^6.0.6",
51-
"@jupyterlite/contents": "^0.2.0-alpha.4",
52-
"@jupyterlite/kernel": "^0.2.0-alpha.4",
53-
"@jupyterlite/pyodide-kernel": "^0.2.0-alpha.2",
54-
"@jupyterlite/server": "^0.2.0-alpha.4"
51+
"@jupyterlite/contents": "^0.2.0",
52+
"@jupyterlite/kernel": "^0.2.0",
53+
"@jupyterlite/pyodide-kernel": "^0.2.0",
54+
"@jupyterlite/server": "^0.2.0"
5555
},
5656
"devDependencies": {
57-
"@jupyterlab/builder": "~4.0.6",
57+
"@jupyterlab/builder": "~4.0.7",
5858
"rimraf": "^5.0.1",
5959
"typescript": "~5.2.2"
6060
},

0 commit comments

Comments
 (0)