Git Product home page Git Product logo

Comments (13)

mmann1123 avatar mmann1123 commented on July 1, 2024 1

@jgrss Ok coming back to this since your push of 2.1.8 didn't resolve the issue.
Focusing on this error for now:

nothing provides freetype 2.5.* needed by graphviz-2.38.0-0

This is all very odd, it seems like graphviz maybe has multple wrappers for python. Oddly the equivalent of pip install graphviz is conda install python-graphviz. Maybe its to keep conda for install the java (or whatever version).

The thing that is warping my mind a bit is that mamba create -n test python=3.9 dask python-graphviz -c conda-forge installs graphviz 8.0.3, and pip install graphviz installs graphviz 0.20.1.

My assumption is that graphviz 8.0.3 in conda is equivalent to 0.20.1 in pip.

Since I need to focus on conda issues:

Its very odd the graphviz 2.38 is getting called here. Dask is currently using graphviz 8.03. I did notice that graphviz version updates aren't getting pushed to conda (or elsewhere??) https://anaconda.org/conda-forge/graphviz

The only easy solution I can think of here is to see if we can ensure dask installs the required graphviz components. For instance, is the following also installing the optional dependencies??

dask[array,dataframe]>=2023.1.0

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024 1

@jgrss I am trying to move everything over to conda-forge and thus need to become the maintainer of our build of sklearn-xarray, they are requesting that you add a comment to the following PR that you are OK with being a maintainer (I will do the work, but want you to have a say too).

conda-forge/staged-recipes#22655

from geowombat.

jgrss avatar jgrss commented on July 1, 2024

Where do you pin the conda Python requirement?

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024

it all seems to be pulled in from your module requirements (I think). The only thing that we needed to get together for conda-forge was this recipe

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024

Ok looks like something got pushed to conda-forge last night. Builds are now failing on linux, and osx. For example here

Looks like it can't find freetype 2.5.* needed by graphviz-2.38.0-0

Assuming we need to add graphviz to requirements, but I thought that came with dask.

from geowombat.

jgrss avatar jgrss commented on July 1, 2024

@mmann1123 I think graphviz does get installed via one of the other dependencies. The error looks to be coming from graphviz itself. See here.

graphviz-2.38.0-0 is conda's win-32 install. The Python graphviz is 0.20.1.

from geowombat.

jgrss avatar jgrss commented on July 1, 2024

@mmann1123 Couple of success comments: conda/conda#1851 (comment) and conda/conda#1851 (comment)

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024

This is a really old issue. Not sure why it would be breaking now. I will rerun the build tests, maybe graphviz broke something on their recipe? If not I'll open an issue with graphviz.

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024

Interestingly the graphviz error resolved for linux NOT osx, and we replaced with this

- package proj-9.1.1-h93bde94_0 requires libtiff >=4.4.0,<4.5.0a0, but none of the providers can be installed

OSX still has the graphviz error.

from geowombat.

jgrss avatar jgrss commented on July 1, 2024

Where do we specify the Python version range for the conda recipe? It's pinning the upper limit to v3.9.0a0. Not sure if that's related, though.

Also, as you probably saw, there's a conflict with proj and libtiff. However, it looks like the appropriate version of libtiff should be installed.

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024

I have been making some progress (started fresh)
conda-forge/geowombat-feedstock#89

Plus adding all the unit tests i can for the moment.

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024

@jgrss One issue that has come up is the use of with tempfile.TemporaryDirectory() for the windows builds for conda. Seems like it might not be compatable on windows. This come up with at least test_write and test_nodata. See error here: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=693951&view=logs&j=a70f640f-cc53-5cd3-6cdc-236a1aa90802&t=f5d15007-a01c-5ad8-c9ce-4d519d3b275f&l=1119

But its some kind of permission error

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\VSSADM~1\\AppData\\Local\\Temp\\tmparp76n5r\\test.tif'

..\_test_env\lib\shutil.py:616: PermissionError

from geowombat.

mmann1123 avatar mmann1123 commented on July 1, 2024

This issue is resolved.

from geowombat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.