Skip to content

Commit c2ee67f

Browse files
committed
add orjson as dependency
1 parent be1c509 commit c2ee67f

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
- name: Install dependencies
8585
run: |
8686
python -m pip install --upgrade pip
87-
python -m pip install .["all,test"]
87+
python -m pip install .["test"]
8888
8989
- name: Run Benchmark
9090
run: python -m pytest tests/benchmarks.py --benchmark-only --benchmark-columns 'min, max, mean, median' --benchmark-json output.json --asyncio-mode=strict

‎dockerfiles/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY README.md README.md
88
COPY tifeatures/ tifeatures/
99
COPY pyproject.toml pyproject.toml
1010

11-
RUN pip install .["all"] --no-cache-dir
11+
RUN pip install . --no-cache-dir
1212
RUN rm -rf tifeatures/ README.md pyproject.toml
1313

1414
ENV MODULE_NAME tifeatures.main

‎pyproject.toml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers = [
2020
]
2121
dynamic = ["version"]
2222
dependencies = [
23+
"orjson",
2324
"asyncpg>=0.23.0",
2425
"buildpg>=0.3",
2526
"fastapi>=0.87",
@@ -33,9 +34,6 @@ dependencies = [
3334
]
3435

3536
[project.optional-dependencies]
36-
all = [
37-
"orjson"
38-
]
3937
test = [
4038
"pytest",
4139
"pytest-cov",
@@ -50,7 +48,7 @@ dev = [
5048
"pre-commit",
5149
]
5250
server = [
53-
"uvicorn[standard]>=0.12.0,<0.16.0",
51+
"uvicorn[standard]>=0.12.0,<0.19.0",
5452
]
5553
docs = [
5654
"mkdocs",

0 commit comments

Comments
 (0)