Open alienzj opened 2 months ago
@alienzj your repository link is broken
@alienzj were you able to find a solution?
I see you have two repositories, one of them is fork of this repo and another seems to be the reproduction you were referring to earlier, with a slightly different url https://github.com/alienzj/.jupyenvrc
If I run your repro I first get a wrong input since it is pointed at a local folder
https://github.com/alienzj/.jupyenvrc/blob/058891cfdcb1c6c18570f1c03997441b60ccbadd/flake.nix#L10
If I change input to jupyenv.url = "github:alienzj/jupyenv?ref=dev";
I get
> nix run
warning: Git tree '/home/a/projects/.jupyenvrc' is dirty
error: unable to execute '/nix/store/968mfd3g4whnxgavzaspaqnyv97smjw0-wrapper-chmod-python3-3.11.10-env/bin/jupyter-lab': No such file or directory
> nix build
> ls result/bin/
2to3 idle3.11 jupyter-execute jupyter-run pydoc3 python3
2to3-3.11 jsonpointer jupyter-kernel jupyter-troubleshoot pydoc3.11 python3-config
idle jsonschema jupyter-kernelspec jupyter-trust python python3.11
idle3 jupyter jupyter-migrate pydoc python-config python3.11-config
Current main branch of this repo looks like this:
> nix build .\#jupyterlab-kernel-example-python-science
> ls result/bin/
2to3 jupyter-events jupyter-nbconvert pygmentize
2to3-3.10 jupyter-execute jupyter-nbextension pyjson5
idle jupyter-fileid jupyter-notebook python
idle3 jupyter-kernel jupyter-run python-config
idle3.10 jupyter-kernelspec jupyter-server python3
ipython jupyter-lab jupyter-serverextension python3-config
ipython3 jupyter-labextension jupyter-troubleshoot python3.10
jlpm jupyter-labhub jupyter-trust python3.10-config
jsonpointer jupyter-migrate normalizer send2trash
jsonschema jupyter-nbclassic pybabel wsdump
jupyter jupyter-nbclassic-bundlerextension pydoc
jupyter-bundlerextension jupyter-nbclassic-extension pydoc3
jupyter-dejavu jupyter-nbclassic-serverextension pydoc3.10
ok I figured it out https://github.com/anpin/jupyenv/tree/dev jupyterlab should be under [tool.poetry.dev-dependencies]
not [tool.poetry.dependencies]
diff --git a/pyproject.toml b/pyproject.toml
index 2dbd78ac..1980b4ea 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,10 +6,10 @@ authors = []
[tool.poetry.dependencies]
python = "^3.12"
-jupyterlab = "4.3.1"
[tool.poetry.dev-dependencies]
testbook = "*"
+jupyterlab = "4.3.1"
[build-system]
requires = ["poetry-core"]
@anpin Thanks.
Yes, my current repository is set to https://github.com/alienzj/.jupyenvrc.
I will follow your suggestions soon.
Current Behavior
For example,
nix
will help to install packagepandas v1.5.2
.Expected Behavior
I want to install
pandas v2.2.2
.Steps To Reproduce
OS
Version
https://github.com/tweag/jupyenv/blob/main/template/flake.nix
Additional Context
After checking https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=pandas, the latest version of pandas is
v2.2.2
.Relevant log output
No response