Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heroku-buildpack-python
Commits
9625a9f9
Commit
9625a9f9
authored
6 years ago
by
Casey Faist
Browse files
Options
Downloads
Patches
Plain Diff
check for user specified pipenv version
parent
8ffa4143
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+6
-0
6 additions, 0 deletions
CHANGELOG.md
bin/steps/pipenv
+10
-1
10 additions, 1 deletion
bin/steps/pipenv
with
16 additions
and
1 deletion
CHANGELOG.md
+
6
−
0
View file @
9625a9f9
# Python Buildpack Changelog
#141 (2018-10-10)
Pin pipenv to version 2018.7.1
Use same pip version is used for pip and pipenv installs
Allow pipenv version override
# 140 (2018-10-09)
Add support for detecting SLUGIFY_USES_TEXT_UNIDECODE, which is required to
...
...
This diff is collapsed.
Click to expand it.
bin/steps/pipenv
+
10
−
1
View file @
9625a9f9
...
...
@@ -41,6 +41,15 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
mcount
"buildvar.PIP_EXTRA_INDEX_URL"
fi
# PIP_EXTRA_INDEX_URL allows for an alternate pypi URL to be used.
if
[[
-r
$ENV_DIR
/DEFAULT_PIPENV_VERSION
]]
;
then
DEFAULT_PIPENV_VERSION
=
"
$(
cat
"
$ENV_DIR
/DEFAULT_PIPENV_VERSION"
)
"
export
DEFAULT_PIPENV_VERSION
mcount
"buildvar.DEFAULT_PIPENV_VERSION"
else
export
DEFAULT_PIPENV_VERSION
=
"2018.7.1"
fi
# Set SLUGIFY_USES_TEXT_UNIDECODE, required for Airflow versions >=1.10
if
[[
-r
$ENV_DIR
/SLUGIFY_USES_TEXT_UNIDECODE
]]
;
then
SLUGIFY_USES_TEXT_UNIDECODE
=
"
$(
cat
"
$ENV_DIR
/SLUGIFY_USES_TEXT_UNIDECODE"
)
"
...
...
@@ -48,7 +57,7 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
mcount
"buildvar.SLUGIFY_USES_TEXT_UNIDECODE"
fi
export
DEFAULT_PIPENV_VERSION
=
"2018.7.1"
# Install pipenv; do not upgrade.
/app/.heroku/python/bin/pip
install
pipenv
==
$PIPENV_VERSION
&> /dev/null
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment