Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | From dca973830d4eee3e0f79e61237c44a9dd8201641 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 2 | From: Trevor Gamblin <trevor.gamblin@windriver.com> |
| 3 | Date: Tue, 22 Jun 2021 12:31:46 -0400 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 4 | Subject: [PATCH] change shebang to python3 |
| 5 | |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 6 | Upstream-Status: Inappropriate (OE-specific) |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 8 | Despite no longer supporting python2, some files in the pip source refer |
| 9 | to "python" instead of "python3", so patch them as needed to ensure that |
| 10 | they correctly reference the python3 binary. |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 11 | |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 12 | Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 13 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | --- |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 15 | src/pip/_vendor/chardet/langbulgarianmodel.py | 2 +- |
| 16 | src/pip/_vendor/chardet/langgreekmodel.py | 2 +- |
| 17 | src/pip/_vendor/chardet/langhebrewmodel.py | 2 +- |
| 18 | src/pip/_vendor/chardet/langhungarianmodel.py | 2 +- |
| 19 | src/pip/_vendor/chardet/langrussianmodel.py | 2 +- |
| 20 | src/pip/_vendor/chardet/langthaimodel.py | 2 +- |
| 21 | src/pip/_vendor/chardet/langturkishmodel.py | 2 +- |
| 22 | src/pip/_vendor/chardet/metadata/languages.py | 2 +- |
| 23 | src/pip/_vendor/requests/certs.py | 2 +- |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 24 | 9 files changed, 9 insertions(+), 9 deletions(-) |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 26 | diff --git a/src/pip/_vendor/chardet/langbulgarianmodel.py b/src/pip/_vendor/chardet/langbulgarianmodel.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 27 | index e963a50..97ea6ce 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 28 | --- a/src/pip/_vendor/chardet/langbulgarianmodel.py |
| 29 | +++ b/src/pip/_vendor/chardet/langbulgarianmodel.py |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 30 | @@ -1,4 +1,4 @@ |
| 31 | -#!/usr/bin/env python |
| 32 | +#!/usr/bin/env python3 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 33 | # -*- coding: utf-8 -*- |
| 34 | |
| 35 | from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel |
| 36 | diff --git a/src/pip/_vendor/chardet/langgreekmodel.py b/src/pip/_vendor/chardet/langgreekmodel.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 37 | index d99528e..4a127ea 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 38 | --- a/src/pip/_vendor/chardet/langgreekmodel.py |
| 39 | +++ b/src/pip/_vendor/chardet/langgreekmodel.py |
| 40 | @@ -1,4 +1,4 @@ |
| 41 | -#!/usr/bin/env python |
| 42 | +#!/usr/bin/env python3 |
| 43 | # -*- coding: utf-8 -*- |
| 44 | |
| 45 | from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel |
| 46 | diff --git a/src/pip/_vendor/chardet/langhebrewmodel.py b/src/pip/_vendor/chardet/langhebrewmodel.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 47 | index 484c652..676c1a7 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 48 | --- a/src/pip/_vendor/chardet/langhebrewmodel.py |
| 49 | +++ b/src/pip/_vendor/chardet/langhebrewmodel.py |
| 50 | @@ -1,4 +1,4 @@ |
| 51 | -#!/usr/bin/env python |
| 52 | +#!/usr/bin/env python3 |
| 53 | # -*- coding: utf-8 -*- |
| 54 | |
| 55 | from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel |
| 56 | diff --git a/src/pip/_vendor/chardet/langhungarianmodel.py b/src/pip/_vendor/chardet/langhungarianmodel.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 57 | index bbc5cda..042eae7 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 58 | --- a/src/pip/_vendor/chardet/langhungarianmodel.py |
| 59 | +++ b/src/pip/_vendor/chardet/langhungarianmodel.py |
| 60 | @@ -1,4 +1,4 @@ |
| 61 | -#!/usr/bin/env python |
| 62 | +#!/usr/bin/env python3 |
| 63 | # -*- coding: utf-8 -*- |
| 64 | |
| 65 | from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel |
| 66 | diff --git a/src/pip/_vendor/chardet/langrussianmodel.py b/src/pip/_vendor/chardet/langrussianmodel.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 67 | index 5594452..564b02e 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 68 | --- a/src/pip/_vendor/chardet/langrussianmodel.py |
| 69 | +++ b/src/pip/_vendor/chardet/langrussianmodel.py |
| 70 | @@ -1,4 +1,4 @@ |
| 71 | -#!/usr/bin/env python |
| 72 | +#!/usr/bin/env python3 |
| 73 | # -*- coding: utf-8 -*- |
| 74 | |
| 75 | from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel |
| 76 | diff --git a/src/pip/_vendor/chardet/langthaimodel.py b/src/pip/_vendor/chardet/langthaimodel.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 77 | index 9a37db5..c974879 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 78 | --- a/src/pip/_vendor/chardet/langthaimodel.py |
| 79 | +++ b/src/pip/_vendor/chardet/langthaimodel.py |
| 80 | @@ -1,4 +1,4 @@ |
| 81 | -#!/usr/bin/env python |
| 82 | +#!/usr/bin/env python3 |
| 83 | # -*- coding: utf-8 -*- |
| 84 | |
| 85 | from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel |
| 86 | diff --git a/src/pip/_vendor/chardet/langturkishmodel.py b/src/pip/_vendor/chardet/langturkishmodel.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 87 | index 43f4230..7e710c3 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 88 | --- a/src/pip/_vendor/chardet/langturkishmodel.py |
| 89 | +++ b/src/pip/_vendor/chardet/langturkishmodel.py |
| 90 | @@ -1,4 +1,4 @@ |
| 91 | -#!/usr/bin/env python |
| 92 | +#!/usr/bin/env python3 |
| 93 | # -*- coding: utf-8 -*- |
| 94 | |
| 95 | from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel |
| 96 | diff --git a/src/pip/_vendor/chardet/metadata/languages.py b/src/pip/_vendor/chardet/metadata/languages.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 97 | index 3237d5a..aa2ec7c 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 98 | --- a/src/pip/_vendor/chardet/metadata/languages.py |
| 99 | +++ b/src/pip/_vendor/chardet/metadata/languages.py |
| 100 | @@ -1,4 +1,4 @@ |
| 101 | -#!/usr/bin/env python |
| 102 | +#!/usr/bin/env python3 |
| 103 | # -*- coding: utf-8 -*- |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 104 | """ |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 105 | Metadata about languages used by our model training code for our |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 106 | diff --git a/src/pip/_vendor/requests/certs.py b/src/pip/_vendor/requests/certs.py |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 107 | index 06a594e..bfa7839 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 108 | --- a/src/pip/_vendor/requests/certs.py |
| 109 | +++ b/src/pip/_vendor/requests/certs.py |
| 110 | @@ -1,4 +1,4 @@ |
| 111 | -#!/usr/bin/env python |
| 112 | +#!/usr/bin/env python3 |
| 113 | # -*- coding: utf-8 -*- |
| 114 | |
| 115 | """ |