[py][wrappers] Allow setting attribute of sample

Set the sample attribute to change instead of 'data' in SampleWrapper.
Set the attribute of sample to save and load in CheckpointWrapper.
4 jobs for add-annotations-to-wrappers in 3 minutes and 15 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
failed build_linux_36 #215641
docker

00:01:38

failed build_linux_37 #215642
docker

00:01:40

failed build_macosx_36 #215639
macosx

00:03:15

failed build_macosx_37 #215640
macosx

00:03:13

 
Name Stage Failure
failed
build_linux_37 Build
  File "/scratch/builds/bob/bob.pipelines/miniconda/lib/python3.7/site-packages/conda_build/environ.py", line 804, in get_install_actions
raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {"python[version='>=3.5']", "python[version='>=3.6']", "dask[version='>=1.0.0']", '_libgcc_mutex=[build=main]', 'tzdata', "distributed[version='>=2.5.2']", "scikit-learn[version='>=0.23.0']", "six[version='>=1.5.2']", "distributed[version='>=2.30.0']", "numpy[version='>=1.11.3,<2.0a0|>=1.14.6,<2.0a0']", "numpy[version='>=1.13.3,<2.0a0|>=1.14.6,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0']", "distributed[version='>=1.25.0']", "python[version='>=3|>=3.5|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", 'dask', "numpy[version='>=1.17']", "python[version='>=3.5|>=3.6']", "numpy[version='>=1.14.6,<2.0a0']", "python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|3.4.*']", "click[version='>=6.6']", "certifi[version='>=2016.09|>=2016.9.26']", "click[version='>=3.0']", 'numpy=1.11', "hdf5[version='1.8.17|1.8.17.*|>=1.10.1,<1.10.2.0a0|>=1.10.2,<1.10.3.0a0']", "distributed[version='>=1.25.3|>=1.26.0|>=1.26.1|>=1.27.0|>=1.28.0|>=2|>=2.10.0|>=2.11.0|>=2.12.0|>=2.13.0|>=2.14.0|>=2.15.0|>=2.16.0|>=2.17.0|>=2.18.0|>=2.19.0|>=2.20.0|>=2.22.0|>=2.23.0|>=2.24.0|>=2.25.0|>=2.26.0|>=2.27.0|>=2.29.0|>=2.30.0|>=2.9.2|>=2.9.1|>=2.9.0|>=2.8.1|>=2.8.0|>=2.7.0|>=2.6.0|>=2.5.2|>=2.5.0|>=2.4.0|>=2.3.0|>=2.2.0']", "scikit-learn[version='>=0.18']", "numpy[version='>=1.11.3,<2.0a0|>=1.11.3|>=1.7.1|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.14.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.9.3,<2.0a0']", "click[version='>=7.0,<8.0a0|>=7.1.1,<8.0a0']", "python-dateutil[version='>=2.1|>=2.7.3|>=2.6.1|>=2.5.*']", "numpy[version='>=1.13.0']", 'six', "bob.extension[version='>=2.5.0,<3.0a0|>=3.1.0,<4.0a0|>=3.1.1,<4.0a0|>=3.1.2,<4.0a0|>=3.2.0,<4.0a0|>=4.0.0,<5.0a0|>=5.0.0,<6.0a0|>=5.0.1,<6.0a0|>=5.0.2b.0,<6.0a0']", 'ca-certificates', "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0']", "python[version='>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']", "python[version='>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0']", "hdf5[version='>=1.10.4,<1.10.5.0a0|>=1.10.6,<1.10.7.0a0']", "certifi[version='>=2016.9.26']", "numpy[version='1.13.*|>=1.11,<1.12.0a0|>=1.11.0|>=1.13.0|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.9.3,<2.0a0|>=1.14,<1.15.0a0|>=1.13,<1.14.0a0|>=1.12,<1.13.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.15.1,<2.0a0']", "setuptools[version='>=41.2']", "python[version='>=3']", "python[version='>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", 'setuptools', "numpy[version='1.12.*|1.13.*|>=1.14.5,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.9.3,<2.0a0']", 'python', "python-dateutil[version='>=2.6.1|>=2.7.3']", "python[version='3.6.*|>=3.5|>=3.6|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "numpy[version='>=1.11.3,<2.0a0|>=1.15.1,<2.0a0|>=1.9.3,<2.0a0']", 'numpy', "python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "python-dateutil[version='>=2.5.*|>=2.6.1|>=2.7.3']", "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']"}
Uploading artifacts for failed job
Uploading artifacts...
WARNING: coverage.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build_linux_36 Build
  File "/scratch/builds/bob/bob.pipelines/miniconda/lib/python3.7/site-packages/conda_build/environ.py", line 804, in get_install_actions
raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {"python[version='>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']", '_libgcc_mutex=[build=main]', "dask[version='>=1.0.0']", "numpy[version='>=1.11.3,<2.0a0|>=1.11.3|>=1.7.1|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.14.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.9.3,<2.0a0']", "distributed[version='>=1.25.3|>=1.26.0|>=1.26.1|>=1.27.0|>=1.28.0|>=2|>=2.10.0|>=2.11.0|>=2.12.0|>=2.13.0|>=2.14.0|>=2.15.0|>=2.16.0|>=2.17.0|>=2.18.0|>=2.19.0|>=2.20.0|>=2.22.0|>=2.23.0|>=2.24.0|>=2.25.0|>=2.26.0|>=2.27.0|>=2.29.0|>=2.30.0|>=2.9.2|>=2.9.1|>=2.9.0|>=2.8.1|>=2.8.0|>=2.7.0|>=2.6.0|>=2.5.2|>=2.5.0|>=2.4.0|>=2.3.0|>=2.2.0']", "python-dateutil[version='>=2.6.1|>=2.7.3']", "python-dateutil[version='>=2.5.*|>=2.6.1|>=2.7.3']", "click[version='>=3.0']", "hdf5[version='>=1.10.4,<1.10.5.0a0|>=1.10.6,<1.10.7.0a0']", "numpy[version='1.13.*|>=1.11,<1.12.0a0|>=1.11.0|>=1.13.0|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.9.3,<2.0a0|>=1.14,<1.15.0a0|>=1.13,<1.14.0a0|>=1.12,<1.13.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.15.1,<2.0a0']", "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", "numpy[version='>=1.11.3,<2.0a0|>=1.15.1,<2.0a0|>=1.9.3,<2.0a0']", "distributed[version='>=1.25.0']", 'six', "numpy[version='1.12.*|1.13.*|>=1.14.5,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.9.3,<2.0a0']", "six[version='>=1.5.2']", 'python', 'dask', "python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "python[version='>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", "bob.extension[version='>=2.5.0,<3.0a0|>=3.1.0,<4.0a0|>=3.1.1,<4.0a0|>=3.1.2,<4.0a0|>=3.2.0,<4.0a0|>=4.0.0,<5.0a0|>=5.0.0,<6.0a0|>=5.0.1,<6.0a0|>=5.0.2b.0,<6.0a0']", "numpy[version='>=1.14.6,<2.0a0']", "python[version='3.6.*|>=3.5|>=3.6|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "python[version='>=3.6']", 'numpy=1.11', "numpy[version='>=1.17']", 'setuptools', "python[version='>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0']", "python[version='>=3']", "certifi[version='>=2016.9.26']", "certifi[version='>=2016.09|>=2016.9.26']", "click[version='>=6.6']", 'ca-certificates', "hdf5[version='1.8.17|1.8.17.*|>=1.10.1,<1.10.2.0a0|>=1.10.2,<1.10.3.0a0']", "numpy[version='>=1.11.3,<2.0a0|>=1.14.6,<2.0a0']", "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0']", "numpy[version='>=1.13.3,<2.0a0|>=1.14.6,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0']", "scikit-learn[version='>=0.23.0']", "python-dateutil[version='>=2.1|>=2.7.3|>=2.6.1|>=2.5.*']", "setuptools[version='>=41.2']", "distributed[version='>=2.30.0']", "distributed[version='>=2.5.2']", "click[version='>=7.0,<8.0a0|>=7.1.1,<8.0a0']", "numpy[version='>=1.13.0']", "python[version='>=3.5']", "python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|3.4.*']", 'numpy', "scikit-learn[version='>=0.18']", 'tzdata', "python[version='>=3.5|>=3.6']", "python[version='>=3|>=3.5|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']"}
Uploading artifacts for failed job
Uploading artifacts...
WARNING: coverage.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build_macosx_37 Build
    raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: {"python[version='>=3.6']", "distributed[version='>=2.30.0']", "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", "numpy[version='1.13.*|>=1.11,<1.12.0a0|>=1.11.0|>=1.13.0|>=1.14.6,<2.0a0|>=1.11.3,<2.0a0|>=1.9.3,<2.0a0|>=1.13,<1.14.0a0|>=1.12,<1.13.0a0|>=1.14,<1.15.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.15.1,<2.0a0']", "python[version='>=3.5']", "click[version='>=6.6']", "numpy[version='>=1.11.3,<2.0a0|>=1.11.3|>=1.7.1|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.14.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.9.3,<2.0a0']", 'ca-certificates', "setuptools[version='>=41.2']", 'six', "numpy[version='>=1.13.3,<2.0a0|>=1.14.6,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0']", 'dask', "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "click[version='>=7.0,<8.0a0|>=7.1.1,<8.0a0']", "numpy[version='>=1.17']", "python-dateutil[version='>=2.1|>=2.7.3|>=2.6.1|>=2.5.*']", "numpy[version='>=1.14.6,<2.0a0']", "certifi[version='>=2016.9.26']", "hdf5[version='1.8.17|1.8.17.*|>=1.10.1,<1.10.2.0a0|>=1.10.2,<1.10.3.0a0']", "certifi[version='>=2016.09|>=2016.9.26']", "python_abi[version='3.6.*|3.7.*',build='*_cp37m|*_cp36m']", "python[version='3.6.*|>=3.5|>=3.6|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "python-dateutil[version='>=2.6.1|>=2.7.3']", "python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", 'setuptools', "python[version='>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", "six[version='>=1.5.2']", "scikit-learn[version='>=0.18']", "dask[version='>=1.0.0']", "python[version='>=3']", "distributed[version='>=1.25.0']", "python[version='>=3,<3.7|>=3.5|>=3.6|>=3.9,<3.10.0a0']", "python[version='>=3|>=3.5|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']", "distributed[version='>=1.25.3|>=1.26.0|>=1.26.1|>=1.27.0|>=1.28.0|>=2|>=2.10.0|>=2.11.0|>=2.12.0|>=2.13.0|>=2.14.0|>=2.15.0|>=2.16.0|>=2.17.0|>=2.18.0|>=2.19.0|>=2.20.0|>=2.22.0|>=2.23.0|>=2.24.0|>=2.25.0|>=2.26.0|>=2.27.0|>=2.29.0|>=2.30.0|>=2.9.2|>=2.9.1|>=2.9.0|>=2.8.1|>=2.8.0|>=2.7.0|>=2.6.0|>=2.5.2|>=2.5.0|>=2.4.0|>=2.3.0|>=2.2.0']", "numpy[version='>=1.11.3,<2.0a0|>=1.16.6,<2.0a0|>=1.15.1,<2.0a0|>=1.9.3,<2.0a0']", "numpy[version='>=1.13.0']", 'numpy', "click[version='>=3.0']", "bob.extension[version='>=2.5.0,<3.0a0|>=3.1.0,<4.0a0|>=3.1.1,<4.0a0|>=3.1.2,<4.0a0|>=3.2.0,<4.0a0|>=4.0.0,<5.0a0|>=5.0.0,<6.0a0|>=5.0.1,<6.0a0|>=5.0.2b.0,<6.0a0']", "numpy[version='>=1.11.3,<2.0a0|>=1.14.6,<2.0a0']", "hdf5[version='>=1.10.4,<1.10.5.0a0|>=1.10.6,<1.10.7.0a0']", "libcxxabi==4.0.1[build='hcfea43d_1|hebd6815_0']", 'python', 'numpy=1.11', 'tzdata', "distributed[version='>=2.5.2']", "python-dateutil[version='>=2.5.*|>=2.6.1|>=2.7.3']", "python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|3.4.*']", "numpy[version='1.12.*|1.13.*|>=1.14.5,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.9.3,<2.0a0']", "scikit-learn[version='>=0.23.0']", "python[version='>=3.5|>=3.6']"}
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=darwin pid=23521 revision=ece86343 version=13.5.0
WARNING: coverage.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
build_macosx_36 Build
    raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: {"python[version='>=3.5']", 'six', "numpy[version='1.13.*|>=1.11,<1.12.0a0|>=1.11.0|>=1.13.0|>=1.14.6,<2.0a0|>=1.11.3,<2.0a0|>=1.9.3,<2.0a0|>=1.13,<1.14.0a0|>=1.12,<1.13.0a0|>=1.14,<1.15.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.15.1,<2.0a0']", "distributed[version='>=2.30.0']", "click[version='>=6.6']", "six[version='>=1.5.2']", "python[version='3.6.*|>=3.5|>=3.6|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "certifi[version='>=2016.09|>=2016.9.26']", "python[version='>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", "bob.extension[version='>=2.5.0,<3.0a0|>=3.1.0,<4.0a0|>=3.1.1,<4.0a0|>=3.1.2,<4.0a0|>=3.2.0,<4.0a0|>=4.0.0,<5.0a0|>=5.0.0,<6.0a0|>=5.0.1,<6.0a0|>=5.0.2b.0,<6.0a0']", "scikit-learn[version='>=0.23.0']", 'python', "hdf5[version='1.8.17|1.8.17.*|>=1.10.1,<1.10.2.0a0|>=1.10.2,<1.10.3.0a0']", "hdf5[version='>=1.10.4,<1.10.5.0a0|>=1.10.6,<1.10.7.0a0']", "numpy[version='>=1.14.6,<2.0a0']", "numpy[version='1.12.*|1.13.*|>=1.14.5,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.9.3,<2.0a0']", "certifi[version='>=2016.9.26']", "distributed[version='>=1.25.3|>=1.26.0|>=1.26.1|>=1.27.0|>=1.28.0|>=2|>=2.10.0|>=2.11.0|>=2.12.0|>=2.13.0|>=2.14.0|>=2.15.0|>=2.16.0|>=2.17.0|>=2.18.0|>=2.19.0|>=2.20.0|>=2.22.0|>=2.23.0|>=2.24.0|>=2.25.0|>=2.26.0|>=2.27.0|>=2.29.0|>=2.30.0|>=2.9.2|>=2.9.1|>=2.9.0|>=2.8.1|>=2.8.0|>=2.7.0|>=2.6.0|>=2.5.2|>=2.5.0|>=2.4.0|>=2.3.0|>=2.2.0']", "distributed[version='>=2.5.2']", 'dask', "click[version='>=3.0']", "setuptools[version='>=41.2']", "python_abi[version='3.6.*|3.7.*',build='*_cp36m|*_cp37m']", "python[version='>=3.6']", "numpy[version='>=1.13.3,<2.0a0|>=1.14.6,<2.0a0|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0']", 'numpy', "scikit-learn[version='>=0.18']", "libcxxabi==4.0.1[build='hebd6815_0|hcfea43d_1']", "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']", "numpy[version='>=1.11.3,<2.0a0|>=1.11.3|>=1.7.1|>=1.15.4,<2.0a0|>=1.16.6,<2.0a0|>=1.14.6,<2.0a0|>=1.13.3,<2.0a0|>=1.12.1,<2.0a0|>=1.9.3,<2.0a0']", 'ca-certificates', 'setuptools', "click[version='>=7.0,<8.0a0|>=7.1.1,<8.0a0']", "python[version='>=3,<3.7|>=3.5|>=3.6|>=3.9,<3.10.0a0']", "python[version='>=3|>=3.5|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']", "python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|3.4.*']", "python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "python[version='>=3.5|>=3.6']", "numpy[version='>=1.11.3,<2.0a0|>=1.16.6,<2.0a0|>=1.15.1,<2.0a0|>=1.9.3,<2.0a0']", 'numpy=1.11', "pytz[version='>=2017.2']", "pandas[version='>=0.19.0|>=0.21.0']", "distributed[version='>=1.25.0']", "numpy[version='>=1.11.3,<2.0a0|>=1.14.6,<2.0a0']", "python[version='>=3']", "python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']", "numpy[version='>=1.17']", 'tzdata', "numpy[version='>=1.13.0']", "dask[version='>=1.0.0']", "pandas[version='>=0.23.0']"}
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=darwin pid=23538 revision=ece86343 version=13.5.0
WARNING: coverage.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit status 1