Skip to content

Commit

Permalink
compare/chore/python-3.10.15 (#250)
Browse files Browse the repository at this point in the history
- downgrade to python 3.10.15
- end-to-end and pytests passing
  • Loading branch information
emiliecowen authored Oct 8, 2024
1 parent 479bfae commit 202fd5b
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry1.dso.mil/ironbank/opensource/python:v3.11.9
FROM registry1.dso.mil/ironbank/opensource/python:v3.10.15

WORKDIR /home/python

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# If you want to use conda, not required
1. Make sure that you have `conda` installed. [Recommend this article if on Mac, just do through step 2](https://caffeinedev.medium.com/how-to-install-tensorflow-on-m1-mac-8e9b91d93706).

2. Create and activate a new conda environment, e.g., `transformers-api` with python 3.11.
2. Create and activate a new conda environment, e.g., `transformers-api` with python 3.10.
```bash
conda create --name transformers-api python==3.11.9
conda create --name transformers-api python==3.10.15
conda activate transformers-api
```

Expand Down
73 changes: 61 additions & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
packages = [{include = "app"}]

[tool.poetry.dependencies]
python = "~3.11"
python = "~3.10"
urllib3 = "2.0.7"
fastapi = "^0.95.2"
uvicorn = "^0.22.0"
Expand Down

0 comments on commit 202fd5b

Please sign in to comment.