Skip to content

Commit 41e0f64

Browse files
authored
Merge pull request #782 from heroku/next-release
Test updates
2 parents 62eaae3 + b3988a5 commit 41e0f64

File tree

24 files changed

+117
-44
lines changed

24 files changed

+117
-44
lines changed

bin/compile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ export VENDOR_URL
4949
# These variables are used to specify which versions of Python to install by default,
5050
# as well as prompt the user to upgrade if they are using an un–supported version.
5151
# Note: When 3.7 lands, I recommend switching to LATEST_36 and LATEST_37.
52-
DEFAULT_PYTHON_VERSION="python-3.6.6"
53-
LATEST_36="python-3.6.6"
54-
LATEST_37="python-3.7.0"
52+
DEFAULT_PYTHON_VERSION="python-3.6.7"
53+
LATEST_36="python-3.6.7"
54+
LATEST_37="python-3.7.1"
5555
LATEST_35="python-3.5.6"
5656
LATEST_34="python-3.4.9"
5757
LATEST_27="python-2.7.15"

bin/steps/pipenv-python-version

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [[ -f $BUILD_DIR/Pipfile ]]; then
1919
if [[ "$PYTHON" == "null" ]]; then
2020
PYTHON=$(jq -r '._meta.requires.python_version' "$BUILD_DIR/Pipfile.lock")
2121
if [ "$PYTHON" = 2.7 ]; then
22-
echo "$LATEST_2" > "$BUILD_DIR/runtime.txt"
22+
echo "$LATEST_27" > "$BUILD_DIR/runtime.txt"
2323
fi
2424
if [ "$PYTHON" = 3.6 ]; then
2525
echo "$LATEST_36" > "$BUILD_DIR/runtime.txt"
@@ -33,4 +33,3 @@ if [[ -f $BUILD_DIR/Pipfile ]]; then
3333
fi
3434
fi
3535
fi
36-

spec/hatchet/python_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
it "🐍" do
55
Hatchet::Runner.new('python-getting-started', stack: DEFAULT_STACK).deploy do |app|
66
expect(app.output).to match(/Installing pip/)
7-
expect(app.run('python -V')).to match(/3.6.6/)
7+
expect(app.run('python -V')).to match(/3.6.7/)
88
end
99
end
1010
end

test/fixtures/pipenv-version/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ verify_ssl = true
66
requests = "*"
77

88
[requires]
9-
python_version = "3.6"
9+
python_version = "3.6"

test/fixtures/pipenv-version2/Pipfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
8+
[dev-packages]
9+
10+
[requires]
11+
python_version = "2.7"

test/fixtures/pipenv-version2/Pipfile.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
requests
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-2.7.16
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-3.4.10

0 commit comments

Comments
 (0)