Skip to content

Commit

Permalink
Bump pip from 24.0 to 24.1.1 (#219)
Browse files Browse the repository at this point in the history
* Bump pip from 24.0 to 24.1.1

Bumps [pip](https://github.com/pypa/pip) from 24.0 to 24.1.1.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](pypa/pip@24.0...24.1.1)

---
updated-dependencies:
- dependency-name: pip
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Add changelog entry

* Update cache invalidation test assertions

* Update invalid requirements file test assertions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ed Morley <[email protected]>
  • Loading branch information
dependabot[bot] and edmorley authored Jun 27, 2024
1 parent 79da38b commit a6231e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Updated pip from 23.3.2 to 24.0. ([#219](https://github.com/heroku/buildpacks-python/pull/219))
- Buildpack detection now recognises more types of Python-related files. ([#215](https://github.com/heroku/buildpacks-python/pull/215))

## [0.11.0] - 2024-06-07
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pip==24.0
pip==24.1.1
5 changes: 4 additions & 1 deletion tests/pip_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ fn pip_cache_invalidation_with_compatible_metadata() {
[Installing Python and packaging tools]
Discarding cache since:
- The Python version has changed from 3.12.3 to {DEFAULT_PYTHON_VERSION}
- The pip version has changed from 24.0 to {pip_version}
- The setuptools version has changed from 69.5.1 to {setuptools_version}
Installing Python {DEFAULT_PYTHON_VERSION}
Installing pip {pip_version}, setuptools {setuptools_version} and wheel {wheel_version}
Expand Down Expand Up @@ -233,7 +234,9 @@ fn pip_install_error() {
assert_contains!(
context.pack_stderr,
indoc! {"
ERROR: Invalid requirement: 'an-invalid-requirement!' (from line 1 of requirements.txt)
ERROR: Invalid requirement: 'an-invalid-requirement!': Expected end or semicolon (after name and no valid version specifier)
an-invalid-requirement!
^ (from line 1 of requirements.txt)
[Error: Unable to install dependencies using pip]
The 'pip install' command to install the application's dependencies from
Expand Down

0 comments on commit a6231e5

Please sign in to comment.