-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #715 from heroku/python312-compat
Python 3.12 compatibility for build tooling
- Loading branch information
Showing
12 changed files
with
72 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
bob-builder>=0.0.15 | ||
bob-builder>=0.0.20 | ||
s3cmd>=1.6.0 | ||
natsort |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
print_or_export_manifest_cmd() { | ||
if [[ "${MANIFEST_CMD:-}" ]]; then | ||
echo "$1" > $MANIFEST_CMD | ||
echo "$1" > "$MANIFEST_CMD" | ||
else | ||
echo "-----> Done. Run '$1' to upload manifest." | ||
echo "-----> Done. To upload manifest, run: $1" | ||
fi | ||
} | ||
|
||
generate_manifest_cmd() { | ||
echo "s3cmd --host=${S3_REGION:-s3}.amazonaws.com --host-bucket='%(bucket)s.${S3_REGION:-s3}.amazonaws.com' --ssl -m application/json put $(pwd)/${1} s3://${S3_BUCKET}/${S3_PREFIX}${1}" | ||
echo "s3cmd --host=s3.${S3_REGION:-}${S3_REGION:+.}amazonaws.com --host-bucket='%(bucket)s.s3.${S3_REGION:-}${S3_REGION:+.}amazonaws.com' --ssl -m application/json put $(pwd)/${1} s3://${S3_BUCKET}/${S3_PREFIX}${1}" | ||
} | ||
|
||
soname_version() { | ||
soname=$(objdump -p $1 | grep SONAME | awk '{ printf $2; }') | ||
file=$(basename $1) | ||
soname=$(objdump -p "$1" | grep SONAME | awk '{ printf $2; }') | ||
file=$(basename "$1") | ||
echo "${soname#${file}.}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
NOW="2022-01-26 20:49:45" STACK=heroku-20 S3_BUCKET=lang-php S3_PREFIX=dist-heroku-20-develop/ S3_REGION=s3.us-east-1 | ||
NOW="2022-01-26 20:49:45" STACK=heroku-20 S3_BUCKET=lang-php S3_PREFIX=dist-heroku-20-develop/ S3_REGION=us-east-1 |