[
https://issues.apache.org/jira/browse/CLIMATE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530799#comment-16530799
]
ASF GitHub Bot commented on CLIMATE-958:
----------------------------------------
Github user prateekiiest commented on a diff in the pull request:
https://github.com/apache/climate/pull/516#discussion_r199679510
--- Diff: ocw/tests/test_dap.py ---
@@ -17,11 +17,14 @@
import unittest
import datetime as dt
-import ocw.data_source.dap as dap
+try:
+ import ocw.data_source.dap as dap
+except ImportError:
--- End diff --
looks good @lewismc 🎆
This will probably solve the problem
> Disable Pydap for Python 2 build, activate for Python 3 build
> -------------------------------------------------------------
>
> Key: CLIMATE-958
> URL: https://issues.apache.org/jira/browse/CLIMATE-958
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Components: build process, data sources
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Blocker
> Fix For: 1.4.0
>
>
> We have various build failures recently due to a change in the upstream Pydap
> artifact dropping support for Python 2 and ony supporting Python 3.
> I'll submit a patch to address this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)