Comments (13)
So what should be done in conda build for it? It seems like something that would just go in your recipe.
from conda-build.
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.
No, if it belongs on any tracker it's this one.
from conda-build.
Ah, the problem is with pip, not conda build. So I'm not sure if this is the right tracker.
from conda-build.
So I guess I should open an issue on pip now?
from conda-build.
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.
At any rate, we should probably add pyopenssl to the Anaconda repos. It seems it depends on libcrypto. @ilanschnell
from conda-build.
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.
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.
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.
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.
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:
-
Verify that you can still reproduce the issue in the latest version of
conda-build
-
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
- 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.
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)
- Release 24.3.x HOT 1
- Don't bother to produce repodata.json.bz2 when calling conda-index internally
- Update conda-build to remove libarchive-style zstd:compression-level compression tuple
- Stdlib: c_stdlib_version falsely determined as unset HOT 9
- conda constructor never exits when "No space left on device" HOT 1
- Conda-build tutorial needs to be updated HOT 1
- FileNotFoundError: [WinError 2]
- Recipe rendering very slow in certain cases HOT 3
- conda-build not yet compatible with LIEF 0.14 API changes
- windows build failure trying to rename directory held by different process HOT 1
- Conda index CLI reference page maybe should be updated to reference separate conda-index tool HOT 1
- Conda mis-resolved the python version requirement the excluded the specified one HOT 1
- Remove `sys.exit` calls HOT 2
- noarch generic doesn't work as expected when python in host in multi-output HOT 1
- `PackagesNotFound` not converted to `DependencyNeedsBuildingError` HOT 1
- `"safe_dump()" has been removed` error using `conda skeleton pypi pod5` HOT 4
- Long `conda info` error messages for common exceptions HOT 1
- Regression: CondaMemoryError when building HOT 7
- Conda build is stuck with some unrelated build aterfacts. Unable to purge them.
- Limit logging config to CLI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-build.