1
1
[build-system ]
2
- requires = [" setuptools>=67.0.0" ]
3
2
build-backend = " setuptools.build_meta"
4
-
3
+ requires = [
4
+ " setuptools>=67" ,
5
+ ]
5
6
6
7
[project ]
7
8
name = " pipenv"
9
+ description = " Python Development Workflow for Humans."
10
+ readme = " README.md"
11
+ license = {file = " LICENSE" }
8
12
authors = [
9
13
{name = " Pipenv maintainer team" , email = " distutils-sig@python.org" },
10
14
]
11
- description = " Python Development Workflow for Humans."
12
- readme = " README.md"
13
15
requires-python = " >=3.7"
14
- license = {file = " LICENSE" }
15
16
classifiers =[
16
17
" License :: OSI Approved :: MIT License" ,
17
18
" Programming Language :: Python" ,
18
- " Programming Language :: Python :: 3" ,
19
+ " Programming Language :: Python :: 3 :: Only " ,
19
20
" Programming Language :: Python :: 3.7" ,
20
21
" Programming Language :: Python :: 3.8" ,
21
22
" Programming Language :: Python :: 3.9" ,
@@ -24,43 +25,38 @@ classifiers=[
24
25
" Programming Language :: Python :: Implementation :: CPython" ,
25
26
" Programming Language :: Python :: Implementation :: PyPy" ,
26
27
]
28
+ dynamic = [
29
+ " version" ,
30
+ ]
27
31
dependencies = [
28
32
" certifi" ,
29
- " setuptools>=67.0.0 " ,
33
+ " setuptools>=67" ,
30
34
" virtualenv>=20.24.2" ,
31
35
]
32
- dynamic = [" version" ]
33
-
34
-
35
36
[project .optional-dependencies ]
36
37
dev = [
37
- " towncrier" ,
38
38
" beautifulsoup4" ,
39
- " sphinx" ,
40
- " flake8>=3.3.0,<4.0" ,
41
- " black==23.3.0" ,
42
- " parver" ,
39
+ " black==23.3" ,
40
+ " flake8<4.0,>=3.3" ,
43
41
" invoke" ,
42
+ " parver" ,
43
+ " sphinx" ,
44
+ " towncrier" ,
44
45
]
45
46
tests = [
46
- " pytest>=5.0" ,
47
- " pytest-timeout" ,
48
- " pytest-xdist" ,
49
47
" flaky" ,
50
48
" mock" ,
49
+ " pytest>=5" ,
50
+ " pytest-timeout" ,
51
+ " pytest-xdist" ,
51
52
]
52
-
53
-
54
- [project .scripts ]
55
- pipenv = " pipenv:cli"
56
- pipenv-resolver = " pipenv.resolver:main"
57
-
58
-
59
53
[project .urls ]
60
- Homepage = " https://github.com/pypa/pipenv"
61
54
Documentation = " https://pipenv.pypa.io/en/latest/"
55
+ Homepage = " https://github.com/pypa/pipenv"
62
56
Source = " https://github.com/pypa/pipenv.git"
63
-
57
+ [project .scripts ]
58
+ pipenv = " pipenv:cli"
59
+ pipenv-resolver = " pipenv.resolver:main"
64
60
65
61
[tool .setuptools .packages .find ]
66
62
where = [" ." ]
@@ -113,73 +109,6 @@ exclude = '''
113
109
)
114
110
'''
115
111
116
-
117
- [tool .coverage .run ]
118
- parallel = true
119
-
120
-
121
- [tool .mypy ]
122
- ignore_missing_imports = true
123
- follow_imports = " skip"
124
- html_report = " mypyhtml"
125
- python_version = " 3.7"
126
- mypy_path = " typeshed/pyi:typeshed/imports"
127
-
128
-
129
- [tool .pytest .ini_options ]
130
- addopts = " -ra"
131
- plugins = " xdist"
132
- testpaths = [" tests" ]
133
- # Add vendor and patched in addition to the default list of ignored dirs
134
- # Additionally, ignore tasks, news, test subdirectories and peeps directory
135
- norecursedirs = [
136
- " .*" ,
137
- " build" ,
138
- " dist" ,
139
- " CVS" ,
140
- " _darcs" ,
141
- " {arch}" ,
142
- " *.egg" ,
143
- " vendor" ,
144
- " patched" ,
145
- " news" ,
146
- " tasks" ,
147
- " docs" ,
148
- " tests/test_artifacts" ,
149
- " tests/pypi" ,
150
- " peeps" ,
151
- ]
152
- filterwarnings = []
153
- # These are not all the custom markers, but most of the ones with repeat uses
154
- # `pipenv run pytest --markers` will list all markers including these
155
- markers = [
156
- " install: tests having to do with `pipenv install`" ,
157
- " update: tests having to do with `pipenv update`" ,
158
- " needs_internet: integration tests that require internet to pass" ,
159
- " basic: basic pipenv tests grouping" ,
160
- " dev: tests having to do with dev and dev packages" ,
161
- " system: related or interacting with the os" ,
162
- " utils: grouping of pipenv utility functions" ,
163
- " cli: test grouping that relate to command line like `pipenv --flag args`" ,
164
- " requirements: tests that save and alter pip requirements" ,
165
- " run: tests that run or execute python through pipenv" ,
166
- " script: grouping of tests that execute scripts" ,
167
- " keep_outdated: when an activity is supposed to keep something out of date" ,
168
- " lock: tests that interact with pipenv lock" ,
169
- " markers: pipenv environment markers" ,
170
- " vcs: tests integration with pipenv and vertsion control systems" ,
171
- " project: tests with the project object" ,
172
- " sync: related to `pipenv sync`" ,
173
- " rrule: relating to rrules (as in recurring time)" ,
174
- " tzoffset: timezone offset" ,
175
- " gettz: tests with gettz (get timezone) from dateutil lib" ,
176
- " tzstr: timezone string" ,
177
- " extras" ,
178
- " extended" ,
179
- " ext: extra non-categorized tests" ,
180
- ]
181
-
182
-
183
112
[tool .ruff ]
184
113
exclude = [
185
114
" pipenv/patched/*" ,
@@ -240,6 +169,68 @@ max-statements = 155
240
169
"tests/unit/test_funktools.py" = [" B015" ]
241
170
"tests/unit/test_utils.py" = [" F811" ]
242
171
172
+ [tool .pytest .ini_options ]
173
+ addopts = " -ra"
174
+ plugins = " xdist"
175
+ testpaths = [" tests" ]
176
+ # Add vendor and patched in addition to the default list of ignored dirs
177
+ # Additionally, ignore tasks, news, test subdirectories and peeps directory
178
+ norecursedirs = [
179
+ " .*" ,
180
+ " build" ,
181
+ " dist" ,
182
+ " CVS" ,
183
+ " _darcs" ,
184
+ " {arch}" ,
185
+ " *.egg" ,
186
+ " vendor" ,
187
+ " patched" ,
188
+ " news" ,
189
+ " tasks" ,
190
+ " docs" ,
191
+ " tests/test_artifacts" ,
192
+ " tests/pypi" ,
193
+ " peeps" ,
194
+ ]
195
+ filterwarnings = []
196
+ # These are not all the custom markers, but most of the ones with repeat uses
197
+ # `pipenv run pytest --markers` will list all markers including these
198
+ markers = [
199
+ " install: tests having to do with `pipenv install`" ,
200
+ " update: tests having to do with `pipenv update`" ,
201
+ " needs_internet: integration tests that require internet to pass" ,
202
+ " basic: basic pipenv tests grouping" ,
203
+ " dev: tests having to do with dev and dev packages" ,
204
+ " system: related or interacting with the os" ,
205
+ " utils: grouping of pipenv utility functions" ,
206
+ " cli: test grouping that relate to command line like `pipenv --flag args`" ,
207
+ " requirements: tests that save and alter pip requirements" ,
208
+ " run: tests that run or execute python through pipenv" ,
209
+ " script: grouping of tests that execute scripts" ,
210
+ " keep_outdated: when an activity is supposed to keep something out of date" ,
211
+ " lock: tests that interact with pipenv lock" ,
212
+ " markers: pipenv environment markers" ,
213
+ " vcs: tests integration with pipenv and vertsion control systems" ,
214
+ " project: tests with the project object" ,
215
+ " sync: related to `pipenv sync`" ,
216
+ " rrule: relating to rrules (as in recurring time)" ,
217
+ " tzoffset: timezone offset" ,
218
+ " gettz: tests with gettz (get timezone) from dateutil lib" ,
219
+ " tzstr: timezone string" ,
220
+ " extras" ,
221
+ " extended" ,
222
+ " ext: extra non-categorized tests" ,
223
+ ]
224
+
225
+ [tool .coverage .run ]
226
+ parallel = true
227
+
228
+ [tool .mypy ]
229
+ ignore_missing_imports = true
230
+ follow_imports = " skip"
231
+ html_report = " mypyhtml"
232
+ python_version = " 3.7"
233
+ mypy_path = " typeshed/pyi:typeshed/imports"
243
234
244
235
[tool .towncrier ]
245
236
package = " pipenv"
0 commit comments