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

python39Packages.pydeck does not build: ValueError: invalid pyproject.toml config: project #172411

Closed
alexvorobiev opened this issue May 10, 2022 · 5 comments
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: python

Comments

@alexvorobiev
Copy link
Contributor

Describe the bug

python39Packages.pydeck does not build: ValueError: invalid pyproject.toml config: project due to updated setuptools in nixpkgs. There is a fix upstream visgl/deck.gl#6777.

Steps To Reproduce

nix-shell -p '(python39Packages.pydeck.overrideAttrs (attrs: {
  doCheck = false;
  doInstallCheck = false;
}))'

...

configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
/nix/store/xi8ha1k3mjpmnmmi5fp7fmq41f2wwghm-python3.9-setuptools-61.2.0/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:103: _ExperimentalProjec
tMetadata: Support for project metadata in `pyproject.toml` is still experimental and may be removed (or change) in future releases.
  warnings.warn(msg, _ExperimentalProjectMetadata)
configuration error: `project` must not contain {'requires'} properties

Expected behavior

pydeck builds

Notify maintainers

@Creator54 @jonringer

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 3.10.0-1160.62.1.el7.x86_64, Red Hat Enterprise Linux Server, 7.9 (Maipo), nobuild`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.8.0`
 - channels(alex): `"nixpkgs"`
 - nixpkgs: `/u/alex/.nix-defexpr/channels/nixpkgs`
@Creator54
Copy link
Member

Creator54 commented May 11, 2022

Screenshot_2022-05-11-13-25-57-048_com sonelli juicessh

does looks working for me in latest unstable channel and latest nixpkgs(GitHub) 🤔

@KAction
Copy link
Contributor

KAction commented May 12, 2022

Build for me too:

; git log --format='%H %cd' -n1
88be12e5ddb27415e4c6c5f632695a1c46680bdf Thu May 12 21:09:49 2022 +0200
; nix-build -A python3.pkgs.pydeck
/nix/store/54fybg2cqy9pimn8z18h9vr19zf507zj-python3.9-pydeck-0.7.1

@alexvorobiev
Copy link
Contributor Author

I am on nixpkgs-unstabe and it didn't build until I made a patch from that upstream PR I mentioned. Then it built.

@KAction
Copy link
Contributor

KAction commented May 13, 2022

Try building from master. This is what I always do (despite technically being not-promised-to-work configuration).

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Nov 12, 2022
@natsukium
Copy link
Member

close as resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: python
Projects
None yet
Development

No branches or pull requests

5 participants