kbase / kb_sdk

Build and test new apps for the KBase platform
http://kbase.github.io/kb_sdk_docs
MIT License
27 stars 32 forks source link

SCT-475 fix python build, tests, etc. #292

Closed MrCreosote closed 6 years ago

MrCreosote commented 6 years ago

A brand new python user's build currently fails- there's an incompatibility between sdkbase and the generated Dockerfile.

Current users will likely not see this problem as sdkbase and their module are built already.

$ kb-sdk init -u gaprice -e -l R Foo
************************************************************************
WARNING: R support is deprecated and will be removed in a future release
************************************************************************
Done! Your module is available in the Foo directory.
Compile and run the example methods with the following inputs:
  cd Foo
  make          (required after making changes to Foo.spec)
  kb-sdk test   (will require setting test user account credentials in
test_local/test.cfg)

$ cd Foo
$ make
kb-sdk compile Foo.spec \
        --out lib \
        --plclname Foo::FooClient \
        --jsclname javascript/Client \
        --pyclname Foo.FooClient \
        --rclname Foo/FooClient \
        --javasrc src \
        --java \
        --rsrvname Foo/FooServer \
        --rimplname Foo/FooImpl;
KBase SDK version 1.0.18 (commit 389297a)
************************************************************************
WARNING: R support is deprecated and will be removed in a future release
************************************************************************

$ gedit test_local/test.cfg 
$ kb-sdk test
************************************************************************
WARNING: R support is deprecated and will be removed in a future release
************************************************************************

Validating module in (/home/crusherofheads/temp/Foo)
MrCreosote commented 6 years ago

Note that we'll need to update sdkbase in the various environments