You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
re-enable building conda package artifacts on appveyor / fix conda recipe #6460
The only difference is that we updated libpng. Not sure if there is any actual difference in the build that caused the different naming. I will investigate this more and, if that is something we can avoid, we will!
Pinging @gillins who might help shed some light in the issue.
c:\data\external\jupyter\jupyter_environment_kernels (conda_windows)
[cf_png] λ conda create -n cf_png2 libpng=1.6.21 -c conda-forge
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ..................
Solving package specifications: ....
The following specifications were found to be in conflict:
- libpng 1.6.21*
Use "conda info <package>" to see the dependencies for each package.
I compare the vc14 versions of the default channel (.17) and the conda-forge channel (.21):
The most interesting thing seems to be that the defaults versions contains an extra file called \Library\lib\png.lib which the conda-forge version does not contain. Both have the \Library\lib\libpng.lib.
It seems that the original recipe simply copies the file:
Activity
tacaswell commentedon May 22, 2016
@pelson
jankatins commentedon May 22, 2016
It seems that due to the way that conda-forge now has a libpng and this lib is differently named, we need a patch: conda-forge/matplotlib-feedstock@410106a#diff-ead893c9f392df956860bfe6a5dae3a8R6
The test run probably work because of https://github.com/matplotlib/matplotlib/blob/master/appveyor.yml#L80 which put the static version into a special dir and renames it.
I'm not sure how to proceed: I find it very unfortunate that the conda-forge and default libpng seem to differ.
@ocefpaf do you have any idea why that is so?
ocefpaf commentedon May 22, 2016
The only difference is that we updated
libpng. Not sure if there is any actual difference in the build that caused the different naming. I will investigate this more and, if that is something we can avoid, we will!Pinging @gillins who might help shed some light in the issue.
jankatins commentedon May 22, 2016
I can't even install that lib?
I compare the vc14 versions of the default channel (.17) and the conda-forge channel (.21):
https://anaconda.org/anaconda/libpng/1.6.17/download/win-64/libpng-1.6.17-vc14_1.tar.bz2
https://anaconda.org/conda-forge/libpng/1.6.21/download/win-64/libpng-1.6.21-vc14_1.tar.bz2
The most interesting thing seems to be that the defaults versions contains an extra file called
\Library\lib\png.libwhich the conda-forge version does not contain. Both have the\Library\lib\libpng.lib.It seems that the original recipe simply copies the file:
@ocefpaf: do you think it would be possible to simply do the same?
jankatins commentedon May 22, 2016
zlib seems to already do the same: https://github.com/conda-forge/zlib-feedstock/blob/master/recipe/bld.bat#L22
jankatins commentedon May 22, 2016
@ocefpaf:will send a PR against libpng-feedstock...
Add a png.lib file on windows
jankatins commentedon May 22, 2016
PR is in conda-forge/libpng-feedstock#4
tacaswell commentedon Dec 24, 2020
This has been fully superseded by conda-forge, closing.