conda-forge / freetype-feedstock

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

freetype v2.11.0 #41

Closed regro-cf-autotick-bot closed 2 years ago

regro-cf-autotick-bot commented 3 years ago

It is very likely that the current package version for this feedstock is out of date. Notes for merging this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version. Checklist before merging this PR:
    • [ ] Dependencies have been updated if changed: see upstream
    • [ ] Tests have passed
    • [ ] Updated license if changed and license_file is packaged

Note that the bot will stop issuing PRs if more than 3 Version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.

NEW: If you want these PRs to be merged automatically, make an issue with code>@conda-forge-admin,</codeplease add bot automerge in the title and merge the resulting PR. This command will add our new bot automerge feature to your feedstock!

If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. If you would like a local version of this bot, you might consider using rever. Rever is a tool for automating software releases and forms the backbone of the bot's conda-forge PRing capability. Rever is both conda (conda install -c conda-forge rever) and pip (pip install re-ver) installable. Finally, feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/autotick-bot/actions/runs/1046469180, please use this URL for debugging

Dependency Analysis

We couldn't run dependency analysis due to an internal error in the bot. :( Help is very welcome!

conda-forge-linter commented 3 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.

ericpre commented 2 years ago

In case this is relevant, freetype 2.11.0 from the anaconda channel crashes matplotlib - see https://github.com/matplotlib/matplotlib/issues/21511.

dopplershift commented 2 years ago

@conda-forge-admin please rerender.

dopplershift commented 2 years ago

@ocefpaf What do we think here? Is there some way to download the Windows package that was built?

Based on abi-laboratory it doesn't seem like any symbol changes.

chenghlee commented 2 years ago

FYI: Anaconda is [soft] yanking the Windows freetype 2.11.0 packages on defaults until we've figured out exactly what's going on. We've confirmed the matplotlib compatibility issue is Windows-specific; we decided to yank because we don't know if the root cause also impacts other freetype-dependents on Windows. (PR: AnacondaRecipes/repodata-hotfixes#150)

ocefpaf commented 2 years ago

@ocefpaf What do we think here? Is there some way to download the Windows package that was built?

You mean the one built here? I don't know. But I can build and upload to another channel if you want to test it.

dopplershift commented 2 years ago

@ocefpaf If you have a way to get a build, I'll give it a spin and see if:

  1. I can reproduce the original crash on a windows VM
  2. Does a conda-forge build also crash
ocefpaf commented 2 years ago

I was able to reproduce it. mpl just crashes as reported in https://github.com/matplotlib/matplotlib/issues/21511 We should probably hold the merge until we figure this out. Here is the env I used to test it:

# Name                    Version                   Build  Channel
ca-certificates           2021.10.8            h5b45459_0    conda-forge
certifi                   2021.10.8        py39hcbf5309_1    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
freetype                  2.11.0               h546665d_0    local
icu                       68.2                 h0e60522_0    conda-forge
intel-openmp              2021.4.0          h57928b3_3556    conda-forge
jbig                      2.1               h8d14728_2003    conda-forge
jpeg                      9d                   h8ffe710_0    conda-forge
kiwisolver                1.3.2            py39h2e07f2f_1    conda-forge
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      3.0                  h0e60522_0    conda-forge
libblas                   3.9.0              12_win64_mkl    conda-forge
libcblas                  3.9.0              12_win64_mkl    conda-forge
libclang                  11.1.0          default_h5c34c98_1    conda-forge
libdeflate                1.8                  h8ffe710_0    conda-forge
liblapack                 3.9.0              12_win64_mkl    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libtiff                   4.3.0                hd413186_2    conda-forge
libzlib                   1.2.11            h8ffe710_1013    conda-forge
lz4-c                     1.9.3                h8ffe710_1    conda-forge
matplotlib                3.4.3            py39hcbf5309_1    conda-forge
matplotlib-base           3.4.3            py39h581301d_1    conda-forge
mkl                       2021.4.0           h0e2418a_729    conda-forge
numpy                     1.21.4           py39h6635163_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openjpeg                  2.4.0                hb211442_1    conda-forge
openssl                   1.1.1l               h8ffe710_0    conda-forge
pillow                    8.4.0            py39h916092e_0    conda-forge
pyparsing                 3.0.5              pyhd8ed1ab_0    conda-forge
pyqt                      5.12.3           py39hcbf5309_7    conda-forge
pyqt-impl                 5.12.3           py39h415ef7b_7    conda-forge
pyqt5-sip                 4.19.18          py39h415ef7b_7    conda-forge
pyqtchart                 5.12             py39h415ef7b_7    conda-forge
pyqtwebengine             5.12.1           py39h415ef7b_7    conda-forge
python                    3.9.7           h7840368_3_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.9                      2_cp39    conda-forge
qt                        5.12.9               h5909a2a_4    conda-forge
setuptools                58.5.3           py39hcbf5309_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
sqlite                    3.36.0               h8ffe710_2    conda-forge
tbb                       2021.4.0             h2d74725_1    conda-forge
tk                        8.6.11               h8ffe710_1    conda-forge
tornado                   6.1              py39hb82d6ee_2    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
vc                        14.2                 hb210afc_5    conda-forge
vs2015_runtime            14.29.30037          h902a5da_5    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
zlib                      1.2.11            h8ffe710_1013    conda-forge
zstd                      1.5.0                h6255e5f_0    conda-forge
AndresGuzman-Ballen commented 2 years ago

Hmm...I've been able to successfully create a Windows conda package for freetype v2.11.0 using https://github.com/AnacondaRecipes/freetype-feedstock as-is, and am able to successfully run matplotlib commands in a virtual environment that has this freetype version installed. @ocefpaf you're saying that if you run these commands below, you're still seeing the problem?

1. git clone https://github.com/AnacondaRecipes/freetype-feedstock
2. conda-build freetype-feedstock/recipe -c main --override-channels
3. conda create -n freetype_debug_2.11 -c main python=3.8 matplotlib --override-channels
4. conda install freetype=2.11.0 -c C:\Users\yourusername\Miniconda3\conda-bld --override-channels
5. python -c "import matplotlib.pyplot as plt; plt.plot([0, 1]); plt.savefig('test.png'); print('Done!)"

From what I've gathered, I have the impression that the freetype 2.11.0 packages that were uploaded to Anaconda channel were corrupted in some way, but conda-forge didn't have a chance to upload its 2.11.0 packages after hearing that Anaconda's packages had issues. What'd be interesting is to have conda-forge build and upload 2.11.0 packages to the conda-forge channel and from there, we can see whether the issue is from freetype itself or whether it actually had to do with Anaconda's package-building infrastructure (or perhaps it was intermittent and Anaconda won't encounter this issue if they try to build the package again).

