** Summary changed:

- Sync node-jest 29.6.2~ds7+~cs73.45.28-8 (universe) from Debian sid
+ @jest/schemas fails to load with typebox 0.34

** Description changed:

- Please sync node-jest 29.6.2~ds7+~cs73.45.28-8 from Debian sid into stonking.
- Ubuntu currently has 29.6.2~ds7+~cs73.45.28-3 in the release pocket.
+ Please sponsor an Ubuntu upload of node-jest 29.6.2~ds7+~cs73.45.28-3ubuntu1,
+ backporting a single one-line quilt patch from Debian's
+ 29.6.2~ds7+~cs73.45.28-8:
  
- ## Why this sync is needed
+ 
+ 
https://sources.debian.org/src/node-jest/29.6.2~ds7+~cs73.45.28-8/debian/patches/typebox-0.34-no-strict.patch/
+ 
+     --- a/packages/jest-schemas/src/index.ts
+     +++ b/packages/jest-schemas/src/index.ts
+     -export const SnapshotFormat = Type.Strict(RawSnapshotFormat);
+     +export const SnapshotFormat = RawSnapshotFormat;
+ 
+ Type.Strict() was removed in @sinclair/typebox 0.34; it only stripped
+ schema symbols that Jest does not rely on, so dropping the call is safe
+ with both older and newer typebox.
+ 
+ ## Why this upload is needed
  
  This is the single remaining blocker for the node-entities 8 / node-parse5 8
  transition, which is in turn breaking several unrelated packages' autopkgtests
  in the release pocket (including sphinx's migration).
  
  The chain:
  
  1. node-entities 8.0.0+dfsg-3 has migrated to the stonking release
  pocket:
  
     https://launchpad.net/ubuntu/+source/node-entities
  
     Its package.json "exports" map no longer exposes "./lib/decode.js", which
     parse5 7.x (still in release) requires.
  
  2. The aligned stack is already in -proposed since 2026-08-25, waiting 26
     days:
  
     - node-parse5 8.0.1+dfsg-3build3: 
https://launchpad.net/ubuntu/+source/node-parse5
       (excuses: 
https://ubuntu-archive-team.ubuntu.com/proposed-migration/stonking/update_excuses.html#node-parse5)
     - node-jsdom 20.0.3+~cs124.18.21-10build3: 
https://launchpad.net/ubuntu/+source/node-jsdom
       (excuses: 
https://ubuntu-archive-team.ubuntu.com/proposed-migration/stonking/update_excuses.html#node-jsdom)
  
     Britney refuses this group because node-jest's autopkgtest regresses
     (amd64v3/arm64/armhf): node-parse5/node-jsdom migrations keep being
     skipped in update_output.txt:
  
     https://ubuntu-archive-team.ubuntu.com/proposed-
  migration/stonking/update_output.txt
  
  3. node-jest's failure is an incompatibility between Ubuntu's -3 and
     node-sinclair-typebox 0.34.41-2 (in -proposed):
  
     https://launchpad.net/ubuntu/+source/node-sinclair-typebox
  
     The pkg-js-autopkgtest-require smoke test dies on @jest/schemas:
  
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  stonking/stonking/arm64/n/node-jest/20260918_101814_95ee8@/log.gz
  
       #   Testing @jest/schemas:
       TypeError: _typebox(...).Type.Strict is not a function
           at Object.<anonymous> 
(/usr/share/nodejs/@jest/schemas/build/index.js:47:40)
       ...
       pkg-js-autopkgtest-require FAIL non-zero exit status 1
  
     (the main pkg-js-autopkgtest suite itself passes; only the require
     smoke test fails)
  
  4. Debian fixed exactly this in node-jest 29.6.2~ds7+~cs73.45.28-4:
     "Adapt to Babel 8 and typebox 0.34", followed by further Babel 8/ESM
     runtime fixes in -5..-8:
  
     https://sources.debian.org/src/node-
  jest/29.6.2~ds7+~cs73.45.28-8/debian/changelog/
  
  ## Collateral this unblocks
  
  - highlight.js autopkgtest fails on all arches because its test stack
    (mocha -> jsdom -> parse5 7) breaks against entities 8 in release.
    Failing runs (trigger sphinx/9.1.0-8 and release-pocket reference):
  
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  stonking/stonking/amd64/h/highlight.js/20260920_194258_4d5ea@/log.gz
  
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  stonking/stonking/amd64/h/highlight.js/20260921_075123_60e9f@/log.gz
  
    Run history (last pass 2026-08-24, before entities 8 migrated):
    https://autopkgtest.ubuntu.com/packages/h/highlight.js/stonking/amd64
  
  - These false-positive regressions are currently blocking the migration of
    sphinx 9.1.0-8 (which does not touch the node stack at all):
  
  https://ubuntu-archive-team.ubuntu.com/proposed-
  migration/stonking/update_excuses.html#sphinx
- 
- Once node-jest -8 lands, node-jest's require test passes with typebox 0.34,
- the node-jsdom/node-parse5 group can migrate, the entities 8/parse5 7 skew in
- release disappears, highlight.js goes green on all arches, and sphinx (among
- others) is unblocked.
- 
- ## Changelog entries relative to Ubuntu's 29.6.2~ds7+~cs73.45.28-3
- 
- node-jest (29.6.2~ds7+~cs73.45.28-8) unstable; urgency=medium
-   * Team upload
-   * Keep ES modules a project opts into transforming in the sandbox
-  -- Xavier Guimard <[email protected]>  Thu, 03 Sep 2026 09:31:18 +0200
- 
- node-jest (29.6.2~ds7+~cs73.45.28-7) unstable; urgency=medium
-   * Team upload
-   * Native-require ES modules except the package under test
-  -- Xavier Guimard <[email protected]>  Tue, 01 Sep 2026 13:53:18 +0200
- 
- node-jest (29.6.2~ds7+~cs73.45.28-6) unstable; urgency=medium
-   * Team upload
-   * Do not native-require modules Jest transforms
-  -- Xavier Guimard <[email protected]>  Mon, 31 Aug 2026 11:27:12 +0200
- 
- node-jest (29.6.2~ds7+~cs73.45.28-5) unstable; urgency=medium
-   * Team upload
-   * node-babel 8: check for native ES modules before throwing ERR_REQUIRE_ESM
-  -- Xavier Guimard <[email protected]>  Tue, 25 Aug 2026 23:52:06 +0200
- 
- node-jest (29.6.2~ds7+~cs73.45.28-4) unstable; urgency=medium
-   * Team upload
-   * Adapt to Babel 8 and typebox 0.34
-  -- Xavier Guimard <[email protected]>  Tue, 25 Aug 2026 15:45:57 +0200

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167827

Title:
  @jest/schemas fails to load with typebox 0.34

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/node-jest/+bug/2167827/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to