Commit 238f0262 authored by Ivan Tyagov's avatar Ivan Tyagov

Disable security for pd.DataFrame until properly fixed and integrated.

Traceback:

2019-06-18 10:29:39,329 ERROR Application Couldn't install Wendelin
Traceback (most recent call last):
  File "/srv/slapgrid/slappart17/srv/runner/software/48eba2a3dea7ea09294d0e4a58407c09/eggs/Zope2-2.13.29-py2.7.egg/OFS/Application.py", line 660, in install_product
    global_dict, global_dict, silly)
  File "/srv/slapgrid/slappart17/srv/runner/software/48eba2a3dea7ea09294d0e4a58407c09/parts/wendelin/product/Wendelin/__init__.py", line 72, in <module>
    allow_type(pd.DataFrame)
  File "/srv/slapgrid/slappart17/srv/runner/software/48eba2a3dea7ea09294d0e4a58407c09/eggs/AccessControl-2.13.16-py2.7-linux-x86_64.egg/AccessControl/SimpleObjectPolicies.py", line 89, in allow_type
    raise ValueError, "%s handles its own security" % `Type`
ValueError: <class 'pandas.core.frame.DataFrame'> handles its own security
parent 4140eaed
...@@ -69,7 +69,8 @@ import pandas as pd ...@@ -69,7 +69,8 @@ import pandas as pd
allow_type(pd.Series) allow_type(pd.Series)
allow_type(pd.Timestamp) allow_type(pd.Timestamp)
allow_type(pd.DatetimeIndex) allow_type(pd.DatetimeIndex)
allow_type(pd.DataFrame) # XXX: pd.DataFRame has its own security thus disable until we can fully integrate it
#allow_type(pd.DataFrame)
allow_type(pd.core.groupby.DataFrameGroupBy) allow_type(pd.core.groupby.DataFrameGroupBy)
allow_class(pd.DataFrame) allow_class(pd.DataFrame)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment