Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This reverts commit db391a8.
  • Loading branch information
stuhood authored May 3, 2019
1 parent c9be6bc commit 6437a91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build-support/bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function fetch_and_check_prebuilt_wheels() {
do
packages=($(find_pkg "${PACKAGE}" "${PANTS_UNSTABLE_VERSION}" "${check_dir}"))
if [ ${#packages[@]} -eq 0 ]; then
missing+=("${PACKAGE}")
missing+=("${NAME}")
continue
fi

Expand All @@ -529,7 +529,7 @@ function fetch_and_check_prebuilt_wheels() {

# N.B. For platform-specific wheels, we expect 6 wheels: {linux,osx} * {cp27m,cp27mu,abi3}.
if [ "${cross_platform}" != "true" ] && [ ${#packages[@]} -ne 6 ]; then
missing+=("${PACKAGE} (expected whls for each platform: had only ${packages[@]})")
missing+=("${NAME} (expected whls for each platform: had only ${packages[@]})")
continue
fi
done
Expand Down
3 changes: 1 addition & 2 deletions src/python/pants/java/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,4 @@ def _spawn(self, cmd, cwd, stdout=None, stderr=None, stdin=None, **subprocess_ar
return subprocess.Popen(cmd, cwd=cwd, stdin=stdin, stdout=stdout, stderr=stderr,
**subprocess_args)
except OSError as e:
raise self.Error('Problem executing {0} at cwd={1}: {2}'
.format(self._distribution.java, cwd, e))
raise self.Error('Problem executing {0}: {1}'.format(self._distribution.java, e))
2 changes: 1 addition & 1 deletion tests/python/pants_test/java/distribution/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ python_tests(
sources = ['test_distribution_integration.py'],
dependencies = [
'3rdparty/python:future',
'3rdparty/python/twitter/commons:twitter.common.collections',
'src/python/pants/java/distribution',
'src/python/pants/util:osutil',
'tests/python/pants_test:int-test',
'tests/python/pants_test/subsystem:subsystem_utils',
'3rdparty/python/twitter/commons:twitter.common.collections',
],
tags = {'integration'},
timeout = 120,
Expand Down

0 comments on commit 6437a91

Please sign in to comment.