Giter Club home page Giter Club logo

Comments (13)

asmeurer avatar asmeurer commented on May 31, 2024

So what should be done in conda build for it? It seems like something that would just go in your recipe.

from conda-build.

davclark avatar davclark commented on May 31, 2024

I updated the title to make the problem clearer. I think perhaps GDAL may have been a bit of a red herring - a solution came from a discussion about GDAL, but GDAL is not actually relevant to the core issue.

From pip in Anaconda, pyopenssl doesn't build because it can't find the relevant libraries when building in anaconda. If you provide include and library dirs explicitly to pip, it will build. End users should not have to specify include and library dirs -- pip should include them by default.

I don't know if this is a conda-build problem - I don't know the internals of conda. I was just doing what @ilanschnell told me to do on the initial issue I cited. If this does belong on the conda issue tracker, let me know and I'll re-open there.

from conda-build.

asmeurer avatar asmeurer commented on May 31, 2024

No, if it belongs on any tracker it's this one.

from conda-build.

asmeurer avatar asmeurer commented on May 31, 2024

Ah, the problem is with pip, not conda build. So I'm not sure if this is the right tracker.

from conda-build.

davclark avatar davclark commented on May 31, 2024

So I guess I should open an issue on pip now?

from conda-build.

asmeurer avatar asmeurer commented on May 31, 2024

I don't know where the issue is. It's either with pip, the pyopenssl package, or with our build of Python.

from conda-build.

asmeurer avatar asmeurer commented on May 31, 2024

At any rate, we should probably add pyopenssl to the Anaconda repos. It seems it depends on libcrypto. @ilanschnell

from conda-build.

davclark avatar davclark commented on May 31, 2024

OK - it's been 24 days, so should I check with the pip guys? Honestly, this is a bit outside my expertise.

from conda-build.

davclark avatar davclark commented on May 31, 2024

Some good discussion on the above issue on the pip issue tracker. I hope someone from here that understand setuptools / distutils better than I has a look!

from conda-build.

davclark avatar davclark commented on May 31, 2024

Maybe this was "fixed" in this issue (and the problem may have been with cryptography)?

However, pip install pyopenssl or python setup.py install is still broke for pyopenssl (perhaps more specifically cryptography) on OS X, conda 3.4.2, setuptools 3.4.4, pip 1.5.4, python 2.7.6_1. So, this is still a lurking problem for naive users.

So, to support naive users, either setting DYLD_LIBRARY_PATH needs to be part of the conda approach OR there needs to be a conda-aware patched version of distutils.

cc: @gvwilson, @jiffyclub

from conda-build.

jiffyclub avatar jiffyclub commented on May 31, 2024

This is likely the same problem @gvwilson and I ran into trying to install cryptography. Links to those issues: pyca/cryptography#693 and conda/conda-recipes#110.

See especially this comment on pyca/cryptography#693: pyca/cryptography#693 (comment)

from conda-build.

github-actions avatar github-actions commented on May 31, 2024

Hi there, thank you for your contribution to conda-build!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue in the latest version of conda-build

  2. Comment that the issue is still reproducible and include:

  • What version of conda-build you reproduced the issue on
  • What OS and version you reproduced the issue on
  • What steps you followed to reproduce the issue
  1. It would also be helpful to have the output of the following commands available:
  • conda info
  • conda config --show-sources
  • conda list --show-channel-urls

NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue.

In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again.

Thanks!

from conda-build.

github-actions avatar github-actions commented on May 31, 2024

Hi again!

This issue has been closed since it has not had recent activity.
Please don't hesitate to leave a comment if that was done prematurely.

Thank you for your contribution.

from conda-build.

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.