Skip to content

Commit 10ca620

Browse files
Merge pull request #56 from renan-r-santos/update-packages
chore: update packages and bump version
2 parents 6a90152 + 67e42f4 commit 10ca620

File tree

15 files changed

+10663
-13498
lines changed

15 files changed

+10663
-13498
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15-
pixi-version: ['0.30.0', '0.45.0']
15+
pixi-version: ['0.39.0', '0.48.2']
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- name: Checkout repo
1919
uses: actions/checkout@v4
2020

2121
- name: Install Pixi ${{ matrix.pixi-version }}
22-
uses: prefix-dev/setup-pixi@v0.8.1
22+
uses: prefix-dev/setup-pixi@v0.8.9
2323
with:
2424
pixi-version: v${{ matrix.pixi-version }}
2525
run-install: false
2626

2727
- name: Install uv
28-
uses: astral-sh/setup-uv@v5
28+
uses: astral-sh/setup-uv@v6
2929

3030
- name: Test, lint and typecheck
3131
run: uv run tox

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Install uv
20-
uses: astral-sh/setup-uv@v5
20+
uses: astral-sh/setup-uv@v6
2121

2222
- name: Build release
2323
run: uv build

.vscode/settings.json

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,9 @@
77
},
88
"editor.formatOnSave": true,
99
"editor.rulers": [99],
10+
"python.terminal.activateEnvInCurrentTerminal": true,
11+
"python.terminal.activateEnvironment": true,
1012
"python.testing.pytestArgs": ["tests/unit"],
11-
"python.testing.pytestEnabled": true
12-
13-
// Uncomment the following lines to enable unittest.
14-
// Apparently VSCode cant' handle unittest and pytest at the same time.
15-
//
16-
// "python.testing.unittestEnabled": false
17-
// "python.testing.unittestArgs": [
18-
// "-v",
19-
// "-s",
20-
// "./tests/integration/ipykernel",
21-
// "-p",
22-
// "kernel.py"
23-
// ],
24-
// "python.testing.unittestArgs": [
25-
// "-v",
26-
// "-s",
27-
// "./tests/integration/r-irkernel",
28-
// "-p",
29-
// "kernel.py"
30-
// ]
13+
"python.testing.pytestEnabled": true,
14+
"python.testing.unittestEnabled": false
3115
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Per-directory Pixi environments with multi-language Jupyter kernels.
1414

1515
![JupyterLab launcher screen showing Pixi kernel](https://raw.githubusercontent.com/renan-r-santos/pixi-kernel/main/assets/launch-light.png)
1616

17-
Pixi kernel supports Jupyterlab 4, Python 3.9+ and Pixi 0.30.0+ using `pyproject.toml` and
17+
Pixi kernel supports Jupyterlab 4, Python 3.9+ and Pixi 0.39.0+ using `pyproject.toml` and
1818
`pixi.toml` configurations.
1919

2020
**Disclaimer**: _This project is not affiliated with Pixi, and not an official Pixi plugin._

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pixi-kernel",
3-
"version": "0.6.3",
3+
"version": "0.6.4",
44
"description": "Jupyter kernels using Pixi for reproducible notebooks.",
55
"keywords": [
66
"kernel",
@@ -54,30 +54,30 @@
5454
"watch:labextension": "jupyter labextension watch ."
5555
},
5656
"dependencies": {
57-
"@jupyterlab/application": "^4.3.5",
58-
"@jupyterlab/coreutils": "^6.3.5",
59-
"@jupyterlab/notebook": "^4.3.5",
60-
"@jupyterlab/services": "^7.3.5",
61-
"@rjsf/utils": "^5.24.3",
62-
"react": "^18.3.0"
57+
"@jupyterlab/application": "^4.4.3",
58+
"@jupyterlab/coreutils": "^6.4.3",
59+
"@jupyterlab/notebook": "^4.4.3",
60+
"@jupyterlab/services": "^7.4.3",
61+
"@rjsf/utils": "^5.24.12",
62+
"react": "^18.3.1"
6363
},
6464
"devDependencies": {
65-
"@eslint/eslintrc": "^3.3.0",
66-
"@eslint/js": "^9.21.0",
67-
"@jupyterlab/builder": "^4.3.5",
65+
"@eslint/eslintrc": "^3.3.1",
66+
"@eslint/js": "^9.29.0",
67+
"@jupyterlab/builder": "^4.4.3",
6868
"@types/json-schema": "^7.0.15",
69-
"@types/react": "^18.3.10",
69+
"@types/react": "^18.3.12",
7070
"@types/react-addons-linked-state-mixin": "^0.14.27",
71-
"@typescript-eslint/eslint-plugin": "^8.24.1",
72-
"@typescript-eslint/parser": "^8.24.1",
73-
"eslint": "^9.21.0",
74-
"eslint-config-prettier": "^10.0.1",
75-
"eslint-plugin-prettier": "^5.2.3",
76-
"npm-run-all2": "^7.0.2",
77-
"prettier": "^3.5.2",
71+
"@typescript-eslint/eslint-plugin": "^8.34.1",
72+
"@typescript-eslint/parser": "^8.34.1",
73+
"eslint": "^9.29.0",
74+
"eslint-config-prettier": "^10.1.5",
75+
"eslint-plugin-prettier": "^5.5.0",
76+
"npm-run-all2": "^8.0.4",
77+
"prettier": "^3.5.3",
7878
"rimraf": "^6.0.1",
7979
"source-map-loader": "^5.0.0",
80-
"typescript": "~5.7.3"
80+
"typescript": "5.5.4"
8181
},
8282
"jupyterlab": {
8383
"discovery": {

pixi_kernel/provisioner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async def pre_launch(self, **kwargs: Any) -> dict[str, Any]:
8484

8585
# Update kernel spec command line arguments: `argv[:2] = ["pixi", "run"]`
8686
argv = kernel_spec.argv
87-
kernel_spec.argv = argv[:2] + ["--environment", environment_name] + argv[2:]
87+
kernel_spec.argv = [*argv[:2], "--environment", environment_name, *argv[2:]]
8888

8989
# R kernel needs special treatment
9090
# https://github.com/renan-r-santos/pixi-kernel/issues/15

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pixi-kernel"
3-
version = "0.6.3"
3+
version = "0.6.4"
44
description = "Jupyter kernels using Pixi for reproducible notebooks"
55
license = { text = "MIT" }
66
authors = [
@@ -51,9 +51,9 @@ dev-dependencies = [
5151
"jupyterlab>=4,<5",
5252
"mypy>=1,<2",
5353
"pytest>=8,<9",
54-
"pytest-asyncio>=0.25,<0.26",
54+
"pytest-asyncio>=1,<2",
5555
"pytest-cov>=6,<7",
56-
"ruff>=0.9,<0.10",
56+
"ruff>=0.12,<0.13",
5757
"tox-uv>=1,<2",
5858
]
5959

0 commit comments

Comments
 (0)