-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (65 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
69 lines (65 loc) · 2.44 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
[build-system]
requires = [
"setuptools >= 65.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "bertron"
# Project version identifier.
#
# Note: The GitHub Actions workflow in `.github/workflows/build-and-push-image.yaml`
# will replace this version identifier when building a container image. The
# replacement will be the name of the Git tag associated with the GitHub Release
# whose publishing triggered the GitHub Actions workflow run.
#
version = "0.0.0"
authors = [
{name = "Chuck Parker", email = "ctparker@lbl.gov"},
]
description = "Cross-BER Data Integration"
readme = "README.md"
requires-python = ">=3.10.0,<3.14"
dependencies = [
# Note: To depend upon the package built from the contents of the _latest commit_
# on the _default branch_ in the `bertron-schema` repository, use:
# ```
# "bertron-schema @ git+https://github.com/ber-data/bertron-schema.git"
# ```
# To depend upon the package built from the contents of a _specific commit_
# (identified by either the commit's hash or the name of a tag referencing
# that commit) in the `bertron-schema` repository, use:
# ```
# "bertron-schema @ git+https://github.com/ber-data/bertron-schema.git@{COMMIT_HASH__OR__TAG_NAME}"
# ```
# Reference: https://pip.pypa.io/en/stable/topics/vcs-support/
#
"bertron-schema @ git+https://github.com/ber-data/bertron-schema.git",
# "dtspy @ https://github.com/kbase/dtspy/archive/730828cff3924fc4b2215fe5c1b67bc04aad377f.tar.gz",
"fastapi[standard]>=0.115.12",
# `httpx` is a dependency of FastAPI's `TestClient` class, which we use
# in the server test suite. It is also a dependency of `src/ingest_data.py`,
# which is why we currently list it as a non-dev dependency.
"httpx>=0.28.1",
"jsonschema>=4.0.0",
"nmdc-api-utilities>=0.3.9",
"pydantic-settings>=2.10.1",
"pymongo>=4.13.1",
# Note: We use `scalar-fastapi` to integrate Scalar API documentation with FastAPI.
"scalar-fastapi >= 1.4.1",
"uvicorn>=0.34.3",
]
[dependency-groups]
dev = [
"pre-commit>=4.1.0",
"pyright>=1.1.386",
"pytest>=8.4.1",
"ruff>=0.9.9",
]
[tool.pyright]
venvPath = "."
venv = ".venv"
# Configure pytest.
# Docs: https://docs.pytest.org/en/stable/reference/customize.html#pyproject-toml
[tool.pytest.ini_options]
# Configure pytest to run doctests, and to ignore directories that contain currently-broken modules.
addopts = "--doctest-modules"