File tree Expand file tree Collapse file tree 2 files changed +24
-18
lines changed
Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Create a virtualenv and install the dependencies:
77``` bash
88virtualenv env
99source env/bin/activate
10- pip install -r requirements.txt
10+ pip install -e " .[dev] "
1111```
1212
1313The 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
3131For 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
3643To run the unit tests and produce a code coverage report:
Original file line number Diff line number Diff line change @@ -10,35 +10,34 @@ readme = "README.md"
1010authors = [
1111 { name = " Konrad Rokicki" , email = " rokicki@janelia.hhmi.org" }
1212]
13- license = { text = " BSD-3-Clause " }
13+ license = { file = " LICENSE " }
1414classifiers = [
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 "
2020dependencies = [
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 ]
3736dev = [
3837 " pytest" ,
3938 " pytest-cov" ,
4039 " pytest-html" ,
41- " coverage "
40+ " httpx >=0.28 "
4241]
4342
4443[project .urls ]
You can’t perform that action at this time.
0 commit comments