File: pip3.patch

package info (click to toggle)
python-xarray 2025.03.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 11,608 kB
  • sloc: python: 110,134; makefile: 255; sh: 53
file content (23 lines) | stat: -rw-r--r-- 986 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Alastair McKinstry <mckinstry@debian.org>
Date: Wed, 11 Mar 2020 12:38:00 +0000
Subject: Move from pip -> pip3 for the python2 removal.

Last-Updated: 2020-03-11
Forwarded: no
---
 xarray/util/print_versions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: python-xarray-2025.03.0/xarray/util/print_versions.py
===================================================================
--- python-xarray-2025.03.0.orig/xarray/util/print_versions.py
+++ python-xarray-2025.03.0/xarray/util/print_versions.py
@@ -123,7 +123,7 @@ def show_versions(file=sys.stdout):
         ("numpy_groupies", lambda mod: mod.__version__),
         # xarray setup/test
         ("setuptools", lambda mod: mod.__version__),
-        ("pip", lambda mod: mod.__version__),
+        ("pip3", lambda mod: mod.__version__),
         ("conda", lambda mod: mod.__version__),
         ("pytest", lambda mod: mod.__version__),
         ("mypy", lambda mod: importlib.metadata.version(mod.__name__)),