-
Notifications
You must be signed in to change notification settings - Fork 85
/
pyproject.toml
64 lines (58 loc) · 1.65 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[build-system]
requires = ["hatchling >=1.5"]
build-backend = "hatchling.build"
[project]
name = "metakernel"
authors = [{name = "Metakernel Developers", email = "[email protected]"}]
classifiers = [
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Framework :: IPython",
"Topic :: System :: Shells",
]
urls = {Homepage = "https://github.com/Calysto/metakernel"}
requires-python = ">=3.8"
dependencies = [
"ipykernel >=5.5.6,<7",
"jupyter_core >=4.9.2",
"pexpect >=4.8",
"jedi >=0.18",
]
dynamic = ["description", "version"]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"requests",
"jupyter_kernel_test",
"pytest-timeout",
]
activity = ["portalocker"] # activity magic
parallel = ["ipyparallel"] # parallel magic
[tool.hatch.version]
path = "metakernel/__init__.py"
[tool.hatch.build]
exclude = [
"docs/",
"examples",
]
[tool.pytest.ini_options]
addopts= "-raXs --durations 10 --color=yes --doctest-modules"
testpaths = ["metakernel/tests", "metakernel/magics/tests"]
timeout = 300
# Restore this setting to debug failures
# timeout_method = "thread"
filterwarnings= [
# Fail on warnings
"error",
"ignore:unclosed event loop:ResourceWarning",
"ignore:There is no current event loop:DeprecationWarning",
# When we run ipcluster and then run the tests we get this warning
"ignore:Widget.* is deprecated:DeprecationWarning",
"module:datetime.datetime.utc:DeprecationWarning:dateutil",
"module:datetime.datetime.utc:DeprecationWarning:ipyparallel",
]