Giter Site home page Giter Site logo

Comments (6)

lenianiva avatar lenianiva commented on September 4, 2024

The solution about flit_core can be found here:

There is some python package with a build dependency that poetry2nix is

from jupyenv.

GTrunSec avatar GTrunSec commented on September 4, 2024

The solution about flit_core can be found here:

if you don't know how to solve that issue via overrides.nix with poetry2nix. Please try my PR branch to get the native nixpkgs support for the kernels.

from jupyenv.

GTrunSec avatar GTrunSec commented on September 4, 2024

solved -> ba06739

from jupyenv.

trevex avatar trevex commented on September 4, 2024

Thanks @GTrunSec,

I ran into the same issue and tried using your branch, e.g.

inputs.jupyenv.url = "github:GTrunSec/jupyterWith/chore";

Unfortunately this results in another error on nix run:

trace: warning: Unknown rpds-py version: '0.10.6'. Please update getCargoHash.
error: getting status of '/nix/store/g7lkqdx4wdz77p5lbsbx038956jhg813-source/logo-64x64.png': No such file or directory

The warning I attribute to https://discourse.nixos.org/t/poetry2nix-mismatch-cryptography-sha256-but-unable-to-modify/33897

The error happens as nix is looking for the logo in the kernel's projectDir. As a workaround I copied the logo over, which then makes nix run still error, but most likely due to an issue in poetry2nix as outlined in the above Discourse:

trace: warning: Unknown rpds-py version: '0.10.6'. Please update getCargoHash.
error: hash mismatch in fixed-output derivation '/nix/store/hcl9xsg13zccln3q1cknclvbvl4ckdry-rpds-py-0.10.6-vendor.tar.gz.drv':
         specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
            got:    sha256-8bXCTrZErdE7JhuoudU/4dDndCMwvjy2a+2IY0DWDzg=

I saw there is a new mkPoetryKernel function. Should this be used in the future instead for a Poetry-based Python kernel?

from jupyenv.

GTrunSec avatar GTrunSec commented on September 4, 2024

@trevex
for the logo error is a bug for sure(will be fixed tomorrow)
second, if you don't know how to override the package with poetry2nix like https://github.com/GTrunSec/dataflow2nix/blob/main/nix/prefect/packages/overrides.nix#L23
just use the native python env: a56c43d#diff-459c8fd464b8b23e4b2f8ebb00690d572772b9a755aa7a5cce5d4574079edfa1R4

from jupyenv.

GTrunSec avatar GTrunSec commented on September 4, 2024

@trevex
fixed e8a9d57

from jupyenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.