By the way, here's my conda list output:

(freetype_debug_2.11) C:\Users\aguzmanb\Development>conda list
# packages in environment at C:\Users\aguzmanb\Development\Miniconda3\envs\freetype_debug_2.11:
#
# Name                    Version                   Build  Channel
blas                      1.0                         mkl    main
brotli                    1.0.9                ha925a31_2    main
ca-certificates           2022.4.26            haa95532_0    main
certifi                   2022.5.18.1      py38haa95532_0    main
cycler                    0.11.0             pyhd3eb1b0_0    main
fonttools                 4.25.0             pyhd3eb1b0_0    main
freetype                  2.11.0               hf4a77e7_0    local
icu                       58.2                 ha925a31_3    main
intel-openmp              2021.4.0          haa95532_3556    main
jpeg                      9e                   h2bbff1b_0    main
kiwisolver                1.3.2            py38hd77b12b_0    main
libpng                    1.6.37               h2a8f88b_0    main
libtiff                   4.2.0                he0120a3_1    main
libwebp                   1.2.2                h2bbff1b_0    main
lz4-c                     1.9.3                h2bbff1b_1    main
matplotlib                3.5.1            py38haa95532_1    main
matplotlib-base           3.5.1            py38hd77b12b_1    main
mkl                       2021.4.0           haa95532_640    main
mkl-service               2.4.0            py38h2bbff1b_0    main
mkl_fft                   1.3.1            py38h277e83a_0    main
mkl_random                1.2.2            py38hf11a4ad_0    main
munkres                   1.1.4                      py_0    main
numpy                     1.22.3           py38h7a0a035_0    main
numpy-base                1.22.3           py38hca35cd5_0    main
openssl                   1.1.1o               h2bbff1b_0    main
packaging                 21.3               pyhd3eb1b0_0    main
pillow                    9.0.1            py38hdc2b20a_0    main
pip                       21.2.2           py38haa95532_0    main
pyparsing                 3.0.4              pyhd3eb1b0_0    main
pyqt                      5.9.2            py38hd77b12b_6    main
python                    3.8.13               h6244533_0    main
python-dateutil           2.8.2              pyhd3eb1b0_0    main
qt                        5.9.7            vc14h73c81de_0    main
setuptools                61.2.0           py38haa95532_0    main
sip                       4.19.13          py38hd77b12b_0    main
six                       1.16.0             pyhd3eb1b0_1    main
sqlite                    3.38.3               h2bbff1b_0    main
tk                        8.6.11               h2bbff1b_1    main
tornado                   6.1              py38h2bbff1b_0    main
vc                        14.2                 h21ff451_1    main
vs2015_runtime            14.27.29016          h5e58377_2    main
wheel                     0.37.1             pyhd3eb1b0_0    main
wincertstore              0.2              py38haa95532_2    main
xz                        5.2.5                h8cc25b3_1    main
zlib                      1.2.12               h8cc25b3_2    main
zstd                      1.5.2                h19a0ad4_0    main
ocefpaf commented 2 years ago

@AndresGuzman-Ballen I'll check again, maybe it is the interaction with some of our dependencies, not sure. I do know that defaults was going to remove it based on https://github.com/conda-forge/freetype-feedstock/pull/41#issuecomment-962086097 but the package seems to be there. Maybe there is a patch to fix the problem or they fixed it in matplotlib. If so we would need to pin freetype.

regro-cf-autotick-bot commented 2 years ago

Due to the bot-rerun label I'm closing this PR. I will make another one as appropriate. This was generated by https://github.com/regro/autotick-bot/actions/runs/2827531936