-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[WIP] Use conda-forge packages when creating environment #7946
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
Conversation
|
I believe we need to create a |
|
The fact that conda and pip packages for PyQt5 are named differently has caused me so much headache. I have no idea why conda insists on naming it |
Yeah I know. But there are workarounds. Also I was thinking about just creating a meta package named |
|
Which workaround works with |
|
Regarding |
No idea, I never use
I don't think this works in a |
Yes, seems like this is not that easy because it uses a pip requirements file in the background, which also doesn't support adding flags: conda/conda#6805 |
I've started working on a recipe: |
|
I believe the problems with doc building and on Windows will be resolved by #7943 |
| - pysurfer | ||
| - pip: | ||
| - mne | ||
| - https://github.com/numpy/numpydoc/archive/master.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason to still use numpydoc master now that they have a 1.0 release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea. @larsoner?
dca2f71 to
428caad
Compare
|
Rebased on |
|
Apparently |
Yes, the build didn't succeed: |
cb1f0ff to
6c91fc1
Compare
|
Until conda-forge/mayavi-feedstock#43 has been merged, |
This reverts commit 36f5c8b.
413b105 to
d698551
Compare
it is now :) |
|
May I suggest to use (at least) this patch to enable GL rendering in the azure job? Patchdiff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 02fc0c718..bd01c0a30 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -277,8 +277,15 @@ jobs:
pool:
vmImage: 'ubuntu-18.04'
variables:
+ DISPLAY: ':99'
CONDA_ENV: 'environment_conda-forge.yml'
steps:
+ - bash: |
+ sudo apt install libxkbcommon-x11-0 xvfb tcsh libxcb*
+ displayName: 'Install Ubuntu dependencies'
+ - bash: |
+ /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;
+ displayName: 'Spin up Xvfb'
- bash: |
set -e
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -O miniforge.sh --progress=dot:mega |
|
|
This reverts commit 4a03472.
|
Thanks @GuillaumeFavelier! Let's see… |
|
Do we still need/want this now that #7971 is the plan going forward? |
I think there's still an open question about whether to offer an advanced install option for devs/contributors that has its own environment file. Potentially that recipe could include the work here. |

Use
conda-forgechannel, which has up-to-date versions of most of our dependencies, so we won't need to install them viapip. This should reduce the risk of ending up with an inconsistent environment, esp. if users install packages after initial environment creation.x-ref #7945
cc @cbrnr