Comments (19)
Should the packages that I had identified in #39 be marked as broken?
Yes, they probably should, but they aren't broken on OSX/Linux. I assume we have to go through Proper Channels to make that happen, as it seems a bit overpowered for the bot to do. Unfortunately burnt most of my discretionary FOSS time on getting these out, so we'll have to Keep Calm and Keep the Issue Open.
Py37 packages are up
https://anaconda.org/conda-forge/ipykernel/files?version=5.1.0
I tested a local env like this:
# environment.yml
name: winsmoke
channels:
- conda-forge
- nodefaults
dependencies:
- jupyterlab
- python=3.7
And everything looks correct on win/linux (don't have a mac):
- starting a kernel in lab
- using
nbconvert --execute
from ipykernel-feedstock.
I've been having these issues too. I guess I didn't test it thoroughly enough. I guess we should revert those commits?
from ipykernel-feedstock.
from ipykernel-feedstock.
@rs2 the comment in the file states that the post unlink script used to be included because conda didn't parse json files: https://github.com/conda-forge/ipykernel-feedstock/pull/33/files#diff-9281e96d80111563776ada67648cc668
apparently they upgraded their system and it should have worked.
from ipykernel-feedstock.
{
"argv": [
"C:/Users/mark/Miniconda3/envs/temp/bin/python",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "Python 3",
"language": "python"
}
I guess the slashes are wrong. I think we just need to remove the noarch right, but don't need the postlink script?
from ipykernel-feedstock.
@hmaarrfk You may find that there's no bin/
under C:/Users/mark/Miniconda3/envs/temp
.
So, two changes need to be made:
- drop
bin/
and - add
.exe
:
"C:/Users/mark/Miniconda3/envs/temp/python.exe"
from ipykernel-feedstock.
@hmaarrfk share/jupyter/kernels/python3/kernel.json
in https://anaconda.org/conda-forge/ipykernel/5.1.0/download/noarch/ipykernel-5.1.0-pyh24bf2e0_0.tar.bz2 contains "/opt/anaconda1anaconda2anaconda3/bin/python"
,
whereas https://anaconda.org/anaconda/ipykernel/5.1.0/download/win-64/ipykernel-5.1.0-py36h39e3cac_0.tar.bz2 has "C:\\ci\\ipykernel_1539879631431\\_h_env\\python.exe"
.
from ipykernel-feedstock.
interesting that there is no bin on windows. I guess I still had the old kernel spec when I was testing in my environment. Do you know how we would add a test to avoid this in the future?
from ipykernel-feedstock.
i guess there was already a test there, it just has to stay arch dependent for a while. :/
from ipykernel-feedstock.
After all, it maybe a conda
issue. Search for PrefixReplaceLinkAction
in conda/conda#7505.
from ipykernel-feedstock.
In either case, ipykernels is kinda broken and a huge bummer. We should find a workaround.
from ipykernel-feedstock.
mine has been to delete the python kernels folder on my machine. it seems to get regenerated automatically :/
from ipykernel-feedstock.
I think a (strong) rule of thumb should be that any conda recipe that makes use of prefixes should never be declared noarch
.
from ipykernel-feedstock.
Good point. Maybe I have to re-add https://github.com/conda-forge/ipykernel-feedstock/pull/33/files#diff-4549cc645c735cb12d844512ce880c2c
from ipykernel-feedstock.
Good catch, folks. Let's go back to arch dependent, but keep the removal of the post-link script.
from ipykernel-feedstock.
from ipykernel-feedstock.
#40 was merged, which gives us re-arched 3.6 packages on all the platforms. Awaiting a PR for #41, I guess leave this open until then?
from ipykernel-feedstock.
Should the packages that I had identified in #39 be marked as broken?
from ipykernel-feedstock.
I think this is resolved!
from ipykernel-feedstock.
Related Issues (20)
- Remove ABI migrations for 5.x? HOT 1
- Don't run coverage on pypy
- `osx osx_64_numpy1.21python3.10.____cpython` Azure pipelines failed HOT 4
- noarch: python: 2022 edition HOT 1
- [warning] failed package validation and/or copy for commit 05220bc9994e9979e677f6489f8837a134abaad4 HOT 12
- No __osx package generated for ipykernel 6.24 HOT 3
- @conda-forge-admin please update version HOT 1
- @conda-forge-admin please update version HOT 1
- Issue with ipykernel-4.8.2-py35_0 HOT 1
- @conda-forge-admin, please update circle HOT 1
- ipykernel 5.1.0-1 for py37 is not available yet HOT 2
- Proposal: drop explicit call to `ipykernel install` HOT 5
- aarch64 support through `noarch` is stuck at 5.1.0 HOT 12
- @conda-forge admin please rerender
- Patching conda-build for windows paths in kernelspec.json? HOT 4
- Remove broken ipykernel-4.10.0 package? HOT 2
- Investigate recent ppc64le build fails HOT 1
- Restore pypy builds for 6.x HOT 3
- the latest version requires `importlib-metadata <4`! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipykernel-feedstock.