conda-forge / dotnet-interactive-feedstock

A conda-smithy repository for dotnet-interactive.
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Update to version 1.0.317301 #8

Closed dhirschfeld closed 1 year ago

dhirschfeld commented 2 years ago

Checklist

conda-forge-linter commented 2 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

dhirschfeld commented 2 years ago

@conda-forge-admin, please rerender

dhirschfeld commented 2 years ago

Looks like the build has changed:

+ export DisableArcade=1
+ DisableArcade=1
+ export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
+ DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
+ dotnet run --project /home/conda/feedstock_root/build_artifacts/dotnet-interactive_1653735242630/work/src/interface-generator --out-file /home/conda/feedstock_root/build_artifacts/dotnet-interactive_1653735242630/work/src/dotnet-interactive-vscode/common/interfaces/contracts.ts

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.202

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
File does not exist: '/home/conda/feedstock_root/build_artifacts/dotnet-interactive_1653735242630/work/src/dotnet-interactive-vscode/common/interfaces/contracts.ts'.

Description:

Usage:
  Microsoft.DotNet.Interactive.InterfaceGen.App [options]

Options:
  --out-file <out-file> (REQUIRED)  Location to write the generated interface file
  --version                         Show version information
  -?, -h, --help                    Show help and usage information
acesnik commented 1 year ago

I got this to work recently on my machine (macos) with

dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.410202
dotnet interactive jupyter install

Does this install the kernels in the wrong place?

dhirschfeld commented 1 year ago

Does this install the kernels in the wrong place?

Sorry, I should have closed this old PR. I fixed the build and updated to the latest in #10

dhirschfeld commented 1 year ago

This should work fine with something like:

mamba install python jupyterlab dotnet dotnet-interactive

The kernels are installed into the usual share/jupyter/kernels location: https://github.com/conda-forge/dotnet-interactive-feedstock/blob/83e2c2dfa8b9714f329ce15493fb4739544582be/recipe/build.sh#L28

At least for me, it seems to work well and the kernels are automatically picked up. If you have issues let me know and I can look into it...

dhirschfeld commented 1 year ago
❯ jupyter lab --ip='0.0.0.0' --ServerApp.token= --ServerApp.password=


image