Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: devpi-client (via devpi-common) #231346

Open
con-f-use opened this issue May 11, 2023 · 4 comments
Open

Build failure: devpi-client (via devpi-common) #231346

con-f-use opened this issue May 11, 2023 · 4 comments

Comments

@con-f-use
Copy link
Contributor

Build log

error: builder for '/nix/store/y3b827as5z27dz76vjkzv3l1nwiw1x9w-python3.10-devpi-common-3.7.2.drv' failed with exit code 1;
       last 10 log lines:
       > installing
       > Executing pipInstallPhase
       > /build/devpi-common-3.7.2/dist /build/devpi-common-3.7.2
       > Processing ./devpi_common-3.7.2-py2.py3-none-any.whl
       > Requirement already satisfied: py>=1.4.20 in /nix/store/5h6wgiyq8j24m7cxxkh68hb0ksifnfhi-python3.10-py-1.11.0/lib/python3.10/site-packages (from devpi-common==3.7.2) (1.11.0)
       > Requirement already satisfied: lazy in /nix/store/cp9c8d64xbqksclgm980796zi0p9p8jb-python3.10-lazy-1.4/lib/python3.10/site-packages (from devpi-common==3.7.2) (1.4)
       > Requirement already satisfied: requests>=2.3.0 in /nix/store/yb0w3zz1dvhhv071jm5jsnq3x912v0x9-python3.10-requests-2.28.2/lib/python3.10/site-packages (from devpi-common==3.7.2) (2.28.2)
       > ERROR: Could not find a version that satisfies the requirement packaging<22 (from devpi-common) (from versions: none)
       > ERROR: No matching distribution found for packaging<22
       > 
       For full logs, run 'nix log /nix/store/y3b827as5z27dz76vjkzv3l1nwiw1x9w-python3.10-devpi-common-3.7.2.drv'.
error: 1 dependencies of derivation '/nix/store/821vdydlnbsv5m17895gb1wzag3b2ik0-devpi-client-6.0.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4jdh8hlvaywfnzcp728myqg8d9az1d8i-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/r4xd3v1xbkss3741wh3mn0180q8csy0y-nixos-system-conix-23.05.20230506.897876e.drv' failed to build

Additional context

Using nixos-unstable 897876e

Notify maintainers

@makefu @nlewo

@nlewo
Copy link
Member

nlewo commented May 13, 2023

I think we have to mark this package as broken until a new upstream released is published. There are two others options but they are complicated or unsafe:

  • override the packaging version of all devpi-common dependencies (setuptools, requests, ...): i don't know if we have overlays for pythonPackages but it seems a bit overkill.
  • apply this patch coming from a devpi maintainer but not released yet: i don't think we want to apply such kind of non well tested patch (while it would still be possbile to get devpi from an older nixpkgs revision). (Note also, this patch can't be directly applied).

I explicitly asked for a new devpi release: devpi/devpi#939 (comment)

FYI, here is the output of: nix why-depends --derivation /nix/store/5yfs0xf1269gifqi6fbwi4s610zsrd33-python3.10-devpi-common-3.7.2.drv /nix/store/5xbxrdrw6d2zs3895q8l7h55nkshb23s-python3.10-packaging-23.0.drv -a

