-
-
Notifications
You must be signed in to change notification settings - Fork 957
Commit 00aee49
committed
Never modify sys.path
This removes the logic that, under some (most) circumstances when
not using a version from PyPI, would insert the location of the
gitdb git-submodule near the front of sys.path.
(As noted in #1717, the specific way this was being done was not
causing the git-submodule's version of gitdb to actually be used.
But it was still modifying sys.path, which this now prevents.)
The installation test, which had verified the insertion into
sys.path, is modified accordingly, except that for now the check
that the very first sys.path entry is undisturbed is kept in place.1 parent df777fd commit 00aee49
2 files changed
+22
-31
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | - | ||
10 | - | ||
11 | - | ||
12 | - | ||
13 | 9 |
| |
14 | 10 |
| |
15 | 11 |
| |
16 | 12 |
| |
17 | 13 |
| |
18 | - | ||
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
23 | - | ||
24 | - | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | - | ||
29 | - | ||
30 | - | ||
31 | - | ||
32 | - | ||
33 | - | ||
34 | - | ||
35 | - | ||
36 | - | ||
37 | - | ||
38 | - | ||
39 | - | ||
40 | - | ||
41 | 14 |
| |
42 | 15 |
| |
43 | 16 |
| |
| |||
62 | 35 |
| |
63 | 36 |
| |
64 | 37 |
| |
65 | - | ||
66 | - | ||
67 | 38 |
| |
68 | 39 |
| |
69 | 40 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | + | ||
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
38 | - | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
39 | 45 |
| |
40 | 46 |
| |
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
44 | 65 |
| |
45 | 66 |
| |
46 | 67 |
| |
| |||
53 | 74 |
| |
54 | 75 |
| |
55 | 76 |
| |
56 | - | ||
|
0 commit comments