-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dependencies and use Python 3.12 (#25)
- Loading branch information
Showing
10 changed files
with
318 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.11 | ||
FROM python:3.12 | ||
|
||
RUN mkdir -p /opt/src/dist | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "sagemaker-shim" | ||
version = "0.3.0a2" | ||
version = "0.3.0" | ||
description = "Adapts algorithms that implement the Grand Challenge inference API for running in SageMaker" | ||
authors = ["James Meakin <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -16,8 +16,8 @@ sagemaker-shim = "sagemaker_shim.cli:cli" | |
|
||
[tool.poetry.dependencies] | ||
# Only support one version of python at a time | ||
python = "^3.11,<3.12" | ||
fastapi = "!=0.89.0" | ||
python = "^3.12,<3.13" | ||
fastapi = "!=0.89.0,<0.111.0" # See https://github.com/DIAGNijmegen/rse-sagemaker-shim/issues/26 | ||
uvicorn = "*" | ||
click = "*" | ||
boto3 = "*" | ||
|
@@ -48,7 +48,7 @@ line_length = 79 | |
|
||
[tool.black] | ||
line-length = 79 | ||
target-version = ['py311'] | ||
target-version = ['py312'] | ||
|
||
[tool.pytest.ini_options] | ||
markers = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[mypy] | ||
python_version = 3.11 | ||
python_version = 3.12 | ||
plugins = pydantic.mypy | ||
strict = True | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters