mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sweeney (JIRA)" <>
Subject [jira] [Commented] (MESOS-684) Automate publishing of artifacts with release candidates and releases
Date Fri, 27 Dec 2013 19:30:52 GMT


Kevin Sweeney commented on MESOS-684:

It looks like the sdist created by python sdist currently hardcodes the buildroot
of the mesos source tree. Using an sdist I created with

% ./bootstrap
% ./configure
% make
% make install
% cd src
% python python/ sdist
% cp python/dist/mesos-0.16.0.tar.gz ~

The build fails with an error message
% tar zxvf mesos-0.16.0.tar.gz
% cd mesos-0.16.0
% python install
Traceback (most recent call last):
  File "", line 58, in <module>
    for file in os.listdir(os.path.join(abs_top_srcdir, src_python_native))
OSError: [Errno 2] No such file or directory: '/Users/ksweeney/workspace/mesos/src/python/native'

In theory as long as {{make install}} (or the OS package manager) installed appropriate header
files and a library that works with {{-lmesos}} it shouldn't be necessary to know about the
path that the {{make dist}} tarball was originally extracted to in order to compile the Python
bindings. I suspect the issue right now is that the Python egg is built before the libraries
and headers are installed at the expense of a {{}} that can't be used to create a
pip-compatible sdist.

> Automate publishing of artifacts with release candidates and releases
> ---------------------------------------------------------------------
>                 Key: MESOS-684
>                 URL:
>             Project: Mesos
>          Issue Type: Sub-task
>            Reporter: Vinod Kone
>             Fix For: 0.16.0
> Currently, when we tag a release candidate, we never upload the relevant artifacts (e.g.,
mesos jar) for the community to be able to test it. It would be great if we can have a script
to automate this.
> Since we also support Python, we could (should?) also publish a mesos egg to somewhere
in Apache?

This message was sent by Atlassian JIRA

View raw message