-
-
Notifications
You must be signed in to change notification settings - Fork 957
Commit eafaeee
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 44102f3 commit eafaeee
2 files changed
+22
-30
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 | - | ||
11 | - | ||
12 | - | ||
13 | 10 |
| |
14 | 11 |
| |
15 | 12 |
| |
16 | 13 |
| |
17 | 14 |
| |
18 | 15 |
| |
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
23 | - | ||
24 | - | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | - | ||
29 | - | ||
30 | - | ||
31 | - | ||
32 | - | ||
33 | - | ||
34 | - | ||
35 | - | ||
36 | - | ||
37 | - | ||
38 | - | ||
39 | - | ||
40 | - | ||
41 | - | ||
42 | 16 |
| |
43 | 17 |
| |
44 | 18 |
| |
| |||
59 | 33 |
| |
60 | 34 |
| |
61 | 35 |
| |
62 | - | ||
63 | - | ||
64 | 36 |
| |
65 | 37 |
| |
66 | 38 |
| |
|
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