Package: release.debian.org Severity: normal X-Debbugs-Cc: node-package-j...@packages.debian.org, y...@debian.org Control: affects -1 + src:node-package-json User: release.debian....@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
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 <y...@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 <y...@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@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();
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel