Skip to content

Commit 1f07c4f

Browse files
committed
cleaned up deps
1 parent b6b12c2 commit 1f07c4f

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

docs/Development.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Create a virtualenv and install the dependencies:
77
```bash
88
virtualenv env
99
source env/bin/activate
10-
pip install -r requirements.txt
10+
pip install -e ".[dev]"
1111
```
1212

1313
The service is written using FastAPI and runs inside of Uvicorn. You can start a dev server quickly with the `run.sh` helper script:
@@ -31,6 +31,13 @@ uvicorn x2s3.app:app --host 0.0.0.0 --port 8000 --workers 8 --access-log --ssl-k
3131
For production deployments, please refer to the main [README](../README.md) file.
3232

3333

34+
## Freezing requirements
35+
36+
```bash
37+
pip freeze | grep -v '^-e' > requirements.txt
38+
```
39+
40+
3441
## Testing
3542

3643
To run the unit tests and produce a code coverage report:

pyproject.toml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,34 @@ readme = "README.md"
1010
authors = [
1111
{ name = "Konrad Rokicki", email = "rokicki@janelia.hhmi.org" }
1212
]
13-
license = { text = "BSD-3-Clause" }
13+
license = { file = "LICENSE" }
1414
classifiers = [
1515
"Programming Language :: Python :: 3",
1616
"License :: OSI Approved :: BSD License",
1717
"Operating System :: OS Independent",
1818
]
19-
requires-python = ">=3.6"
19+
requires-python = ">=3.12"
2020
dependencies = [
21-
"aiobotocore",
22-
"boto3",
23-
"botocore",
24-
"fastapi",
25-
"loguru",
26-
"pydantic",
27-
"pydantic-settings",
28-
"python-dateutil",
29-
"pytest",
30-
"starlette",
31-
"typing_extensions",
32-
"uvicorn",
33-
"httpx",
34-
"jinja2"
21+
"aiobotocore >=2.22",
22+
"boto3 >=1.37",
23+
"botocore >=1.37",
24+
"fastapi >=0.115",
25+
"loguru >=0.7",
26+
"pydantic >=2.11",
27+
"pydantic-settings >=2.9",
28+
"python-dateutil >=2.9",
29+
"pytest >=8.3",
30+
"starlette >=0.46",
31+
"typing_extensions >=4.13",
32+
"uvicorn >=0.34",
33+
"jinja2 >=3.1"
3534
]
3635
[project.optional-dependencies]
3736
dev = [
3837
"pytest",
3938
"pytest-cov",
4039
"pytest-html",
41-
"coverage"
40+
"httpx >=0.28"
4241
]
4342

4443
[project.urls]

0 commit comments

Comments
 (0)