-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (110 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
126 lines (110 loc) · 2.54 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[build-system]
requires = ["setuptools", "setuptools-scm>8.1"]
build-backend = "setuptools.build_meta"
[project]
name = "edx-codejail"
description = "CodeJail manages execution of untrusted code in secure sandboxes. It is designed primarily for Python execution, but can be used for other languages as well."
requires-python = ">=3.12"
license = "Apache-2.0"
license-files = ["LICENSE*"]
authors = [
{name = "Open edX Project", email = "oscm@openedx.org"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
]
keywords = [
"Python",
"edx",
"codejail",
]
dynamic = ["readme", "version"]
dependencies = [
"six",
]
[project.urls]
Homepage = "https://github.com/openedx/codejail"
Repository = "https://github.com/openedx/codejail"
[dependency-groups]
sandbox = [
"numpy",
"six",
]
test-base = [
{include-group = "sandbox"},
"pylint",
"pytest",
"isort",
"pycodestyle",
]
test = [
{include-group = "test-base"},
"Django>=5.2,<6.0",
]
django42 = [
{include-group = "test-base"},
"Django>=4.2,<5.0",
]
quality = [
{include-group = "test"},
"edx-lint",
]
ci = [
"tox",
"tox-uv",
]
dev = [
{include-group = "quality"},
{include-group = "ci"},
]
[tool.setuptools]
include-package-data = true
script-files = ["memory_stress.py"]
[tool.setuptools.dynamic]
readme = {file = ["README.rst"], content-type = "text/x-rst"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = [
"tests/hello.txt",
]
[tool.semantic_release]
build_command = "pip install build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build"
[tool.setuptools_scm]
version_scheme = 'only-version'
local_scheme = 'no-local-version'
fallback_version = "0.0.0.dev0"
[tool.uv]
package = true
conflicts = [
[{group = "django42"}, {group = "test"}],
[{group = "django42"}, {group = "quality"}],
[{group = "dev"}, {group = "django42"}],
]
constraint-dependencies = [
"Django<6.0",
"elasticsearch<7.14.0",
"social-auth-app-django<6.0.0",
"social-auth-core<5.0.0",
"pip<26.2.1",
]
[tool.edx_lint]
uv_constraints = []
[tool.coverage.run]
branch = true
source = ["codejail"]
omit = [
"*/tests/doit.py",
]
[tool.coverage.report]
show_missing = true
[tool.isort]
include_trailing_comma = true
indent = " "
line_length = 120
multi_line_output = 3