Apache DataFusion SQL Query Engine
ARROW-2836: [Packaging] Expand build matrices to multiple tasks
Krisztián Szűcs111694e49f68
diff --git a/dev/tasks/README.md b/dev/tasks/README.mdindex ecf690b285..d7f0afabe0 100644--- a/dev/tasks/README.md+++ b/dev/tasks/README.md@@ -85,7 +85,7 @@ submission. The tasks are defined in `tasks.yml````bash# pygit2 requires libgit2: http://www.pygit2.org/install.html- pip install -y jinja2 pygit2 click ruamel.yaml setuptools_scm github3.py python-gnupg+ pip install jinja2 pygit2 click ruamel.yaml setuptools_scm github3.py python-gnupg```7. Try running it:@@ -127,7 +127,7 @@ The script does the following:to build conda recipes on linux it will create a new branch:`crossbow@build-<id>-conda-linux`.3. Pushes the modified branches to GitHub which triggers the builds.- For authentication it uses github oauth tokens described in the install+ For authentication it uses GitHub OAuth tokens described in the installsection.@@ -150,14 +150,14 @@ The script accepts a pattern as a first argument to narrow the build scope:Run multiple builds:```bash-$ python crossbow.py submit linux-packages conda-linux wheel-win+$ python crossbow.py submit debian-stretch conda-linux-py36 wheel-win-py36Repository: https://github.com/kszucs/arrow@tasksCommit SHA: 810a718836bb3a8cefc053055600bdcc440e6702Version: 0.9.1.dev48+g810a7188.d20180414Pushed branches:- - linux-packages- - conda-linux- - wheel-win+ - debian-stretch+ - conda-linux-py36+ - wheel-win-py36```Just render without applying or committing the changes:@@ -166,14 +166,14 @@ Just render without applying or committing the changes:$ python crossbow.py submit --dry-run task_name```-Run only `conda` package builds but on all platforms:+Run only `conda` package builds and a Linux one:```bash-$ python crossbow.py submit conda-win conda-osx conda-linux+$ python crossbow.py submit -g conda centos-7```Run `wheel` builds:```bash-$ python crossbow.py submit wheel-osx wheel-linux wheel-win+$ python crossbow.py submit --group wheel```diff --git a/dev/tasks/conda-recipes/appveyor.yml b/dev/tasks/conda-recipes/appveyor.ymlindex 664c0b2e9d..40436a6929 100644--- a/dev/tasks/conda-recipes/appveyor.yml+++ b/dev/tasks/conda-recipes/appveyor.yml@@ -17,37 +17,31 @@environment:ARROW_VERSION: {{ arrow.version }}- matrix:- - CONFIG: variants\win_c_compilervs2015cxx_compilervs2015python3.5.yaml- CONDA_INSTALL_LOCN: C:\\Miniconda35-x64-- - CONFIG: variants\win_c_compilervs2015cxx_compilervs2015python3.6.yaml- CONDA_INSTALL_LOCN: C:\\Miniconda36-x64# We always use a 64-bit machine, but can build x86 distributions# with the TARGET_ARCH variable.platform:- - x64+ - x64install:- # Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)- - cmd: rmdir C:\cygwin /s /q+ # Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)+ - cmd: rmdir C:\cygwin /s /q- # Add path, activate `conda` and update conda.- - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat- - cmd: conda.exe update --yes --quiet conda+ # Add path, activate `conda` and update conda.+ - cmd: call {{ conda_install_location }}\Scripts\activate.bat+ - cmd: conda.exe update --yes --quiet conda- - cmd: set PYTHONUNBUFFERED=1+ - cmd: set PYTHONUNBUFFERED=1- # Add our channels.- - cmd: conda.exe config --set show_channel_urls true- - cmd: conda.exe config --remove channels defaults- - cmd: conda.exe config --add channels defaults- - cmd: conda.exe config --add channels conda-forge+ # Add our channels.+ - cmd: conda.exe config --set show_channel_urls true+ - cmd: conda.exe config --remove channels defaults+ - cmd: conda.exe config --add channels defaults+ - cmd: conda.exe config --add channels conda-forge- # Configure the VM.- - cmd: conda.exe install -n root --quiet --yes conda-forge-ci-setup=1- - cmd: run_conda_forge_build_setup+ # Configure the VM.+ - cmd: conda.exe install -n root --quiet --yes conda-forge-ci-setup=1+ - cmd: run_conda_forge_build_setup# Skip .NET project specific build phase.build: off@@ -56,7 +50,7 @@ test_script:- git clone -b {{ arrow.branch }} {{ arrow.remote }} arrow || exit /B- git -C arrow checkout {{ arrow.head }} || exit /B- pushd arrow\dev\tasks\conda-recipes- - conda.exe build --output-folder . -m %CONFIG% parquet-cpp arrow-cpp pyarrow+ - conda.exe build --output-folder . -m {{ variant_config_file }} parquet-cpp arrow-cpp pyarrow- pushd win-64- for %%f in (*.tar.bz2) do (set %%g=%%~nf@@ -68,7 +62,7 @@ artifacts:- path: arrow\dev\tasks\conda-recipes\win-64\*.tar.bz2deploy:- release: {{ job.branch }}+ release: {{ task.tag }}provider: GitHubauth_token: "%CROSSBOW_GITHUB_TOKEN%"artifact: /.*\.tar\.bz2/diff --git a/dev/tasks/conda-recipes/travis.linux.yml b/dev/tasks/conda-recipes/travis.linux.ymlindex 7686c4f838..dcf0c42a54 100644--- a/dev/tasks/conda-recipes/travis.linux.yml+++ b/dev/tasks/conda-recipes/travis.linux.yml@@ -21,48 +21,38 @@ os: linuxdist: trustyenv:- matrix:- - CONFIG=variants/linux_python2.7.yaml- - CONFIG=variants/linux_python3.5.yaml- - CONFIG=variants/linux_python3.6.yamlglobal:- - TRAVIS_TAG={{ job.branch }}+ - TRAVIS_TAG={{ task.tag }}- ARROW_VERSION={{ arrow.version }}- PYTHONUNBUFFERED=1install:- # Install Miniconda.- - echo `pwd`- - |- echo ""- echo "Installing a fresh version of Miniconda."- MINICONDA_URL="https://repo.continuum.io/miniconda"- MINICONDA_FILE="Miniconda3-latest-Linux-x86_64.sh"- curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"- bash $MINICONDA_FILE -b+ # Install Miniconda.+ - echo `pwd`+ - |+ echo ""+ echo "Installing a fresh version of Miniconda."+ MINICONDA_URL="https://repo.continuum.io/miniconda"+ MINICONDA_FILE="Miniconda3-latest-Linux-x86_64.sh"+ curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"+ bash $MINICONDA_FILE -b- # Configure conda.- - |- echo ""- echo "Configuring conda."- source /home/travis/miniconda3/bin/activate root- conda config --remove channels defaults- conda config --add channels defaults- conda config --add channels conda-forge- conda config --set show_channel_urls true- conda install --yes --quiet conda-build+ # Configure conda.+ - |+ echo ""+ echo "Configuring conda."+ source /home/travis/miniconda3/bin/activate root+ conda config --remove channels defaults+ conda config --add channels defaults+ conda config --add channels conda-forge+ conda config --set show_channel_urls true+ conda install --yes --quiet conda-buildscript:- git clone -b {{ arrow.branch }} {{ arrow.remote }} arrow- git -C arrow checkout {{ arrow.head }}- pushd arrow/dev/tasks/conda-recipes- - conda build --output-folder . -m $CONFIG parquet-cpp arrow-cpp pyarrow- - pushd linux-64- - |- for file in *.tar.bz2; do- mv "$file" "$(basename "$file" .tar.bz2)-linux-64.tar.bz2"- done- popd+ - conda build --output-folder . -m {{ variant_config_file }} parquet-cpp arrow-cpp pyarrowdeploy:provider: releasesdiff --git a/dev/tasks/conda-recipes/travis.osx.yml b/dev/tasks/conda-recipes/travis.osx.ymlindex dc94668a19..d92c19d04c 100644--- a/dev/tasks/conda-recipes/travis.osx.yml+++ b/dev/tasks/conda-recipes/travis.osx.yml@@ -21,60 +21,48 @@ os: osxosx_image: xcode6.4env:- matrix:- - CONFIG=variants/osx_python2.7.yaml- - CONFIG=variants/osx_python3.5.yaml- - CONFIG=variants/osx_python3.6.yamlglobal:- - TRAVIS_TAG={{ job.branch }}+ - TRAVIS_TAG={{ task.tag }}- ARROW_VERSION={{ arrow.version }}- PYTHONUNBUFFERED=1before_install:- # Remove homebrew.- - |- echo ""- echo "Removing homebrew from Travis CI to avoid conflicts."- curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew- chmod +x ~/uninstall_homebrew- ~/uninstall_homebrew -fq- rm ~/uninstall_homebrew+ # Remove homebrew.+ - |+ echo ""+ echo "Removing homebrew from Travis CI to avoid conflicts."+ curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew+ chmod +x ~/uninstall_homebrew+ ~/uninstall_homebrew -fq+ rm ~/uninstall_homebrewinstall:- # Install Miniconda.- - |- echo ""- echo "Installing a fresh version of Miniconda."- MINICONDA_URL="https://repo.continuum.io/miniconda"- MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"- curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"- bash $MINICONDA_FILE -b-- # Configure conda.- - |- echo ""- echo "Configuring conda."- source /Users/travis/miniconda3/bin/activate root- conda config --remove channels defaults- conda config --add channels defaults- conda config --add channels conda-forge- conda config --set show_channel_urls true- conda install --yes --quiet conda-forge-ci-setup=1- source run_conda_forge_build_setup+ # Install Miniconda.+ - |+ echo ""+ echo "Installing a fresh version of Miniconda."+ MINICONDA_URL="https://repo.continuum.io/miniconda"+ MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"+ curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"+ bash $MINICONDA_FILE -b-# conda install --yes --quiet conda-build+ # Configure conda.+ - |+ echo ""+ echo "Configuring conda."+ source /Users/travis/miniconda3/bin/activate root+ conda config --remove channels defaults+ conda config --add channels defaults+ conda config --add channels conda-forge+ conda config --set show_channel_urls true+ conda install --yes --quiet conda-forge-ci-setup=1+ source run_conda_forge_build_setupscript:- git clone -b {{ arrow.branch }} {{ arrow.remote }} arrow- git -C arrow checkout {{ arrow.head }}- pushd arrow/dev/tasks/conda-recipes- - conda build --output-folder . -m $CONFIG parquet-cpp arrow-cpp pyarrow- - pushd osx-64- - |- for file in *.tar.bz2; do- mv "$file" "$(basename "$file" .tar.bz2)-osx-64.tar.bz2"- done- popd+ - conda build --output-folder . -m {{ variant_config_file }} parquet-cpp arrow-cpp pyarrowdeploy:provider: releasesdiff --git a/dev/tasks/crossbow.py b/dev/tasks/crossbow.pyindex 3b7135833d..0578e15b0b 100755--- a/dev/tasks/crossbow.py+++ b/dev/tasks/crossbow.py@@ -27,7 +27,6 @@ import github3from io import StringIOfrom pathlib import Path-from datetime import datefrom textwrap import dedentfrom jinja2 import Template, StrictUndefinedfrom setuptools_scm import get_version@@ -201,8 +200,10 @@ class Queue(Repo):return yaml.load(buffer)def put(self, job, prefix='build'):+ # TODO(kszucs): more verbose error handlingassert isinstance(job, Job)assert job.branch is None+ assert len(job.tasks) > 0# auto increment and set next job id, e.g. build-85job.branch = self._next_job_id(prefix)@@ -212,23 +213,21 @@ class Queue(Repo):task.branch = '{}-{}'.format(job.branch, task_name)files = task.render_files(job=job, arrow=job.target)branch = self.create_branch(task.branch, files=files)+ self.create_tag(task.tag, branch.target)task.commit = str(branch.target)- # create job's branch- branch = self.create_branch(job.branch, files=job.render_files())- self.create_tag(job.branch, branch.target)-- return branch+ # create job's branch with its description+ return self.create_branch(job.branch, files=job.render_files())def github_statuses(self, job):repo = self.as_github_repo()return {name: repo.commit(task.commit).status()for name, task in job.tasks.items()}- def github_assets(self, job):+ def github_assets(self, task):repo = self.as_github_repo()try:- release = repo.release_from_tag(job.branch)+ release = repo.release_from_tag(task.tag)except github3.exceptions.NotFoundError:return {}else:@@ -264,8 +263,8 @@ class Target(object):self.version = version@classmethod- def from_repo(cls, repo_path):- repo = Repo(repo_path)+ def from_repo(cls, repo):+ assert isinstance(repo, Repo)version = get_version(repo.path, local_scheme=lambda v: '')return cls(head=str(repo.head.target),email=repo.email,@@ -297,9 +296,13 @@ class Task(object):def render_files(self, **extra_params):path = CWD / self.templatetemplate = Template(path.read_text(), undefined=StrictUndefined)- rendered = template.render(**self.params, **extra_params)+ rendered = template.render(task=self, **self.params, **extra_params)return {self.filename: rendered}+ @property+ def tag(self):+ return self.branch+@propertydef ci(self):if self.platform == 'win':@@ -357,81 +360,77 @@ DEFAULT_QUEUE_PATH = CWD.parents[2] / 'crossbow'@click.group()-def crossbow():- pass---def github_token_validation_callback(ctx, param, value):- if value is None:[email protected]('--github-token', '-t', default=None,+ help='OAuth token for GitHub authentication')[email protected]('--arrow-path', '-a',+ type=click.Path(exists=True), default=DEFAULT_ARROW_PATH,+ help='Arrow\'s repository path. Defaults to the repository of '+ 'this script')[email protected]('--queue-path', '-q',+ type=click.Path(exists=True), default=DEFAULT_QUEUE_PATH,+ help='The repository path used for scheduling the tasks. '+ 'Defaults to crossbow directory placed next to arrow')[email protected]_context+def crossbow(ctx, github_token, arrow_path, queue_path):+ if github_token is None:raise click.ClickException('Could not determine GitHub token. Please set the ''CROSSBOW_GITHUB_TOKEN environment variable to a '- 'valid github access token or pass one to --github-token.'+ 'valid GitHub access token or pass one to --github-token.')- return value+ ctx.obj['arrow'] = Repo(Path(arrow_path))+ ctx.obj['queue'] = Queue(Path(queue_path), github_token=github_token)-github_token = click.option(- '--github-token',- default=None,- envvar='CROSSBOW_GITHUB_TOKEN',- help='OAuth token for Github authentication',- callback=github_token_validation_callback,-)--def config_path_validation_callback(ctx, param, value):- with Path(value).open() as fp:+def load_tasks_from_config(config_path, task_names, group_names):+ with Path(config_path).open() as fp:config = yaml.load(fp)- task_names = ctx.params['task_names']++ valid_groups = set(config['groups'].keys())+ requested_groups = set(group_names)+ invalid_groups = requested_groups - valid_groups+ if invalid_groups:+ raise click.ClickException('Invalid group(s) {!r}. Must be one of {!r}'+ .format(invalid_groups, valid_groups))+valid_tasks = set(config['tasks'].keys())- invalid_tasks = {task for task in task_names if task not in valid_tasks}+ requested_tasks = set(+ sum([config['groups'][g] for g in group_names], list(task_names))+ )+ invalid_tasks = requested_tasks - valid_tasksif invalid_tasks:- raise click.ClickException(- 'Invalid task(s) {!r}. Must be one of {!r}'.format(- invalid_tasks,- valid_tasks- )- )- return value+ raise click.ClickException('Invalid task(s) {!r}. Must be one of {!r}'+ .format(invalid_tasks, valid_tasks))++ return {t: config['tasks'][t] for t in requested_tasks}@crossbow.command()[email protected]('task-names', nargs=-1, required=True)[email protected]('task', nargs=-1, required=False)[email protected]('--group', '-g', multiple=True,+ help='Submit task groups as defined in task.yml')@click.option('--job-prefix', default='build',help='Arbitrary prefix for branch names, e.g. nightly')[email protected]('--config-path', default=DEFAULT_CONFIG_PATH,- type=click.Path(exists=True),- callback=config_path_validation_callback,[email protected]('--config-path', '-c',+ type=click.Path(exists=True), default=DEFAULT_CONFIG_PATH,help='Task configuration yml. Defaults to tasks.yml')@click.option('--dry-run/--push', default=False,help='Just display the rendered CI configurations without ''submitting them')[email protected]('--arrow-path', default=DEFAULT_ARROW_PATH,- help='Arrow\'s repository path. Defaults to the repository of '- 'this script')[email protected]('--queue-path', default=DEFAULT_QUEUE_PATH,- help='The repository path used for scheduling the tasks. '- 'Defaults to crossbow directory placed next to arrow')-@github_token-def submit(task_names, job_prefix, config_path, dry_run, arrow_path,- queue_path, github_token):- queue = Queue(queue_path, github_token=github_token)- target = Target.from_repo(arrow_path)-- with Path(config_path).open() as fp:- config = yaml.load(fp)[email protected]_context+def submit(ctx, task, group, job_prefix, config_path, dry_run):+ queue, arrow = ctx.obj['queue'], ctx.obj['arrow']+ target = Target.from_repo(arrow)- today = date.today().strftime('%Y%m%d')+ # task and group variables are lists, containing multiple valuestasks = {}- for task_name in task_names:- task = config['tasks'][task_name]- # replace version number and current date in artifact names- artifacts = task.pop('artifacts', None) or []- artifacts = [fname.format(version=target.version, date=today)- for fname in artifacts]- # create task instance from configuration- tasks[task_name] = Task(**task, artifacts=artifacts)+ task_configs = load_tasks_from_config(config_path, task, group)+ for name, task in task_configs.items():+ # replace version number and create task instance from configuration+ artifacts = task.pop('artifacts', None) or [] # because of yaml+ artifacts = [fn.format(version=target.version) for fn in artifacts]+ tasks[name] = Task(**task, artifacts=artifacts)# create job instance, doesn't mutate git data yetjob = Job(target=target, tasks=tasks)@@ -457,25 +456,22 @@ def submit(task_names, job_prefix, config_path, dry_run, arrow_path,@crossbow.command()@click.argument('job-name', required=True)[email protected]('--queue-path', default=DEFAULT_QUEUE_PATH,- help='The repository path used for scheduling the tasks. '- 'Defaults to crossbow directory placed next to arrow')-@github_token-def status(job_name, queue_path, github_token):- queue = Queue(queue_path, github_token=github_token)[email protected]_context+def status(ctx, job_name):+ queue, arrow = ctx.obj['queue'], ctx.obj['arrow']queue.fetch()- tpl = '[{:>7}] {:<24} {:>45}'+ tpl = '[{:>7}] {:<49} {:>20}'header = tpl.format('status', 'branch', 'artifacts')click.echo(header)click.echo('-' * len(header))job = queue.get(job_name)- assets = queue.github_assets(job)statuses = queue.github_statuses(job)for task_name, task in job.tasks.items():status = statuses[task_name]+ assets = queue.github_assets(task)uploaded = 'uploaded {} / {}'.format(sum(a in assets for a in task.artifacts),@@ -502,51 +498,55 @@ def status(job_name, queue_path, github_token):@click.option('--gpg-homedir', default=None,help=('Full pathname to directory containing the public and ''private keyrings. Default is whatever GnuPG defaults to'))[email protected]('--target-dir', default=DEFAULT_ARROW_PATH / 'pkgs',[email protected]('--target-dir', default=DEFAULT_ARROW_PATH / 'packages',help='Directory to download the build artifacts')[email protected]('--queue-path', default=DEFAULT_QUEUE_PATH,- help='The repository path used for scheduling the tasks. '- 'Defaults to crossbow directory placed next to arrow')-@github_token-def sign(job_name, gpg_homedir, target_dir, queue_path, github_token):[email protected]_context+def sign(ctx, job_name, gpg_homedir, target_dir):"""Download and sign build artifacts from github releases"""-import gnupggpg = gnupg.GPG(gnupghome=gpg_homedir)- # initialize and fetch the queue repository- queue = Queue(queue_path, github_token=github_token)+ # fetch the queue repository+ queue = ctx.obj['queue']queue.fetch()# query the job's artifactsjob = queue.get(job_name)- assets = queue.github_assets(job)- click.echo('Downloading and signing assets...')- target_dir = Path(target_dir).absolute()- target_dir.mkdir(exist_ok=True)+ target_dir = Path(target_dir).absolute() / job_name+ target_dir.mkdir(parents=True, exist_ok=True)+ click.echo('Download {}\'s artifacts to {}'.format(job_name, target_dir))- tpl = '[{:>8}] '+ tpl = '{:<10} {:>68}'for task_name, task in job.tasks.items():+ assets = queue.github_assets(task)+ artifact_dir = target_dir / task_name+ artifact_dir.mkdir(exist_ok=True)++ click.echo('\nDownloading and signing assets for task {}'+ .format(task_name))+ click.echo('-' * 79)+for artifact in task.artifacts:if artifact not in assets:- msg = click.style(tpl.format('MISSING'), fg=COLORS['missing'])- click.echo(msg + artifact)+ msg = click.style('[{:>8}]'.format('MISSING'),+ fg=COLORS['missing'])+ click.echo(tpl.format(msg, artifact))continue# download artifact- target_path = target_dir / artifact- assets[artifact].download(target_path)+ artifact_path = artifact_dir / artifact+ assets[artifact].download(artifact_path)# sign the artifact- with target_path.open('rb') as fp:- signature_path = Path(str(target_path) + '.sig')+ with artifact_path.open('rb') as fp:+ signature_path = Path(str(artifact_path) + '.sig')gpg.sign_file(fp, detach=True, clearsign=False,output=str(signature_path))- msg = click.style(tpl.format('SIGNED'), fg=COLORS['ok'])- click.echo(msg + artifact)+ msg = click.style('[{:>8}]'.format('SIGNED'), fg=COLORS['ok'])+ click.echo(tpl.format(msg, artifact))if __name__ == '__main__':- crossbow(auto_envvar_prefix='CROSSBOW')+ crossbow(obj={}, auto_envvar_prefix='CROSSBOW')diff --git a/dev/tasks/linux-packages/apt/ubuntu-artful/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-artful/Dockerfileindex d953000671..a5ba85ab12 100644--- a/dev/tasks/linux-packages/apt/ubuntu-artful/Dockerfile+++ b/dev/tasks/linux-packages/apt/ubuntu-artful/Dockerfile@@ -38,9 +38,12 @@ RUN \libgirepository1.0-dev \libglib2.0-doc \libjemalloc-dev \+ libprotobuf-dev \+ libprotoc-dev \lsb-release \nvidia-cuda-toolkit \pkg-config \+ protobuf-compiler \python3-dev \python3-numpy && \apt clean && \diff --git a/dev/tasks/linux-packages/debian/rules b/dev/tasks/linux-packages/debian/rulesindex 956ef2d29c..72e0fa54a2 100755--- a/dev/tasks/linux-packages/debian/rules+++ b/dev/tasks/linux-packages/debian/rules@@ -15,7 +15,8 @@ BUILD_TYPE=releaseoverride_dh_autoreconf:dh_autoreconf \- --sourcedirectory=c_glib+ --sourcedirectory=c_glib \+ ./autogen.shoverride_dh_auto_configure:dh_auto_configure \diff --git a/dev/tasks/linux-packages/travis.linux.yml b/dev/tasks/linux-packages/travis.linux.ymlindex b151a30872..1f9bbb5e8b 100644--- a/dev/tasks/linux-packages/travis.linux.yml+++ b/dev/tasks/linux-packages/travis.linux.yml@@ -23,55 +23,10 @@ language: rubyenv:global:- PLAT=x86_64- - TRAVIS_TAG={{ job.branch }}+ - TRAVIS_TAG={{ task.tag }}- BUILD_REF={{ arrow.head }}- ARROW_VERSION={{ arrow.version }}-matrix:- include:- - script:- - pushd arrow/dev/tasks/linux-packages- - |- rake version:update && travis_wait 60 rake apt:build \- APT_TARGETS=debian-stretch,ubuntu-trusty,ubuntu-xenial \- PARALLEL=yes \- DEBUG=no- deploy:- provider: releases- api_key: $CROSSBOW_GITHUB_TOKEN- file_glob: true- file: "**/*.deb"- skip_cleanup: true- on:- tags: true- - script:- - pushd arrow/dev/tasks/linux-packages- - |- rake version:update && travis_wait 60 rake apt:build \- APT_TARGETS=ubuntu-artful,ubuntu-bionic \- PARALLEL=yes \- DEBUG=no- # TODO(kszucs) resolve artifact naming conflict with other debian pkgs- # deploy:- # provider: releases- # api_key: $CROSSBOW_GITHUB_TOKEN- # file_glob: true- # file: "**/*.deb"- # skip_cleanup: true- # on:- # tags: true- - script:- - pushd arrow/dev/tasks/linux-packages- - rake version:update && rake yum:build PARALLEL=yes DEBUG=no- deploy:- provider: releases- api_key: $CROSSBOW_GITHUB_TOKEN- file_glob: true- file: "**/*.rpm"- skip_cleanup: true- on:- tags: true-before_install:- sudo apt update -y -qq- |@@ -99,6 +54,21 @@ before_script:- git clone -b {{ arrow.branch }} {{ arrow.remote }} arrow- git -C arrow checkout {{ arrow.head }}+script:+ - pushd arrow/dev/tasks/linux-packages+ - rake version:update+ - rake dist+ - {{ build_command }}++deploy:+ provider: releases+ api_key: $CROSSBOW_GITHUB_TOKEN+ file_glob: true+ file: "**/*.{{ package_format }}"+ skip_cleanup: true+ on:+ tags: true+notifications:email:- {{ job.email }}diff --git a/dev/tasks/python-wheels/appveyor.yml b/dev/tasks/python-wheels/appveyor.ymlindex 83ebe60112..fc0fb5b540 100644--- a/dev/tasks/python-wheels/appveyor.yml+++ b/dev/tasks/python-wheels/appveyor.yml@@ -18,22 +18,17 @@os: Visual Studio 2015environment:- matrix:- - GENERATOR: Visual Studio 14 2015 Win64- NUMPY: "1.13"- PYTHON: "3.5"- ARCH: "64"- - GENERATOR: Visual Studio 14 2015 Win64- NUMPY: "1.13"- PYTHON: "3.6"- ARCH: "64"+ ARCH: "64"+ GENERATOR: Visual Studio 14 2015 Win64+ NUMPY: "{{ numpy_version }}"+ PYTHON: "{{ python_version }}"MSVC_DEFAULT_OPTIONS: ONBOOST_ROOT: C:\Libraries\boost_1_63_0BOOST_LIBRARYDIR: C:\Libraries\boost_1_63_0\lib64-msvc-14.0- pyarrow_version: {{ arrow.version }}- pyarrow_ref: {{ arrow.head }}- parquet_cpp_ref: apache-parquet-cpp-1.4.0ARROW_SRC: C:\apache-arrow+ PYARROW_VERSION: {{ arrow.version }}+ PYARROW_REF: {{ arrow.head }}+ PARQUET_CPP_REF: apache-parquet-cpp-1.4.0init:- set MINICONDA=C:\Miniconda35-x64@@ -52,7 +47,7 @@ artifacts:- path: wheels\*.whldeploy:- release: {{ job.branch }}+ release: {{ task.tag }}provider: GitHubauth_token: "%CROSSBOW_GITHUB_TOKEN%"artifact: /.*\.whl/diff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.shindex 43bad901be..7bb1db1e8a 100755--- a/dev/tasks/python-wheels/osx-build.sh+++ b/dev/tasks/python-wheels/osx-build.sh@@ -22,11 +22,16 @@ set -efunction build_wheel {pip install -U pippip install setuptools_scm- echo `pwd`++ # Include brew installed versions of flex and bison.+ # We need them to build Thrift. The ones that come with Xcode are too old.export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"++ echo `pwd`echo CFLAGS=${CFLAGS}echo CXXFLAGS=${CXXFLAGS}echo LDFLAGS=${LDFLAGS}+pushd $1boost_version="1.65.1"@@ -40,19 +45,24 @@ function build_wheel {arrow_boost="$PWD/arrow_boost"arrow_boost_dist="$PWD/arrow_boost_dist"mkdir "$arrow_boost" "$arrow_boost_dist"- pushd "${boost_directory_name}"# Arrow is 64-bit-only at the momentexport CFLAGS="-fPIC -arch x86_64 ${CFLAGS//"-arch i386"/}"export CXXFLAGS="-fPIC -arch x86_64 ${CXXFLAGS//"-arch i386"} -std=c++11"+ # Build Boost's bcp tool to create a custom namespaced boost build.+ # Using this build, we can dynamically link our own boost build and+ # don't need to fear any clashes with system / thirdparty provided versions+ # of Boost.+ pushd "${boost_directory_name}"./bootstrap.sh./b2 tools/bcp > /dev/null 2>&1./dist/bin/bcp --namespace=arrow_boost --namespace-alias \filesystem date_time system regex build algorithm locale format \- "$arrow_boost" > /dev/null 2>&1-+ "$arrow_boost" > /dev/null 2>&1popd++ # Now build our custom namespaced Boost version.pushd "$arrow_boost"./bootstrap.sh./bjam cxxflags="${CXXFLAGS}" \@@ -65,7 +75,27 @@ function build_wheel {install > /dev/null 2>&1popd- export THRIFT_HOME=/usr/local+ # The boost libraries don't set an explicit install name and we have not+ # yet found the correct option on `bjam` to set the install name to the+ # one we desire.+ #+ # Set it to @rpath/<binary_name> so that they are search in the same+ # directory as the library that loaded them.+ pushd "${arrow_boost_dist}"/lib+ for dylib in *.dylib; do+ install_name_tool -id @rpath/${dylib} ${dylib}+ done+ # Manually adjust libarrow_boost_filesystem.dylib which also references+ # libarrow_boost_system.dylib. It's reference should be to the+ # libarrow_boost_system.dylib with an @rpath prefix so that it also+ # searches for it in the local folder.+ install_name_tool -change libarrow_boost_system.dylib @rpath/libarrow_boost_system.dylib libarrow_boost_filesystem.dylib+ popd++ # We build a custom version of thrift instead of using the one that comes+ # with brew as we also want it to use our namespaced version of Boost.+ # TODO(PARQUET-1262): Use the external project facilities of parquet-cpp.+ export THRIFT_HOME=`pwd`/thift-distexport THRIFT_VERSION=0.11.0wget http://archive.apache.org/dist/thrift/${THRIFT_VERSION}/thrift-${THRIFT_VERSION}.tar.gztar xf thrift-${THRIFT_VERSION}.tar.gz@@ -93,8 +123,12 @@ function build_wheel {popdpopd- export ARROW_HOME=/usr/local- export PARQUET_HOME=/usr/local+ # Now we can start with the actual build of Arrow and Parquet.+ # We pin NumPy to an old version here as the NumPy version one builds+ # with is the oldest supported one. Thanks to NumPy's guarantees our Arrow+ # build will also work with newer NumPy versions.+ export ARROW_HOME=`pwd`/arrow-dist+ export PARQUET_HOME=`pwd`/arrow-distpip install "cython==0.27.3" "numpy==${NP_TEST_DEP}"pushd cppmkdir build@@ -104,10 +138,9 @@ function build_wheel {-DARROW_BUILD_TESTS=OFF \-DARROW_BUILD_SHARED=ON \-DARROW_BOOST_USE_SHARED=ON \- -DARROW_JEMALLOC=OFF \+ -DARROW_JEMALLOC=ON \-DARROW_PLASMA=ON \-DARROW_RPATH_ORIGIN=ON \- -DARROW_JEMALLOC_USE_SHARED=OFF \-DARROW_PYTHON=ON \-DARROW_ORC=ON \-DBOOST_ROOT="$arrow_boost_dist" \@@ -136,8 +169,13 @@ function build_wheel {popdpopd+ # Unset the HOME variables and use pkg-config to discover the previously+ # built binaries. By using pkg-config, we also are able to discover the+ # ABI and SO versions of the dynamic libraries.+ export PKG_CONFIG_PATH=${ARROW_HOME}/lib/pkgconfig:${PARQUET_HOME}/lib/pkgconfig:${PKG_CONFIG_PATH}unset ARROW_HOMEunset PARQUET_HOME+export PYARROW_WITH_PARQUET=1export PYARROW_WITH_ORC=1export PYARROW_WITH_JEMALLOC=1@@ -153,9 +191,18 @@ function build_wheel {--bundle-arrow-cpp --bundle-boost --boost-namespace=arrow_boost \bdist_wheells -l dist/++ # Do a test installation of the built wheel and change into another+ # directory to ensure our import tests later on pick up the wheel and+ # not the binaries from the build directory.for wheel in dist/*.whl; do- unzip -l "$wheel"+ pip install "$wheel"done+ mkdir -p tmp+ pushd tmp+ python -c "import pyarrow"+ python -c "import pyarrow.parquet"+ popdpopdpopd}diff --git a/dev/tasks/python-wheels/travis.linux.yml b/dev/tasks/python-wheels/travis.linux.ymlindex 3f4e6e4e6c..bdc4f02549 100644--- a/dev/tasks/python-wheels/travis.linux.yml+++ b/dev/tasks/python-wheels/travis.linux.yml@@ -17,8 +17,9 @@env:global:- PLAT=x86_64- - TRAVIS_TAG={{ job.branch }}+ - TRAVIS_TAG={{ task.tag }}- BUILD_REF={{ arrow.head }}+ - PYTHON_VERSION={{ python_version }}- PYARROW_VERSION={{ arrow.version }}os: linux@@ -39,9 +40,11 @@ script:- pushd arrow/python/manylinux1- git clone ../../ arrow- docker build -t arrow-base-x86_64 -f Dockerfile-x86_64 .- - docker run --shm-size=2g --rm -e PYARROW_PARALLEL=3- -e SETUPTOOLS_SCM_PRETEND_VERSION=$PYARROW_VERSION- -v $PWD:/io arrow-base-x86_64 /io/build_arrow.sh+ - docker run --shm-size=2g --rm+ -e SETUPTOOLS_SCM_PRETEND_VERSION=$PYARROW_VERSION+ -e PYTHON_VERSIONS=$PYTHON_VERSION+ -v $PWD:/io arrow-base-x86_64+ /io/build_arrow.sh- popd- sudo mv arrow/python/manylinux1/dist/* dist/diff --git a/dev/tasks/python-wheels/travis.osx.yml b/dev/tasks/python-wheels/travis.osx.ymlindex 10928c4886..d8a107b4ae 100644--- a/dev/tasks/python-wheels/travis.osx.yml+++ b/dev/tasks/python-wheels/travis.osx.yml@@ -19,39 +19,22 @@ language: genericos: osxosx_image: xcode8.3-sudo: required-env:global:- PLAT=x86_64- - TRAVIS_TAG={{ job.branch }}+ - TRAVIS_TAG={{ task.tag }}- BUILD_REF={{ arrow.head }}- PYARROW_VERSION={{ arrow.version }}--matrix:- exclude:- - python: 3.5- include:- - env:- - MB_PYTHON_VERSION=2.7- - NP_BUILD_DEP="1.10.1"- - NP_TEST_DEP="1.10.1"- - PANDAS_DEP="0.20.3"- - env:- - MB_PYTHON_VERSION=3.5- - NP_BUILD_DEP="1.10.1"- - NP_TEST_DEP="1.10.1"- - PANDAS_DEP="0.20.3"- - env:- - MB_PYTHON_VERSION=3.6- - NP_BUILD_DEP="1.11.3"- - NP_TEST_DEP="1.11.3"- - PANDAS_DEP="0.20.3"+ - MACOSX_DEPLOYMENT_TARGET="10.9"+ - MB_PYTHON_VERSION={{ python_version }}+ - NP_BUILD_DEP="{{ numpy_version }}"+ - NP_TEST_DEP="{{ numpy_version }}"+ - PANDAS_DEP="{{ pandas_version }}"before_install:- git clone https://github.com/matthew-brett/multibuild # TODO pin it- git clone -b {{ arrow.branch }} {{ arrow.remote }} arrow- - git -C arrow checkout {{ arrow.head }}+ - git -C arrow checkout {{ arrow.head }}# Also remove artifacts that depend on Boost- brew uninstall boost cgal postgis sfcgaldiff --git a/dev/tasks/python-wheels/win-build.bat b/dev/tasks/python-wheels/win-build.batindex d398f8e60b..37d0b64993 100644--- a/dev/tasks/python-wheels/win-build.bat+++ b/dev/tasks/python-wheels/win-build.bat@@ -35,7 +35,7 @@ pushd %ARROW_SRC%@rem fix up symlinksgit config core.symlinks truegit reset --hard || exit /B-git checkout "%pyarrow_ref%" || exit /B+git checkout "%PYARROW_REF%" || exit /Bpopd@@ -68,7 +68,7 @@ popd@rem Build parquet-cppgit clone https://github.com/apache/parquet-cpp.git || exit /Bpushd parquet-cpp-git checkout "%parquet_cpp_ref%"+git checkout "%PARQUET_CPP_REF%"popdmkdir parquet-cpp\build@@ -87,7 +87,7 @@ set PYTHONPATH=pushd %ARROW_SRC%\pythonset PYARROW_BUILD_TYPE=Release-set SETUPTOOLS_SCM_PRETEND_VERSION=%pyarrow_version%+set SETUPTOOLS_SCM_PRETEND_VERSION=%PYARROW_VERSION%python setup.py build_ext ^--with-parquet ^diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex 683833e1d4..03d4de0e44 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -15,81 +15,224 @@# specific language governing permissions and limitations# under the License.+groups:+ # these groups are just for convenience+ # makes it easier to submit related tasks+ conda:+ - conda-linux-py27+ - conda-linux-py35+ - conda-linux-py36+ - conda-osx-py27+ - conda-osx-py35+ - conda-osx-py36+ - conda-win-py35+ - conda-win-py36+ wheel:+ - wheel-linux-cp27m+ - wheel-linux-cp27mu+ - wheel-linux-cp35m+ - wheel-linux-cp36m+ linux:+ - debian-stretch+ - ubuntu-trusty+ - ubuntu-xenial+ - ubuntu-artful+ - ubuntu-bionic+ - centos-6+ - centos-7+tasks:# arbitrary_task_name:# platform: osx|linux|win# template: path of jinja2 templated yml# params: optional extra parameters# artifacts: list of expected release asset filenames,- # version and date variables can be used in the artifact's name, e.g.- # - pyarrow-{version}-{date}-py36_0-linux-64.tar.bz2+ # version variable can be used in the artifact's name, e.g.+ # - pyarrow-{version}-py36_0-linux-64.tar.bz2++ ############################## Conda Linux ##################################- # conda packages- conda-linux:+ conda-linux-py27:platform: linuxtemplate: conda-recipes/travis.linux.yml+ params:+ variant_config_file: variants/linux_python2.7.yamlartifacts:- - arrow-cpp-{version}-py27_0-linux-64.tar.bz2- - arrow-cpp-{version}-py35_0-linux-64.tar.bz2- - arrow-cpp-{version}-py36_0-linux-64.tar.bz2- - pyarrow-{version}-py27_0-linux-64.tar.bz2- - pyarrow-{version}-py35_0-linux-64.tar.bz2- - pyarrow-{version}-py36_0-linux-64.tar.bz2- - parquet-cpp-1.4.0-0-linux-64.tar.bz2+ - arrow-cpp-{version}-py27_0.tar.bz2+ - pyarrow-{version}-py27_0.tar.bz2+ - parquet-cpp-1.4.0-0.tar.bz2 # don't upload?- conda-osx:+ conda-linux-py35:+ platform: linux+ template: conda-recipes/travis.linux.yml+ params:+ variant_config_file: variants/linux_python3.5.yaml+ artifacts:+ - arrow-cpp-{version}-py35_0.tar.bz2+ - pyarrow-{version}-py35_0.tar.bz2+ - parquet-cpp-1.4.0-0.tar.bz2 # don't upload?++ conda-linux-py36:+ platform: linux+ template: conda-recipes/travis.linux.yml+ params:+ variant_config_file: variants/linux_python3.6.yaml+ artifacts:+ - arrow-cpp-{version}-py36_0.tar.bz2+ - pyarrow-{version}-py36_0.tar.bz2+ - parquet-cpp-1.4.0-0.tar.bz2 # don't upload?++ ############################## Conda OSX ####################################++ conda-osx-py27:platform: osxtemplate: conda-recipes/travis.osx.yml+ params:+ variant_config_file: variants/osx_python2.7.yamlartifacts:- arrow-cpp-{version}-py27_0-osx-64.tar.bz2- - arrow-cpp-{version}-py35_0-osx-64.tar.bz2- - arrow-cpp-{version}-py36_0-osx-64.tar.bz2- pyarrow-{version}-py27_0-osx-64.tar.bz2- - pyarrow-{version}-py35_0-osx-64.tar.bz2- - pyarrow-{version}-py36_0-osx-64.tar.bz2- parquet-cpp-1.4.0-0-osx-64.tar.bz2- conda-win:+ conda-osx-py35:+ platform: osx+ template: conda-recipes/travis.osx.yml+ params:+ variant_config_file: variants/osx_python3.5.yaml+ artifacts:+ - arrow-cpp-{version}-py35_0.tar.bz2+ - pyarrow-{version}-py35_0.tar.bz2+ - parquet-cpp-1.4.0-0.tar.bz2++ conda-osx-py36:+ platform: osx+ template: conda-recipes/travis.osx.yml+ params:+ variant_config_file: variants/osx_python3.6.yaml+ artifacts:+ - arrow-cpp-{version}-py36_0.tar.bz2+ - pyarrow-{version}-py36_0.tar.bz2+ - parquet-cpp-1.4.0-0.tar.bz2++ ############################## Conda Windows ################################++ conda-win-py35:platform: wintemplate: conda-recipes/appveyor.yml+ params:+ conda_install_location: C:\\Miniconda35-x64+ variant_config_file: variants\win_c_compilervs2015cxx_compilervs2015python3.5.yamlartifacts:- arrow-cpp-{version}-py35_vc14_0.tar.bz2- - arrow-cpp-{version}-py36_vc14_0.tar.bz2- pyarrow-{version}-py35_vc14_0.tar.bz2+ - parquet-cpp-1.4.0-vc14_0.tar.bz2++ conda-win-py36:+ platform: win+ template: conda-recipes/appveyor.yml+ params:+ conda_install_location: C:\\Miniconda36-x64+ variant_config_file: variants\win_c_compilervs2015cxx_compilervs2015python3.6.yaml+ artifacts:+ - arrow-cpp-{version}-py36_vc14_0.tar.bz2- pyarrow-{version}-py36_vc14_0.tar.bz2- parquet-cpp-1.4.0-vc14_0.tar.bz2- # python wheels- wheel-linux:+ ############################## Wheel Linux ##################################++ wheel-linux-cp27m:platform: linuxtemplate: python-wheels/travis.linux.yml+ params:+ python_version: 2.7,16artifacts:- pyarrow-{version}-cp27-cp27m-manylinux1_x86_64.whl++ wheel-linux-cp27mu:+ platform: linux+ template: python-wheels/travis.linux.yml+ params:+ python_version: 2.7,32+ artifacts:- pyarrow-{version}-cp27-cp27mu-manylinux1_x86_64.whl++ wheel-linux-cp35m:+ platform: linux+ template: python-wheels/travis.linux.yml+ params:+ python_version: 3.5,16+ artifacts:- pyarrow-{version}-cp35-cp35m-manylinux1_x86_64.whl++ wheel-linux-cp36m:+ platform: linux+ template: python-wheels/travis.linux.yml+ params:+ python_version: 3.6,16+ artifacts:- pyarrow-{version}-cp36-cp36m-manylinux1_x86_64.whl- wheel-osx:+ ############################## Wheel OSX ####################################++ wheel-osx-cp27m:platform: osxtemplate: python-wheels/travis.osx.yml+ params:+ numpy_version: 1.10.1+ pandas_version: 0.20.3+ python_version: 2.7artifacts:- pyarrow-{version}-cp27-cp27m-macosx_10_6_intel.whl++ wheel-osx-cp35m:+ platform: osx+ template: python-wheels/travis.osx.yml+ params:+ numpy_version: 1.10.1+ pandas_version: 0.20.3+ python_version: 3.5+ artifacts:- pyarrow-{version}-cp35-cp35m-macosx_10_6_intel.whl++ wheel-osx-cp36m:+ platform: osx+ template: python-wheels/travis.osx.yml+ params:+ numpy_version: 1.11.3+ pandas_version: 0.20.3+ python_version: 3.6+ artifacts:- pyarrow-{version}-cp36-cp36m-macosx_10_6_intel.whl- wheel-win:+ ############################## Wheel Windows ################################++ wheel-win-cp35m:platform: wintemplate: python-wheels/appveyor.yml+ params:+ numpy_version: 1.13+ python_version: 3.5artifacts:- pyarrow-{version}-cp35-cp35m-win_amd64.whl++ wheel-win-cp36m:+ platform: win+ template: python-wheels/appveyor.yml+ params:+ numpy_version: 1.13+ python_version: 3.5+ artifacts:- pyarrow-{version}-cp36-cp36m-win_amd64.whl- # linux packages- linux-packages:+ ############################## Linux PKGS ####################################++ debian-stretch:platform: linuxtemplate: linux-packages/travis.linux.yml+ params:+ build_command: rake apt:build APT_TARGETS=debian-stretch+ package_format: debartifacts:- # DEB: debian-stretch, ubuntu-trusty- gir1.2-arrow-1.0_{version}-1_amd64.deb- gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb- libarrow-dev_{version}-1_amd64.deb@@ -109,40 +252,110 @@ tasks:- libarrow0-dbgsym_{version}-1_amd64.deb- libarrow0_{version}-1_amd64.deb- # TODO(kszucs) resolve naming conflict with other deb pkgs- # DEB: ubuntu-xenial,ubuntu-artful- # - gir1.2-arrow-1.0_{version}-1_amd64.deb- # - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb- # - libarrow-dev_{version}-1_amd64.deb- # - libarrow-glib-dev_{version}-1_amd64.deb- # - libarrow-glib-doc_{version}-1_all.deb- # - libarrow-glib0-dbgsym_{version}-1_amd64.deb- # - libarrow-glib0_{version}-1_amd64.deb- # - libarrow-gpu-dev_{version}-1_amd64.deb- # - libarrow-gpu-glib-dev_{version}-1_amd64.deb- # - libarrow-gpu-glib0-dbgsym_{version}-1_amd64.deb- # - libarrow-gpu-glib0_{version}-1_amd64.deb- # - libarrow-gpu0-dbgsym_{version}-1_amd64.deb- # - libarrow-gpu0_{version}-1_amd64.deb- # - libarrow-python-dev_{version}-1_amd64.deb- # - libarrow-python0-dbgsym_{version}-1_amd64.deb- # - libarrow-python0_{version}-1_amd64.deb- # - libarrow0-dbgsym_{version}-1_amd64.deb- # - libarrow0_{version}-1_amd64.deb-- # YUM+ ubuntu-trusty:+ platform: linux+ template: linux-packages/travis.linux.yml+ params:+ build_command: rake apt:build APT_TARGETS=ubuntu-trusty+ package_format: deb+ artifacts:+ - gir1.2-arrow-1.0_{version}-1_amd64.deb+ - libarrow-dev_{version}-1_amd64.deb+ - libarrow-glib-dev_{version}-1_amd64.deb+ - libarrow-glib-doc_{version}-1_all.deb+ - libarrow-glib0_{version}-1_amd64.deb+ - libarrow0_{version}-1_amd64.deb++ ubuntu-xenial:+ platform: linux+ template: linux-packages/travis.linux.yml+ params:+ build_command: rake apt:build APT_TARGETS=ubuntu-xenial+ package_format: deb+ artifacts:+ - gir1.2-arrow-1.0_{version}-1_amd64.deb+ - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb+ - libarrow-dev_{version}-1_amd64.deb+ - libarrow-glib-dev_{version}-1_amd64.deb+ - libarrow-glib-doc_{version}-1_all.deb+ - libarrow-glib0_{version}-1_amd64.deb+ - libarrow-gpu-dev_{version}-1_amd64.deb+ - libarrow-gpu-glib-dev_{version}-1_amd64.deb+ - libarrow-gpu-glib0_{version}-1_amd64.deb+ - libarrow-gpu0_{version}-1_amd64.deb+ - libarrow-python-dev_{version}-1_amd64.deb+ - libarrow-python0_{version}-1_amd64.deb+ - libarrow0_{version}-1_amd64.deb++ ubuntu-artful:+ platform: linux+ template: linux-packages/travis.linux.yml+ params:+ build_command: rake apt:build APT_TARGETS=ubuntu-artful+ package_format: deb+ artifacts:+ - gir1.2-arrow-1.0_{version}-1_amd64.deb+ - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb+ - libarrow-dev_{version}-1_amd64.deb+ - libarrow-glib-dev_{version}-1_amd64.deb+ - libarrow-glib-doc_{version}-1_all.deb+ - libarrow-glib0_{version}-1_amd64.deb+ - libarrow-gpu-dev_{version}-1_amd64.deb+ - libarrow-gpu-glib-dev_{version}-1_amd64.deb+ - libarrow-gpu-glib0_{version}-1_amd64.deb+ - libarrow-gpu0_{version}-1_amd64.deb+ - libarrow-python-dev_{version}-1_amd64.deb+ - libarrow-python0_{version}-1_amd64.deb+ - libarrow0_{version}-1_amd64.deb++ ubuntu-bionic:+ platform: linux+ template: linux-packages/travis.linux.yml+ params:+ build_command: rake apt:build APT_TARGETS=ubuntu-bionic+ package_format: deb+ artifacts:+ - gir1.2-arrow-1.0_{version}-1_amd64.deb+ - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb+ - libarrow-dev_{version}-1_amd64.deb+ - libarrow-glib-dev_{version}-1_amd64.deb+ - libarrow-glib-doc_{version}-1_all.deb+ - libarrow-glib0_{version}-1_amd64.deb+ - libarrow-gpu-dev_{version}-1_amd64.deb+ - libarrow-gpu-glib-dev_{version}-1_amd64.deb+ - libarrow-gpu-glib0_{version}-1_amd64.deb+ - libarrow-gpu0_{version}-1_amd64.deb+ - libarrow-python-dev_{version}-1_amd64.deb+ - libarrow-python0_{version}-1_amd64.deb+ - libarrow0_{version}-1_amd64.deb++ centos-6:+ platform: linux+ template: linux-packages/travis.linux.yml+ params:+ build_command: rake yum:build CENTOS_VERSIONS=6+ package_format: rpm+ artifacts:- arrow-{version}-1.el6.src.rpm- - arrow-{version}-1.el7.src.rpm- arrow-debuginfo-{version}-1.el6.x86_64.rpm- - arrow-debuginfo-{version}-1.el7.x86_64.rpm- arrow-devel-{version}-1.el6.x86_64.rpm+ - arrow-libs-{version}-1.el6.x86_64.rpm+ - arrow-python-devel-{version}-1.el6.x86_64.rpm+ - arrow-python-libs-{version}-1.el6.x86_64.rpm++ centos-7:+ platform: linux+ template: linux-packages/travis.linux.yml+ params:+ build_command: rake yum:build CENTOS_VERSIONS=7+ package_format: rpm+ artifacts:+ - arrow-{version}-1.el7.src.rpm+ - arrow-debuginfo-{version}-1.el7.x86_64.rpm- arrow-devel-{version}-1.el7.x86_64.rpm- arrow-glib-devel-{version}-1.el7.x86_64.rpm- arrow-glib-doc-{version}-1.el7.x86_64.rpm- arrow-glib-libs-{version}-1.el7.x86_64.rpm- - arrow-libs-{version}-1.el6.x86_64.rpm- arrow-libs-{version}-1.el7.x86_64.rpm- - arrow-python-devel-{version}-1.el6.x86_64.rpm- arrow-python-devel-{version}-1.el7.x86_64.rpm- - arrow-python-libs-{version}-1.el6.x86_64.rpm- arrow-python-libs-{version}-1.el7.x86_64.rpm