You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/08/05 23:27:42 UTC

[GitHub] [incubator-mxnet] DickJC123 opened a new issue #18866: test_numpy_op.py::test_np_empty_like fails with numpy 1.16.x

DickJC123 opened a new issue #18866:
URL: https://github.com/apache/incubator-mxnet/issues/18866


   ## Description
   On a ubuntu system with MXNet v1.7.x, I see:
   ```
   # pip install numpy==1.17.0
   #  pytest --verbose -s tests/python/unittest/test_numpy_op.py::test_np_empty_like
   < passes >
   # pip install numpy==1.16.6
   # pytest --verbose -s tests/python/unittest/test_numpy_op.py::test_np_empty_like
   ...
   ========================================= short test summary info =========================================
   FAILED tests/python/unittest/test_numpy_op.py::test_np_empty_like - assert (0, 1) == (0,)
   ====================================== 1 failed, 1 warning in 4.93s =======================================
   ```
   numpy v1.16.x meets the specs found in ./ci/docker/install/requirements.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] DickJC123 commented on issue #18866: test_numpy_op.py::test_np_empty_like fails with numpy 1.16.x

Posted by GitBox <gi...@apache.org>.
DickJC123 commented on issue #18866:
URL: https://github.com/apache/incubator-mxnet/issues/18866#issuecomment-669598512


   @Alicia1529, maybe you'd like to take a look at this, having introduced this test, thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] DickJC123 commented on issue #18866: test_numpy_op.py::test_np_empty_like fails with numpy 1.16.x

Posted by GitBox <gi...@apache.org>.
DickJC123 commented on issue #18866:
URL: https://github.com/apache/incubator-mxnet/issues/18866#issuecomment-670996749


   tests/python/unittest/test_numpy_op.py:test_np_random_beta also fails on numpy v1.16.x.  numpy.random.beta(...,size=()) is not supported.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] DickJC123 commented on issue #18866: test_numpy_op.py::test_np_empty_like fails with numpy 1.16.x

Posted by GitBox <gi...@apache.org>.
DickJC123 commented on issue #18866:
URL: https://github.com/apache/incubator-mxnet/issues/18866#issuecomment-670307114


   @reminisce, or whoever looks into this, could you also correct the fact that under numpy v1.16.x, test_numpy_interoperability.py:test_np_fallback_ops fails without NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1 in the environment before the test is run.  The test should be skipped if the numpy version < 1.17 and the variable setting is missing.  


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org