Comments (12)
FYI those are bots.
from mosfit-feedstock.
cc @conda-forge/core
from mosfit-feedstock.
I have noticed something similar on some of my feedstocks and it is related to ssl/tls trying and failing to verify certificates. I got around this by setting my downloads to be not verify, even though they are using https
from mosfit-feedstock.
I also had this on the OpenCV builds I just did - ended up switching to requests and installing certifi which fixed things.
from mosfit-feedstock.
Might be related to issue ( conda/conda-build#2255 ). Think this could be caused by PR ( conda/conda-build#2142 ), which was backported to conda-build
2.1 in commit ( conda/conda-build@1ea6287 ). Could try unsetting REQUESTS_CA_BUNDLE
and SSL_CERT_FILE
in the build to fix it. If that works, we might want to patch conda-build
.
from mosfit-feedstock.
Local Docker testing indicates that the tests do indeed start passing if those variables are unset in the forge_test.sh
script.
from mosfit-feedstock.
For reference, here's the stack trace from the bit of code that surfaces the problem in this particular case:
Traceback (most recent call last):
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/site-packages/mosfit/__main__.py", line 5, in <module>
main.main()
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/site-packages/mosfit/main.py", line 847, in main
Fitter(**fitargs).fit_events(**fitargs)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/site-packages/mosfit/fitter.py", line 268, in fit_events
event_list, offline=self._offline)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/site-packages/mosfit/fetcher.py", line 96, in fetch
timeout=10)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/site-packages/mosfit/utils.py", line 32, in get_url_file_handle
return urlopen(url, timeout=timeout)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/feedstock_root/build_artefacts/mosfit_1512409210715/_t_env/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>
from mosfit-feedstock.
Thanks for taking a closer look, @pkgw. Then I think the next course of action is to figure out how to patch conda-build
to fix this issue.
from mosfit-feedstock.
@pkgw's commit (guillochon@7a3a9ca) fixed the issue in the feedstock, so this does appear to be the problem.
from mosfit-feedstock.
Another thing that would be good to check is what these variables are set to before we unset them.
from mosfit-feedstock.
@jakirkham I checked. They were empty.
from mosfit-feedstock.
Thanks for checking. Have noted what you found upstream. Expect this should be a rather simple patch to conda-build
.
from mosfit-feedstock.
Related Issues (2)
- Team update (hopefully) HOT 2
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 mosfit-feedstock.