Skip to content

Commit 82308ef

Browse files
authored
0.1.9 (#4)
* update pandas and numpy dependencies, require python 3.10
1 parent 6bd0368 commit 82308ef

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Install Python
6868
uses: actions/setup-python@v5
6969
with:
70-
python-version: "3.9"
70+
python-version: "3.10"
7171
architecture: "x64"
7272
- uses: actions/download-artifact@v4
7373
with:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pagebreaks/__pycache__/
1313
# Version file is handled by hatchling
1414
_version.py
1515
venv
16+
testenv
1617
backend/pagebreak/Demos/** */
1718
backend/Demos/babynames/*
1819
backend/Demos/fec/*

backend/pagebreaksip/setup.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pagebreaksip
3-
version = 0.1.8
3+
version = 0.1.9
44
author = Eric Rawn
55
description = Backend for Pagebreaks
66
long_description = file: readme.md
@@ -28,11 +28,11 @@ classifiers =
2828
[options]
2929
package_dir == src
3030
packages = find:
31-
python_requires = >=3.8
31+
python_requires = >=3.10
3232
install_requires =
3333
ipython
34-
pandas
35-
numpy >=2.0.0
34+
pandas>=2.0.0
35+
numpy<2.0.0
3636
jsondiff
3737
loguru
3838
pytest

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pagebreaks",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Scope Boundaries for Jupyter Notebooks",
55
"keywords": [
66
"jupyter",
@@ -55,7 +55,8 @@
5555
"watch": "run-p watch:src watch:labextension",
5656
"watch:src": "tsc -w --sourceMap",
5757
"watch:labextension": "jupyter labextension watch .",
58-
"postinstall": "husky"
58+
"postinstall": "husky",
59+
"publish": "bash ./.husky/pre-commit && jlpm clean:all && python -m build && twine upload dist/*"
5960
},
6061
"dependencies": {
6162
"@jupyterlab/application": "^4.0.0",

pyproject.toml

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
name = "pagebreaks"
77
readme = "README.md"
88
license = { file = "LICENSE" }
9-
requires-python = ">=3.8"
9+
requires-python = ">=3.10"
1010
classifiers = [
1111
"Framework :: Jupyter",
1212
"Framework :: Jupyter :: JupyterLab",
@@ -16,14 +16,13 @@ classifiers = [
1616
"License :: OSI Approved :: BSD License",
1717
"Programming Language :: Python",
1818
"Programming Language :: Python :: 3",
19-
"Programming Language :: Python :: 3.8",
20-
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",
2321
"Programming Language :: Python :: 3.12",
2422
]
2523
dependencies = [
26-
"pagebreaksip>=0.1.8",
24+
"pagebreaksip>=0.1.9",
25+
"jupyterlab>=4.0.0",
2726
]
2827
dynamic = ["version", "description", "authors", "urls", "keywords"]
2928

src/schemaManager.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ class schemaManager {
8080
// console.log('delete cell', cell.model.id);
8181
// }
8282
// }, this);
83-
notebook.modelContentChanged.connect(
84-
(slot, args) => console.log('model content changed', args),
85-
this
86-
);
83+
// notebook.modelContentChanged.connect(
84+
// (slot, args) => console.log('model content changed', args),
85+
// this
86+
// );
8787
notebook.stateChanged.connect((notebook, args) => {
8888
// console.log('nb state changed', args);
8989
if (args.name === 'mode') {

0 commit comments

Comments
 (0)