Skip to content

Commit

Permalink
[internal] Update the release volume limit and remove validate from…
Browse files Browse the repository at this point in the history
… hooks. (#14390)

pypi/support#1376 was approved, so increase the limit for the pre-release size check. Additionally, remove the deprecated `validate` goal from the commit hooks.

[ci skip-rust]
  • Loading branch information
stuhood authored Feb 7, 2022
1 parent 21443cc commit f2daa4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build-support/bin/_release_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ def validate_testutil_pkg(version: str, venv_bin_dir: Path, extra_pip_args: list
PANTS_PKG = Package(
"pantsbuild.pants",
"src/python/pants:pants-packaged",
# TODO: See https://github.com/pypa/pypi-support/issues/1376.
20000,
# Increased from the default limit of 20GB via https://github.com/pypa/pypi-support/issues/1376.
40000,
validate_pants_pkg,
)
TESTUTIL_PKG = Package(
Expand Down
2 changes: 1 addition & 1 deletion build-support/githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "* Typechecking"
./pants --changed-since="${MERGE_BASE}" --changed-dependees=transitive check

echo "* Checking linters, formatters, and headers"
./pants --changed-since="${MERGE_BASE}" lint validate ||
./pants --changed-since="${MERGE_BASE}" lint ||
die "If there were formatting errors, run \`./pants --changed-since=$(git rev-parse --symbolic "${MERGE_BASE}") fmt\`"

if git diff "${MERGE_BASE}" --name-only | grep build-support/bin/generate_github_workflows.py > /dev/null; then
Expand Down

0 comments on commit f2daa4c

Please sign in to comment.