Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit3aacb37
committed
Use a "test" extra instead of tests_require
Because tests_require is deprecated since setuptools 41.5.0 withthe intention that it will be removed in some future version (notedinhttps://setuptools.pypa.io/en/latest/references/keywords.html).It is somewhat unintuitive for GitPython to have a "test" extra, asit makes it so "GitPython[test]" can be specified for installationfrom PyPI to get test dependencies, even though the PyPI packagedoesn't include the unit test themselves.However, this makes the statement in README.md that the installertakes care of both requirements.txt and test-requirements.txtdependencies fully true, instead of moving further away from that.Because it is now possible to make an editable GitPython installwith test as well as minimal dependencies installed, this commitalso updates the readme to document and recommend this.1 parent63c4624 commit3aacb37
2 files changed
+41
-10
lines changedLines changed: 40 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
| 95 | + | |
| 96 | + | |
95 | 97 |
| |
96 | 98 |
| |
97 | 99 |
| |
| |||
120 | 122 |
| |
121 | 123 |
| |
122 | 124 |
| |
123 |
| - | |
124 |
| - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
125 | 142 |
| |
126 |
| - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
127 | 148 |
| |
128 |
| - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
129 | 152 |
| |
130 |
| - | |
| 153 | + | |
131 | 154 |
| |
132 |
| - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
133 | 164 |
| |
134 |
| - | |
| 165 | + | |
135 | 166 |
| |
136 |
| - | |
| 167 | + | |
137 | 168 |
| |
138 | 169 |
| |
139 | 170 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
98 |
| - | |
| 98 | + | |
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
|
0 commit comments
Comments
(0)