Fixed my local tox issues. Definitely not related to this. jon
On Wed, Oct 28, 2020, 12:49 AM Jon Malkin <[email protected]> wrote: > Python 3.9 doesn't yet seem to be properly supported by a number of > packages. I had to force our CI pipeline to use 3.8, and then it worked > fine -- except that my local tox seems to be hanging when installing > dependencies. > > jon > > On Tue, Oct 27, 2020 at 10:08 PM Qingjun Xiao <[email protected]> wrote: > >> Hi, all: >> >> I cloned the latest version of incubator-datasketches-cpp, and built it >> on Python3.9 and Pip3.9. When I executed the tox test suite about its >> python binding, I encountered the error attached at the end. >> >> ``` >> >> cd ~/github/incubator-datasketches-cpp >> git submodule update --init --recursive >> >> sudo python3.9 setup.py build # install binding for python 3.9 >> >> sudo rm -r .tox # remove old tox stuffs >> >> # python Unit tests >> sudo tox >> >> ``` >> >> I also tried Python3.8 and Pip3.8. The following error still exits. >> Thanks if anyone can instruct how to fix the problem. >> >> Qingjun Xiao >> >> ____________________________________ ERROR collecting >> python/tests/vo_test.py _____________________________________ >> ImportError while importing test module >> '/home/seu/github/incubator-datasketches-cpp/python/tests/vo_test.py'. >> Hint: make sure your test modules/packages have valid Python names. >> Traceback: >> /usr/local/lib/python3.9/importlib/__init__.py:127: in import_module >> return _bootstrap._gcd_import(name[level:], package, level) >> vo_test.py:19: in <module> >> from datasketches import var_opt_sketch, var_opt_union >> E ImportError: >> >> /home/seu/github/incubator-datasketches-cpp/.tox/py3/lib/python3.9/site-packages/ >> datasketches.cpython-39-x86_64-linux-gnu.so: >> undefined symbol: >> _ZN12datasketches25update_theta_sketch_allocISaIvEE7builder12DEFAULT_LG_KE >> ============================================= short test summary info >> ============================================= >> ERROR cpc_test.py >> ERROR fi_test.py >> ERROR hll_test.py >> ERROR kll_test.py >> ERROR theta_test.py >> ERROR vector_of_kll_test.py >> ERROR vo_test.py >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during >> collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >> ================================================ 7 errors in 0.09s >> ================================================ >> ERROR: InvocationError for command >> /home/seu/github/incubator-datasketches-cpp/.tox/py3/bin/pytest (exited >> with code 2) >> _____________________________________________________ summary >> _____________________________________________________ >> ERROR: py3: commands failed >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >>
