From af6bc74311099a4d1b6d5536c69d2699b029a11f Mon Sep 17 00:00:00 2001 From: octvs Date: Fri, 31 Jul 2026 18:57:25 +0200 Subject: [PATCH 1/3] python3Packages.arxiv: 3.0.0 -> 4.0.1 Drop `feedparser` dependency in favour of `lxml` following upstream changes. --- pkgs/development/python-modules/arxiv/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/arxiv/default.nix b/pkgs/development/python-modules/arxiv/default.nix index e76c832ac707..9bafe81fe146 100644 --- a/pkgs/development/python-modules/arxiv/default.nix +++ b/pkgs/development/python-modules/arxiv/default.nix @@ -8,7 +8,7 @@ hatch-vcs, # dependencies - feedparser, + lxml, requests, # tests @@ -17,14 +17,14 @@ }: buildPythonPackage rec { pname = "arxiv"; - version = "3.0.0"; + version = "4.0.1"; pyproject = true; src = fetchFromGitHub { owner = "lukasschwab"; repo = "arxiv.py"; tag = version; - hash = "sha256-o2Vqkr5Tlx7Iv1NEWDSU8X6hvlGUslIl4oHiRQNGdqI="; + hash = "sha256-nZhi0dPEiv6VLpacvcGvZhvvDkLalrs4IJvMVzb5MJI="; }; build-system = [ @@ -33,7 +33,7 @@ buildPythonPackage rec { ]; dependencies = [ - feedparser + lxml requests ]; From f947523dbed3605eb843b77697869a2cabad5a64 Mon Sep 17 00:00:00 2001 From: octvs Date: Fri, 31 Jul 2026 19:19:14 +0200 Subject: [PATCH 2/3] papis: fix build failure with upstream commits These commits remove `isbnlib` dependency which is currently causing build failure on our pipeline. Until the next release from upstream fetch those commits as patches to fix the build failure. Additionally, remove `stevedore` dependency following upstream. This was overseen in the last version bump, papis removed `stevedore` dependency on version `v0.15.0` [1]. Finally, consolidate disabled test entries to a single list. [1]: https://github.com/papis/papis/blob/bafba509c36b211540594a78f3d2a678e6728079/CHANGELOG.md#L105-L106 --- .../python-modules/papis/default.nix | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix index 6fbfbac761cc..67274ffa93b1 100644 --- a/pkgs/development/python-modules/papis/default.nix +++ b/pkgs/development/python-modules/papis/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch2, # build-system hatchling, @@ -15,7 +16,6 @@ dominate, filetype, habanero, - isbnlib, lxml, platformdirs, prompt-toolkit, @@ -25,7 +25,6 @@ python-slugify, pyyaml, requests, - stevedore, # optional dependencies chardet, @@ -70,7 +69,6 @@ buildPythonPackage (finalAttrs: { dominate filetype habanero - isbnlib lxml platformdirs prompt-toolkit @@ -80,7 +78,6 @@ buildPythonPackage (finalAttrs: { python-slugify pyyaml requests - stevedore ] ++ lib.optionals withOptDeps finalAttrs.passthru.optional-dependencies.complete; @@ -111,27 +108,39 @@ buildPythonPackage (finalAttrs: { "tests" ]; - disabledTestPaths = [ - # Require network access - "tests/downloaders" - "papis/downloaders/usenix.py" - ]; - disabledTests = [ # Require network access "test_add_folder_name_cli" "test_add_link_cli" + "test_download_document" "test_get_matching_importers_by_name" "test_matching_importers_by_uri" "test_yaml_unicode_dump" - # FileNotFoundError: Command not found: 'init' - "test_git_cli" ] ++ lib.optionals withOptDeps [ # Require network access "test_csl_style_download" ]; + # Until a release >0.15.0 (that would already contain these commits) + patches = [ + # Commit 44c6463: chore: move isbnlib to optional dependencies + (fetchpatch2 { + url = "https://github.com/papis/papis/commit/44c6463f79cbc3a09adb541ae7df4e00a194b86b.patch?full_index=1"; + hash = "sha256-3E18cyzkiZsNvgH/X8dZu+3tGGpbBsaQ3nIoDuIYFqw="; + }) + # Commit 7518e53: chore: remove isbn dependency + (fetchpatch2 { + url = "https://github.com/papis/papis/commit/7518e53e5d485e3cec1e202af6cb4921b9976b5b.patch?full_index=1"; + hash = "sha256-iBqlvHfH+6fyhi2C7lpwI1O59DKrKp7p45x29kzPRR0="; + }) + # Commit 15cae59: test: skip tests if missing isbnlib + (fetchpatch2 { + url = "https://github.com/papis/papis/commit/15cae5986ae9dec75c7d103757adbd73c39feb89.patch?full_index=1"; + hash = "sha256-kuVZdOd+H99TinM7yAs7NJrfw7rOPyxDlSaT0P2NeC4="; + }) + ]; + meta = { description = "Powerful command-line document and bibliography manager"; mainProgram = "papis"; From 4bf5f3856ceef30752485e2e2a3b6e56a4047cb5 Mon Sep 17 00:00:00 2001 From: octvs Date: Sun, 2 Aug 2026 17:08:56 +0200 Subject: [PATCH 3/3] papis: add octvs as maintainer Also remove teto by his request [1]. [1]: https://redirect.github.com/NixOS/nixpkgs/pull/547844#issuecomment-5152495887 --- pkgs/development/python-modules/papis/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix index 67274ffa93b1..4eb60b37b24d 100644 --- a/pkgs/development/python-modules/papis/default.nix +++ b/pkgs/development/python-modules/papis/default.nix @@ -149,7 +149,7 @@ buildPythonPackage (finalAttrs: { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ nico202 - teto + octvs ]; }; })