Re: Missing prettytable during ceph-disk runs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2 Jun 2017, Alfredo Deza wrote:
> On Fri, Jun 2, 2017 at 6:42 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote:
> > Hi,
> >
> > During run-tox tests, ceph-disk complains that it is missing prettytable.
> > It is however installed on my system, and I can load it. So that part
> > works. But one way or another it is not loaded into the tox environment.
> >
> > How or what are all other dependancies loaded?
> > Is there a config file where I need to add that this test needs prettytable?
> 
> I am not sure what tox file you are running, but tox will create a
> virtual environment where it installs dependencies
> for the project you are testing. These dependencies should be defined
> by the project, the tox file, or by configuring tox to
> use dependencies installed system-wide.
> 
> For example, in ceph-installer, we tell tox to install a dependency
> that is only needed for tests like this:
> 
> https://github.com/ceph/ceph-installer/blob/master/tox.ini#L5-L6
> 
> I think that prettytable is a Python dependency so you can go ahead
> and add it there and it should work.
> 
> This also sounds like a bug :)

I've been having the ceph-disk tox test fail on my local machine for a 
week or two. I haven't been able to figure out why (prettytable is also 
installed here).  I've tried blowing away my build/ directory but that 
doesn't seem to help..

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux