public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-jupytext] f44: Switch back to jupyter-builder
Date: Thu, 29 Oct 2026 14:46:09 GMT	[thread overview]
Message-ID: <179328516950.1.12818262083049624356.rpms-python-jupytext-4ef59eebfdc4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-jupytext
Branch : f44
Commit : 4ef59eebfdc40be13398287e72fe1c3021c367ff
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-10-23T22:49:52+02:00
Stats  : +1/-124 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-jupytext/c/4ef59eebfdc40be13398287e72fe1c3021c367ff?branch=f44

Log:
Switch back to jupyter-builder

---
diff --git a/prepare_vendor.sh b/prepare_vendor.sh
index 57124c4..8dc9e2c 100755
--- a/prepare_vendor.sh
+++ b/prepare_vendor.sh
@@ -42,7 +42,6 @@ cd $PKG_PATH
 
 echo ">>>>>> Apply patches"
 patch -p2 < $PKG_DIR/python-jupytext-CVEs.patch
-patch -p2 -t < $PKG_DIR/python-jupytext-jupyter-builder.patch
 
 export HATCH_BUILD_HOOKS_ENABLE=true
 export YARN_CACHE_FOLDER="$PWD/.package-cache"

diff --git a/python-jupytext-jupyter-builder.patch b/python-jupytext-jupyter-builder.patch
deleted file mode 100644
index 3b5e9fb..0000000
--- a/python-jupytext-jupyter-builder.patch
+++ /dev/null
@@ -1,118 +0,0 @@
---- jupytext-1.19.6/jupyterlab/packages/jupyterlab-jupytext-extension/package.json.orig	2026-10-04 14:53:45.000000000 -0600
-+++ jupytext-1.19.6/jupyterlab/packages/jupyterlab-jupytext-extension/package.json	2026-10-05 12:04:28.948730501 -0600
-@@ -29,8 +29,8 @@
-   ],
-   "scripts": {
-     "build": "jlpm run build:lib && jlpm run build:labextension:dev && jlpm run copy:extensioncfgfile",
--    "build:labextension": "jupyter-builder build .",
--    "build:labextension:dev": "jupyter-builder build --development True .",
-+    "build:labextension": "jupyter labextension build .",
-+    "build:labextension:dev": "jupyter labextension build --development True .",
-     "build:lib": "tsc",
-     "build:prod": "jlpm run build:lib && jlpm run build:labextension && jlpm run copy:extensioncfgfile",
-     "copy:extensioncfgfile": "cp ../../install.json ../../jupyterlab_jupytext/labextension",
-@@ -40,7 +40,7 @@
-     "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
-     "install:extension": "python ../../scripts/install_extension.py",
-     "watch": "run-p watch:src watch:labextension",
--    "watch:labextension": "jupyter-builder watch .",
-+    "watch:labextension": "jupyter labextension watch .",
-     "watch:src": "tsc -w"
-   },
-   "jupyterlab": {
-@@ -84,8 +84,7 @@
-     "jupyterlab-rise": "^0.43.1"
-   },
-   "devDependencies": {
--    "@jupyter/builder": "^1.0.0",
--    "@types/node": "^26.1.0",
-+    "@jupyterlab/builder": "^4.4.9",
-     "npm-run-all": "^4.1.5",
-     "rimraf": "^6.0.1",
-     "typescript": "~6.0.3"
---- jupytext-1.19.6/jupyterlab/packages/jupyterlab-jupytext-extension/tsconfig.json.orig	2026-10-04 14:53:45.000000000 -0600
-+++ jupytext-1.19.6/jupyterlab/packages/jupyterlab-jupytext-extension/tsconfig.json	2026-10-05 11:41:44.234314202 -0600
-@@ -1,7 +1,7 @@
- {
-   "compilerOptions": {
-     "declaration": true,
--    "lib": ["es2019", "dom"],
-+    "lib": ["es2018", "dom"],
-     "module": "Node16",
-     "moduleResolution": "Node16",
-     "noEmitOnError": true,
-@@ -10,7 +10,7 @@
-     "rootDir": "src",
-     "strict": true,
-     "strictNullChecks": true,
--    "target": "es2019",
-+    "target": "es2018",
-     "types": ["node"],
-     "esModuleInterop": true,
-     "skipLibCheck": true
---- jupytext-1.19.6/jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests/package.json.orig	2026-10-04 14:53:45.000000000 -0600
-+++ jupytext-1.19.6/jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests/package.json	2026-10-05 11:40:02.619306505 -0600
-@@ -9,7 +9,7 @@
-         "test:update": "jlpm playwright test --update-snapshots"
-     },
-     "devDependencies": {
--        "@jupyterlab/galata": "^5.6.1",
--        "@playwright/test": "^1.61.1"
-+        "@jupyterlab/galata": "^5.5.2",
-+        "@playwright/test": "^1.55.1"
-     }
- }
---- jupytext-1.19.6/jupyterlab/scripts/install_extension.py.orig	2026-10-04 14:53:45.000000000 -0600
-+++ jupytext-1.19.6/jupyterlab/scripts/install_extension.py	2026-10-05 11:42:08.866014771 -0600
-@@ -12,7 +12,7 @@
- import os
- 
- import jupyterlab_jupytext
--from jupyter_builder.federated_extensions import build_labextension, develop_labextension
-+from jupyterlab.federated_labextensions import build_labextension, develop_labextension
- 
- 
- def main():
---- jupytext-1.19.6/pyproject.toml.orig	2026-10-04 14:53:45.000000000 -0600
-+++ jupytext-1.19.6/pyproject.toml	2026-10-05 11:53:11.082752147 -0600
-@@ -1,5 +1,5 @@
- [build-system]
--requires = ["hatchling>=1.5.0", "hatch-jupyter-builder>=0.5", "jupyter-builder>=1.0.0"]
-+requires = ["hatchling>=1.5.0", "hatch-jupyter-builder>=0.5", "jupyterlab>=4"]
- build-backend = "hatchling.build"
- 
- [project]
-@@ -145,7 +145,7 @@ enable-by-default = false
- # extension. To install the extension, it is required to run
- # `HATCH_BUILD_HOOKS_ENABLE=true pip install .`
- # Runtime dependency for this build hook
--# We need jupyter-builder as build time depdendency to get jlpm (wrapper around yarn)
-+# We need jupyterlab as build time depdendency to get jlpm (wrapper around yarn)
- # UPDATE 20260118: Based on https://github.com/jupyterlab/hatch-jupyter-builder/issues/146
- # we moved all the dependencies to build system dependencies
- # We use npm_builder to build the jupyterlab extension
-@@ -286,13 +286,12 @@ platforms = ["linux-64", "osx-64", "osx-
- 
- [tool.pixi.dependencies]
- python = "3.13.13.*" # One test involving Black fails on the CI
--jupyterlab = ">=4.6.1,<5"
-+jupyterlab = ">=4.0"
- nbformat = ">=5.1.2"
- pre-commit = ">=4.3"
- nodejs = ">=20"
- hatch = "*"
- pip = "*"
--jupyter-builder = ">=1.1.0,<2"
- 
- [tool.pixi.feature.docs.dependencies]
- sphinx = "*"
-@@ -308,8 +307,7 @@ pandoc = ">=3.0,<3.10"  # 1545
- [tool.pixi.feature.build.dependencies]
- python = "3.13.*"
- nodejs = ">=20"
--jupyterlab = ">=4.6.1,<5"
--jupyter-builder = ">=1.1.0,<2"
-+jupyterlab = ">=4.0"
- 
- [tool.pixi.feature.build.tasks]
- build-labextension = { cmd = "jlpm install && jlpm run build:prod", cwd = "jupyterlab" }

diff --git a/python-jupytext.spec b/python-jupytext.spec
index 3f97754..3d34152 100644
--- a/python-jupytext.spec
+++ b/python-jupytext.spec
@@ -23,10 +23,6 @@ Source3:        prepare_vendor.sh
 # - CVE-2026-86472: fast-uri           3.1.7  -> 3.1.8
 Patch:          %{name}-CVEs.patch
 
-# Revert the jupyterlab -> jupyter-builder change for <= F45
-# See https://github.com/jupytext/jupytext/pull/1590
-Patch:          %{name}-jupyter-builder.patch
-
 # The vendored npm cache (Source1) is generated by prepare_vendor.sh
 # on x86_64, so it only contains the x86_64 natives; building this
 # noarch package anywhere else fails.

diff --git a/sources b/sources
index 8deae05..dc163e7 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (jupytext-1.19.6-vendor.tar.xz) = f4680f163eb76156a0f8cb470ba68e5af658b0e24db26780c8783d4c67e0a07ab308a1e2b8963b537fa2cda6a349999753a33ffc6a3c372ba983d4a370984d2c
+SHA512 (jupytext-1.19.6-vendor.tar.xz) = 58476a61daa52e4e2dbafba064eea7b8ddf1f19c3796ea9dc56d5f3f8dabb5bf1b813fb81312a4fecad20f738168ea47939c6b0be489661d108d9c902943b63b
 SHA512 (jupytext-1.19.6.tar.gz) = 9831820e4f176779590135e71fc03892fe41e0fabc9d13619b0551805a559b995deecf60e3dcef5ef19cc5133c8d5841eae44cf768d932baabd24cd3710159b7

                 reply	other threads:[~2026-10-29 14:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179328516950.1.12818262083049624356.rpms-python-jupytext-4ef59eebfdc4@fedoraproject.org \
    --to=lbalhar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox