Nixos-rebuild, singledispatch (from sexpdata) , failed to build

Running build as usual today, but failboat

Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
unpacking sources
unpacking source archive /nix/store/hib2v6gkgxz0zy85q6h8a0a6f6nvv1ba-sexpdata-0.0.4.tar.gz
source root is sexpdata-0.0.4
setting SOURCE_DATE_EPOCH to timestamp 1676017676 of file sexpdata-0.0.4/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
/nix/store/8zx4h7r5mn1b913hgi8rwjfynwg1wgdi-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
Finished executing setuptoolsBuildPhase
installing
Executing pipInstallPhase
/build/sexpdata-0.0.4/dist /build/sexpdata-0.0.4
copying path '/nix/store/9rcp5yzpx72i6b46i99y6b4r2izqxi3z-libproxy-0.4.18' from 'https://cache.nixos.org'...
copying path '/nix/store/623s011vxw6hps1l53hiyywymdsdfdcb-glib-networking-2.74.0' from 'https://cache.nixos.org'...
copying path '/nix/store/m2pgzac0c6h0n07pbalvp8z9w49pvy0y-qtbase-6.4.2' from 'https://cache.nixos.org'...
copying path '/nix/store/dicqb42d7sizws3n3r4x9yilc7yff5qp-lisp-cl-cffi-gtk-gdk-pixbuf-cl-cffi-gtk-20201220-git' from 'https://cache.nixos.org'...
copying path '/nix/store/4fv4aibxswzmljvaxapw7mmz6n9v2qha-lisp-cl-cffi-gtk-gio-cl-cffi-gtk-20201220-git' from 'https://cache.nixos.org'...
Processing ./sexpdata-0.0.4-py3-none-any.whl
copying path '/nix/store/y5hf2rzhdr1143bz6mwsz6jila586dpn-lisp-cl-cffi-gtk-pango-cl-cffi-gtk-20201220-git' from 'https://cache.nixos.org'...
ERROR: Could not find a version that satisfies the requirement singledispatch (from sexpdata) (from versions: none)
ERROR: No matching distribution found for singledispatch

error: builder for '/nix/store/i1s8v8ffi78ylrf7xjrdmmhwzgpn0nm6-python3.10-sexpdata-0.0.4.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/ph1m1b0d1i1gndp0wid3kk2m6a8s7v7h-python3-3.10.10-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8x1ynifww2kgyqnlk1xahlfiaycsfyax-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/31jz1s6xbla6sjwg76bdnfqxx99xlxc9-nixos-system-spartacus-22.05.4423.e09913998d8.drv' failed to build
[b0ef@spartacus:~]$

The singledispatch package does not exist in nixpkgs and needs to be packaged up.

The sexpdata package currently has no dedicated maintainer, so maintenance falls back to the python package set maintainers, but we don’t have time to deal with every package.

Feel free to step up to the occassion.

First of all, I’m not really sure where this is coming from? I didn’t put singledispatch into my configuration file, so where did it come from?:wink:

It is a new dependency, that sexpdata requires from version 0.0.4.

But with 1.0.0 it was constrained to python<3.4, so an update fixes it.

https://github.com/NixOS/nixpkgs/pull/221644

I don’t have sexpdata, either, so this is something that these require somehow?

  my-python-packages = python-packages: with python-packages; [
    pandas
    requests
    pyqt6 sip qtpy qt6.qtwebengine epc lxml pyqt6-webengine # for eaf
    qrcode # eaf-file-browser
    pysocks # eaf-browser
    pymupdf # eaf-pdf-viewer
    pypinyin # eaf-file-manager
    psutil # eaf-system-monitor
    retry # eaf-markdown-previewer
    markdown
  ];
  python-with-my-packages = unstable.python3.withPackages my-python-packages;

sexpdata is a dependency of epc.