[Pkg-javascript-devel] Bug#1108874: unblock: node-package-json/8.1.1-2

Yadd yadd at debian.org
Sun Jul 6 16:30:36 BST 2025


Package: release.debian.org
Severity: normal
X-Debbugs-Cc: node-package-json at packages.debian.org, yadd at debian.org
Control: affects -1 + src:node-package-json
User: release.debian.org at packages.debian.org
Usertags: unblock

[ Reason ]
Due to nodejs change, autopkgtest starts to fail (#1108825)

[ Impact ]
FTBFS

[ Tests ]
Test fixed

[ Risks ]
No risk, just test change

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

Best regards,
Xavier

unblock node-package-json/8.1.1-2
-------------- next part --------------
diff --git a/debian/changelog b/debian/changelog
index dbd5f3a..90cb077 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-package-json (8.1.1-2) unstable; urgency=medium
+
+  * Team upload
+  * Update patch to no more test dependencies dates (Closes: #1108825)
+
+ -- Yadd <yadd at debian.org>  Sun, 06 Jul 2025 08:34:11 +0200
+
 node-package-json (8.1.1-1) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/patches/drop-tests-for-autopkgtest.patch b/debian/patches/drop-tests-for-autopkgtest.patch
index 048fb46..e8ceb74 100644
--- a/debian/patches/drop-tests-for-autopkgtest.patch
+++ b/debian/patches/drop-tests-for-autopkgtest.patch
@@ -1,15 +1,19 @@
+Description: those tests fail with autopkgtest
+Author: Yadd <yadd at debian.org>
+Forwarded: not-needed
+Last-Update: 2025-07-06
+
 --- a/test.js
 +++ b/test.js
-@@ -18,7 +18,7 @@
+@@ -18,7 +18,6 @@
  	t.is(json.name, 'pageres');
  	t.is(json._id, 'pageres at 4.4.0');
  	t.is(json.time.created, '2014-02-07T18:17:46.737Z');
 -	t.is(json.time.modified, '2022-10-27T08:57:30.321Z');
-+	t.is(json.time.modified, '2023-06-16T22:42:27.497Z');
  });
  
  test('all version', async t => {
-@@ -84,6 +84,7 @@
+@@ -84,6 +83,7 @@
  	await t.throwsAsync(packageJson('hapi', {version: '6.6.6'}), {instanceOf: VersionNotFoundError});
  });
  
@@ -17,7 +21,7 @@
  test('does not send any auth token for unconfigured registries', async t => {
  	const server = http.createServer((request, response) => {
  		response.end(JSON.stringify({headers: request.headers, 'dist-tags': {}}));
-@@ -113,4 +114,5 @@
+@@ -113,4 +113,5 @@
  	const json = await packageJson('@mockscope2/foobar');
  	t.is(json.name, '@mockscope2/foobar');
  	server.close();


More information about the Pkg-javascript-devel mailing list