/nix/store/5yfs0xf1269gifqi6fbwi4s610zsrd33-python3.10-devpi-common-3.7.2.drv
├───/nix/store/vq37s5h4cp94fx2ngd301anlxlayrdak-python3.10-py-1.11.0.drv
│   └───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
│       └───/nix/store/5xbxrdrw6d2zs3895q8l7h55nkshb23s-python3.10-packaging-23.0.drv
├───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
│   └───/nix/store/25favcwr0xgzqlm3kv34fqdm16i5mq2y-python3.10-pytest-7.2.1.drv
│       ├───/nix/store/5xbxrdrw6d2zs3895q8l7h55nkshb23s-python3.10-packaging-23.0.drv
│       ├───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
│       ├───/nix/store/fpq7nnvllfw3ak8kjvnlylync2xy4x5l-python3.10-pluggy-1.0.0.drv
│       │   └───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
│       ├───/nix/store/mpj71m0f0inw4wrd6zcgii0nbwgls2b1-python3.10-iniconfig-2.0.0.drv
│       │   └───/nix/store/dzwbaklrnd6cwhackrli98jdv86akq19-python3.10-hatchling-1.13.0.drv
│       │       ├───/nix/store/5xbxrdrw6d2zs3895q8l7h55nkshb23s-python3.10-packaging-23.0.drv
│       │       └───/nix/store/fpq7nnvllfw3ak8kjvnlylync2xy4x5l-python3.10-pluggy-1.0.0.drv
│       ├───/nix/store/vq37s5h4cp94fx2ngd301anlxlayrdak-python3.10-py-1.11.0.drv
│       └───/nix/store/z9l3q3yvapy6ninrbj06wmv9m0pp2akc-python3.10-exceptiongroup-1.1.0.drv
│           └───/nix/store/g0gaid02abxqqna6230vp4cadlwhjx81-python3.10-flit-scm-1.7.0.drv
│               └───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
└───/nix/store/b6cf4v1bkjcr6f46cy6xappsyx4ml61q-python3.10-requests-2.28.2.drv
    ├───/nix/store/2ql17s6km24z7q8rcrkl8facvax3p41n-python3.10-pytest-xdist-3.2.1.drv
    │   ├───/nix/store/25favcwr0xgzqlm3kv34fqdm16i5mq2y-python3.10-pytest-7.2.1.drv
    │   ├───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
    │   ├───/nix/store/ni7f2vyyiw0b1rvk9bg44w6c1dwmq67w-python3.10-execnet-1.9.0.drv
    │   │   ├───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
    │   │   ├───/nix/store/qij37479jjmbfgc5qx4jl7b9205bzy35-python3.10-apipkg-3.0.1.drv
    │   │   │   ├───/nix/store/dzwbaklrnd6cwhackrli98jdv86akq19-python3.10-hatchling-1.13.0.drv
    │   │   │   ├───/nix/store/iy5cmcdc2nk08wv1jmlin0h7m7p23rpl-python3.10-hatch-vcs-0.3.0.drv
    │   │   │   │   ├───/nix/store/dzwbaklrnd6cwhackrli98jdv86akq19-python3.10-hatchling-1.13.0.drv
    │   │   │   │   ├───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
    │   │   │   │   ├───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   │   │   │   └───/nix/store/rbqkxmygh45xl69v3abi50svxgxb0k2a-git-2.40.1.drv
    │   │   │   │       ├───/nix/store/n25cn28b0nqa41fimnrgr9zjgir8dpvz-asciidoc-10.2.0.drv
    │   │   │   │       │   ├───/nix/store/25favcwr0xgzqlm3kv34fqdm16i5mq2y-python3.10-pytest-7.2.1.drv
    │   │   │   │       │   └───/nix/store/d5wj0i6yb6478yx34l4m2libbzndbrnm-python3.10-pytest-mock-3.10.0.drv
    │   │   │   │       │       ├───/nix/store/25favcwr0xgzqlm3kv34fqdm16i5mq2y-python3.10-pytest-7.2.1.drv
    │   │   │   │       │       ├───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
    │   │   │   │       │       ├───/nix/store/ivhp2z0y687ih1l0w56z51qkxhsqc9wy-python3.10-pytest-asyncio-0.20.3.drv
    │   │   │   │       │       │   ├───/nix/store/25favcwr0xgzqlm3kv34fqdm16i5mq2y-python3.10-pytest-7.2.1.drv
    │   │   │   │       │       │   └───/nix/store/zq9r07knjx27r1s295a6drz64mi2syqz-python3.10-setuptools-scm-7.1.0.drv
    │   │   │   │       │       └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   │   │   │       ├───/nix/store/fw3irmssgjl4yl24yw2snnx9sr219jhk-perl5.36.0-IO-Socket-SSL-2.068.drv
    │   │   │   │       │   └───/nix/store/a7qa4901qrrhqw4ih6c1rnf3xb4r99m7-perl5.36.0-Mozilla-CA-20200520.drv
    │   │   │   │       │       └───/nix/store/1mi5jxnc59y89k27y60z68g447wnp4nk-nss-cacert-3.86.drv
    │   │   │   │       │           └───/nix/store/5wr3fhzg3jsrdghawd7k36wbg3iv2cv9-python3.10-buildcatrust-0.1.3.drv
    │   │   │   │       │               └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   │   │   │       ├───/nix/store/47hpjqg7kwjzm6cxchggdasa16sjy6nq-perl5.36.0-Net-SMTP-SSL-1.04.drv
    │   │   │   │       │   └───/nix/store/fw3irmssgjl4yl24yw2snnx9sr219jhk-perl5.36.0-IO-Socket-SSL-2.068.drv
    │   │   │   │       └───/nix/store/x4w96myv2jvqpbzzijiid93blaw4dlm2-curl-8.0.1.drv
    │   │   │   │           └───/nix/store/qrccn5qarnw44hcs9s1nn4dsyqghgi80-brotli-1.0.9.drv
    │   │   │   │               └───/nix/store/wm8gqpjyv9yryn1blaxq6qa7nsffh7wk-cmake-3.25.3.drv
    │   │   │   │                   └───/nix/store/y75g68dnv6g4ipvbvgg8ycy5bisz370h-libarchive-3.6.2.drv
    │   │   │   │                       └───/nix/store/grff45m3c0bm8lj8mgw96q56gl9djriv-e2fsprogs-1.46.6.drv
    │   │   │   │                           └───/nix/store/1ap6jj6pc54b8ghclkzcmy4b2wqnphvw-fuse-2.9.9.drv
    │   │   │   │                               └───/nix/store/7xa179z1cvwfvsaqdw5qwr3avbys9hxz-fuse-3.11.0.drv
    │   │   │   │                                   ├───/nix/store/rdac7kymx1pvszi3nzrrqcj4z12adwsn-ninja-1.11.1.drv
    │   │   │   │                                   │   └───/nix/store/n25cn28b0nqa41fimnrgr9zjgir8dpvz-asciidoc-10.2.0.drv
    │   │   │   │                                   └───/nix/store/83lymyphi444pdj8ry3z8snsq0927a0d-meson-1.1.0.drv
    │   │   │   │                                       └───/nix/store/rdac7kymx1pvszi3nzrrqcj4z12adwsn-ninja-1.11.1.drv
    │   │   │   └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   │   ├───/nix/store/vq37s5h4cp94fx2ngd301anlxlayrdak-python3.10-py-1.11.0.drv
    │   │   └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   ├───/nix/store/w0chby8a4virimymkmpyf2i77jj4q8m5-python3.10-filelock-3.9.0.drv
    │   │   ├───/nix/store/dzwbaklrnd6cwhackrli98jdv86akq19-python3.10-hatchling-1.13.0.drv
    │   │   ├───/nix/store/iy5cmcdc2nk08wv1jmlin0h7m7p23rpl-python3.10-hatch-vcs-0.3.0.drv
    │   │   └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    ├───/nix/store/d5wj0i6yb6478yx34l4m2libbzndbrnm-python3.10-pytest-mock-3.10.0.drv
    ├───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    ├───/nix/store/3wzkznlcjl5q13s3wbsry1f5zxilc0h1-python3.10-charset-normalizer-3.0.1.drv
    │   └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    ├───/nix/store/52bk3pqbcqfi2hwkmv53jggpilpav0kd-python3.10-idna-3.4.drv
    │   └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    ├───/nix/store/cl628600gyabig8mg37fzqz5flim69gq-python3.10-certifi-2022.12.07.drv
    │   ├───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   └───/nix/store/1mi5jxnc59y89k27y60z68g447wnp4nk-nss-cacert-3.86.drv
    ├───/nix/store/4ibcxk9c3xjyilb6qql2ycyqsg76c8y1-python3.10-brotlicffi-1.0.9.2.drv
    │   ├───/nix/store/vkcxy1a78g1vgqkkm6p5ffd457hlk5ll-python3.10-cffi-1.15.1.drv
    │   │   └───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
    │   └───/nix/store/qrccn5qarnw44hcs9s1nn4dsyqghgi80-brotli-1.0.9.drv
    └───/nix/store/6j1mpwsm91r3ivjpk5x0qs15mp5vlap0-python3.10-urllib3-1.26.14.drv
        └───/nix/store/lb736bdk71nwnrbyx90vyy7l41b1lrsm-python3.10-brotli-1.0.9.drv
            ├───/nix/store/yfdzrs5nfhmnjflm7dx3vvd47zcs75hf-pytest-check-hook.drv
            └───/nix/store/hh0yg28xpj2g4hz6x2kjh9dibsbahdqc-source.drv
                ├───/nix/store/1mi5jxnc59y89k27y60z68g447wnp4nk-nss-cacert-3.86.drv
                └───/nix/store/imf4h84i6x7hrfj14g3jacj7xpmjva83-git-minimal-2.40.1.drv
                    └───/nix/store/x4w96myv2jvqpbzzijiid93blaw4dlm2-curl-8.0.1.drv

@nlewo
Copy link
Member

nlewo commented May 13, 2023

So, sadly, i propose #231628.

@srhb
Copy link
Contributor

srhb commented Jun 29, 2023

Reasonable, if unfortunate. Let's hope upstream reacts.

srhb pushed a commit that referenced this issue Jun 29, 2023
It fails to build because it depends on packaging <22 while we use
packaging >22.

See the following issues for details:
- #231346
- devpi/devpi#939
tomodachi94 pushed a commit to tomodachi94/nixpkgs that referenced this issue Jun 29, 2023
It fails to build because it depends on packaging <22 while we use
packaging >22.

See the following issues for details:
- NixOS#231346
- devpi/devpi#939
@srhb
Copy link
Contributor

srhb commented Oct 16, 2023

Looks like a new release has happened, if anyone wants to give fixing it a go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants