-
Notifications
You must be signed in to change notification settings - Fork 52
/
pyproject.toml
112 lines (97 loc) · 2.66 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
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
[build-system]
# https://github.com/ofek/hatch-vcs
requires = ["hatchling>=1.14.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "conda-store-server"
description = "Conda Environment Management, Builds, and Serve"
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
keywords = ["conda"]
authors = [
{ name = "Christopher Ostrouchov", email = "[email protected]" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"conda-docker; sys_platform == 'linux'",
"conda-pack",
"celery",
"sqlalchemy",
"requests",
"fastapi",
"pyyaml",
"redis",
"pydantic<2",
"minio",
"traitlets",
"pyjwt",
"yarl",
"filelock",
"itsdangerous",
"jinja2",
"python-multipart",
"python-docker"
# conda (which should not be included here)
]
dynamic = ["version"]
[project.urls]
Homepage = "https://conda.store/"
Source = "https://github.com/conda-incubator/conda-store"
[tool.hatch.version]
path = "conda_store_server/__init__.py"
[project.optional-dependencies]
dev = ["build", "twine"]
[tool.hatch.envs.dev]
dependencies = [
"pre-commit",
"sphinx",
"myst-parser",
"sphinx-panels",
"sphinx-copybutton",
"pydata-sphinx-theme",
"pytest",
"pytest-mock",
"pytest-playwright",
]
[tool.hatch.envs.dev.scripts]
lint = ["pre-commit run --all"]
unit-test = "pytest tests -v"
playwright-test = [
"playwright install",
"pytest --video on ../tests/test_playwright.py"
]
integration-test = ["pytest ../tests/test_api.py ../tests/test_metrics.py"]
user-journey-test = ["pytest -m user_journey"]
[tool.hatch.build.hooks.custom]
[tool.hatch.build.targets.sdist.hooks.custom]
[project.scripts]
conda-store-server = "conda_store_server.server.__main__:main"
conda-store-worker = "conda_store_server.worker.__main__:main"
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39']
[tool.ruff]
ignore = [
"E501", # line-length
]
[tool.check-wheel-contents]
# ignore alembic migrations https://github.com/jwodder/check-wheel-contents?tab=readme-ov-file#w004--module-is-not-located-at-importable-path
ignore = ["W004"]
[tool.pytest.ini_options]
markers = [
"playwright: mark a test as a playwright test",
"integration: mark a test as an integration test",
"user_journey: mark a test as a user journey test",
]