Skip to content

Commit dfd025b

Browse files
authored
Fix Dev Center links to reflect recent article URL changes (#1723)
After the recent Dev Center re-org, some of the articles URLs and/or heading anchor link names have changed. GUS-W-17428557.
1 parent e831d7e commit dfd025b

File tree

8 files changed

+18
-17
lines changed

8 files changed

+18
-17
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## [Unreleased]
44

5+
- Fixed Dev Center links to reflect recent article URL changes. ([#1723](https://github.com/heroku/heroku-buildpack-python/pull/1723))
56

67
## [v271] - 2024-12-12
78

bin/steps/nltk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@ if is_module_available 'nltk'; then
4747
else
4848
meta_set "nltk_downloader" "skipped-no-nltk-file"
4949
echo " 'nltk.txt' not found, not downloading any corpora"
50-
echo " Learn more: https://devcenter.heroku.com/articles/python-nltk"
5150
fi
5251
fi

bin/steps/python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if ! curl --output /dev/null --silent --head --fail --retry 3 --retry-connrefuse
2020
Error: Python ${python_full_version} isn't available for this stack (${STACK}).
2121
2222
For a list of the supported Python versions, see:
23-
https://devcenter.heroku.com/articles/python-support#supported-runtimes
23+
https://devcenter.heroku.com/articles/python-support#supported-python-versions
2424
EOF
2525
meta_set "failure_reason" "python-version-not-found"
2626
exit 1

lib/python_version.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ function python_version::resolve_python_version() {
299299
${DEFAULT_PYTHON_MAJOR_VERSION}
300300
301301
For a list of the supported Python versions, see:
302-
https://devcenter.heroku.com/articles/python-support#supported-runtimes
302+
https://devcenter.heroku.com/articles/python-support#supported-python-versions
303303
EOF
304304
else
305305
output::error <<-EOF
@@ -315,7 +315,7 @@ function python_version::resolve_python_version() {
315315
version configured via the '${python_version_origin}' file.
316316
317317
For a list of the supported Python versions, see:
318-
https://devcenter.heroku.com/articles/python-support#supported-runtimes
318+
https://devcenter.heroku.com/articles/python-support#supported-python-versions
319319
EOF
320320
fi
321321
meta_set "failure_reason" "python-version::eol"
@@ -347,11 +347,12 @@ function python_version::resolve_python_version() {
347347
Check that this Python version has been officially released,
348348
and that the Python buildpack has added support for it:
349349
https://devguide.python.org/versions/#supported-versions
350-
https://devcenter.heroku.com/articles/python-support#supported-runtimes
350+
https://devcenter.heroku.com/articles/python-support#supported-python-versions
351351
352352
If it has, make sure that you are using the latest version
353-
of this buildpack:
354-
https://devcenter.heroku.com/articles/python-support#checking-the-python-buildpack-version
353+
of this buildpack, and have not pinned to an older release:
354+
https://devcenter.heroku.com/articles/managing-buildpacks#view-your-buildpacks
355+
https://devcenter.heroku.com/articles/managing-buildpacks#classic-buildpacks-references
355356
356357
Otherwise, switch to a supported version (such as Python ${DEFAULT_PYTHON_MAJOR_VERSION})
357358
by updating the version configured via the '${python_version_origin}' file.

spec/hatchet/nltk_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX))
3434
remote: -----> Downloading NLTK corpora...
3535
remote: 'nltk.txt' not found, not downloading any corpora
36-
remote: Learn more: https://devcenter.heroku.com/articles/python-nltk
3736
REGEX
3837
end
3938
end

spec/hatchet/pipenv_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
remote: ! version configured via the 'Pipfile.lock' file.
281281
remote: !
282282
remote: ! For a list of the supported Python versions, see:
283-
remote: ! https://devcenter.heroku.com/articles/python-support#supported-runtimes
283+
remote: ! https://devcenter.heroku.com/articles/python-support#supported-python-versions
284284
remote:
285285
remote: ! Push rejected, failed to compile Python app.
286286
OUTPUT

spec/hatchet/python_update_warning_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
remote: ! Error: Python 3.8.0 isn't available for this stack (#{app.stack}).
5555
remote: !
5656
remote: ! For a list of the supported Python versions, see:
57-
remote: ! https://devcenter.heroku.com/articles/python-support#supported-runtimes
57+
remote: ! https://devcenter.heroku.com/articles/python-support#supported-python-versions
5858
remote:
5959
remote: ! Push rejected, failed to compile Python app.
6060
OUTPUT

spec/hatchet/python_version_spec.rb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
remote: ! Error: Python #{LATEST_PYTHON_3_8} isn't available for this stack (#{app.stack}).
122122
remote: !
123123
remote: ! For a list of the supported Python versions, see:
124-
remote: ! https://devcenter.heroku.com/articles/python-support#supported-runtimes
124+
remote: ! https://devcenter.heroku.com/articles/python-support#supported-python-versions
125125
remote:
126126
remote: ! Push rejected, failed to compile Python app.
127127
OUTPUT
@@ -266,7 +266,7 @@
266266
remote: ! version configured via the '.python-version' file.
267267
remote: !
268268
remote: ! For a list of the supported Python versions, see:
269-
remote: ! https://devcenter.heroku.com/articles/python-support#supported-runtimes
269+
remote: ! https://devcenter.heroku.com/articles/python-support#supported-python-versions
270270
remote:
271271
remote: ! Push rejected, failed to compile Python app.
272272
OUTPUT
@@ -290,11 +290,12 @@
290290
remote: ! Check that this Python version has been officially released,
291291
remote: ! and that the Python buildpack has added support for it:
292292
remote: ! https://devguide.python.org/versions/#supported-versions
293-
remote: ! https://devcenter.heroku.com/articles/python-support#supported-runtimes
293+
remote: ! https://devcenter.heroku.com/articles/python-support#supported-python-versions
294294
remote: !
295295
remote: ! If it has, make sure that you are using the latest version
296-
remote: ! of this buildpack:
297-
remote: ! https://devcenter.heroku.com/articles/python-support#checking-the-python-buildpack-version
296+
remote: ! of this buildpack, and have not pinned to an older release:
297+
remote: ! https://devcenter.heroku.com/articles/managing-buildpacks#view-your-buildpacks
298+
remote: ! https://devcenter.heroku.com/articles/managing-buildpacks#classic-buildpacks-references
298299
remote: !
299300
remote: ! Otherwise, switch to a supported version (such as Python #{DEFAULT_PYTHON_MAJOR_VERSION})
300301
remote: ! by updating the version configured via the '.python-version' file.
@@ -317,7 +318,7 @@
317318
remote: ! Error: Python 3.12.999 isn't available for this stack (#{app.stack}).
318319
remote: !
319320
remote: ! For a list of the supported Python versions, see:
320-
remote: ! https://devcenter.heroku.com/articles/python-support#supported-runtimes
321+
remote: ! https://devcenter.heroku.com/articles/python-support#supported-python-versions
321322
remote:
322323
remote: ! Push rejected, failed to compile Python app.
323324
OUTPUT
@@ -378,7 +379,7 @@
378379
remote: ! version configured via the 'runtime.txt' file.
379380
remote: !
380381
remote: ! For a list of the supported Python versions, see:
381-
remote: ! https://devcenter.heroku.com/articles/python-support#supported-runtimes
382+
remote: ! https://devcenter.heroku.com/articles/python-support#supported-python-versions
382383
remote:
383384
remote: ! Push rejected, failed to compile Python app.
384385
OUTPUT

0 commit comments

Comments
 (0)