From a7fca420f24f2d7e1823093d2383e7295a15e22e Mon Sep 17 00:00:00 2001 From: Oskar Haarklou Veileborg Date: Mon, 17 Jun 2024 09:20:20 +0200 Subject: [PATCH 1/2] Swap old_version and new_version in `pipenv update --outdated` output --- pipenv/routines/outdated.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/routines/outdated.py b/pipenv/routines/outdated.py index 5340e7454..d1ef19332 100644 --- a/pipenv/routines/outdated.py +++ b/pipenv/routines/outdated.py @@ -88,7 +88,7 @@ def do_outdated(project, pypi_mirror=None, pre=False, clear=False): if not outdated: click.echo(click.style("All packages are up to date!", fg="green", bold=True)) sys.exit(0) - for package, new_version, old_version in outdated: + for package, old_version, new_version in outdated: click.echo( f"Package {package!r} out-of-date: {old_version!r} installed, {new_version!r} available." ) From c930fd99fff1f8207252d6bae87610af8b0fb961 Mon Sep 17 00:00:00 2001 From: Oskar Haarklou Veileborg Date: Tue, 16 Jul 2024 11:03:22 +0200 Subject: [PATCH 2/2] Add news file --- news/6179.bugfix.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/6179.bugfix.rst diff --git a/news/6179.bugfix.rst b/news/6179.bugfix.rst new file mode 100644 index 000000000..a2545d940 --- /dev/null +++ b/news/6179.bugfix.rst @@ -0,0 +1 @@ +Swap old_version and new_version in pipenv update --outdated output.