Skip to content

Commit

Permalink
Link to the stable release version of Pipenv's docs (#1693)
Browse files Browse the repository at this point in the history
Since the `/latest/` URLs are for the unreleased development
version, rather than the latest stable release.
  • Loading branch information
edmorley authored Nov 8, 2024
1 parent c496baa commit bfe0d09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/python_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function python_version::parse_python_version_file() {
# Read the Python version from a Pipfile.lock, which can exist in one of two optional fields,
# `python_full_version` (as N.N.N) and `python_version` (as N.N). If both fields are
# defined, we will use the value set in `python_full_version`. See:
# https://pipenv.pypa.io/en/latest/specifiers.html#specifying-versions-of-python
# https://pipenv.pypa.io/en/stable/specifiers.html#specifying-versions-of-python
function python_version::read_pipenv_python_version() {
local build_dir="${1}"
local pipfile_lock_path="${build_dir}/Pipfile.lock"
Expand Down Expand Up @@ -259,7 +259,7 @@ function python_version::read_pipenv_python_version() {
then run 'pipenv lock' to regenerate the lockfile.
For more information, see:
https://pipenv.pypa.io/en/latest/specifiers.html#specifying-versions-of-python
https://pipenv.pypa.io/en/stable/specifiers.html#specifying-versions-of-python
EOF
meta_set "failure_reason" "pipfile-lock::invalid-version"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions spec/hatchet/pipenv_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
remote: ! then run 'pipenv lock' to regenerate the lockfile.
remote: !
remote: ! For more information, see:
remote: ! https://pipenv.pypa.io/en/latest/specifiers.html#specifying-versions-of-python
remote: ! https://pipenv.pypa.io/en/stable/specifiers.html#specifying-versions-of-python
remote:
remote: ! Push rejected, failed to compile Python app.
OUTPUT
Expand Down Expand Up @@ -247,7 +247,7 @@
remote: ! then run 'pipenv lock' to regenerate the lockfile.
remote: !
remote: ! For more information, see:
remote: ! https://pipenv.pypa.io/en/latest/specifiers.html#specifying-versions-of-python
remote: ! https://pipenv.pypa.io/en/stable/specifiers.html#specifying-versions-of-python
remote:
remote: ! Push rejected, failed to compile Python app.
OUTPUT
Expand Down

0 comments on commit bfe0d09

Please sign in to comment.