Skip to content

Commit b0a6662

Browse files
authored
Update to jupyterlite-core==0.1.0, require Python 3.8 (#96)
* Update to `jupyterlite-core==0.1.0` * Update dev-environment.yml * Require python >=3.10 in dev environment * update rtd config * Remove allow-direct-references * Require Python 3.8 * relax python version in dev environment * try fix warnings * Install `jupyterlite-core` from conda forge
1 parent 6d32cd8 commit b0a6662

File tree

5 files changed

+28
-12
lines changed

5 files changed

+28
-12
lines changed

.readthedocs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: '3.11'
7+
nodejs: '18'
8+
python:
9+
install:
10+
- method: pip
11+
path: .
12+
extra_requirements:
13+
- docs
14+
15+
sphinx:
16+
builder: html
17+
configuration: docs/conf.py
18+
fail_on_warning: true

dev-environment.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ dependencies:
55
- pip
66
- jupyter_server
77
- jupyterlab_server
8+
- jupyterlite-core >=0.1.0,<0.2
89
- pydata-sphinx-theme
910
- docutils
1011
- sphinx
1112
- black
12-
- pip:
13-
- jupyterlite-core==0.1.0b19
14-

docs/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@
3737

3838
# Copy the markdown file here
3939
shutil.copy(ROOT / "CHANGELOG.md", HERE / "changelog.md")
40+
41+
suppress_warnings = ["myst.xref_missing"]

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@ dynamic = ["version"]
88
description = "Sphinx extension for deploying JupyterLite"
99
readme = "README.md"
1010
license = { file = "LICENSE" }
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{ name = "JupyterLite Contributors" },
1414
]
1515
dependencies = [
1616
"docutils",
1717
"jupyter_server",
1818
"jupyterlab_server",
19-
"jupyterlite-core >=0.1.0b19",
19+
"jupyterlite-core >=0.1.0",
2020
"sphinx>=4",
2121
]
2222

23-
[tool.hatch.metadata]
24-
allow-direct-references = true
23+
[project.optional-dependencies]
24+
docs = [
25+
"myst_parser",
26+
"pydata-sphinx-theme",
27+
]
2528

2629
[tool.hatch.version]
2730
path = "jupyterlite_sphinx/__init__.py"

0 commit comments

Comments
 (0)