Skip to content

Commit

Permalink
Merge pull request #18 from MITLibraries/IN-1086-maintenance-11-2024
Browse files Browse the repository at this point in the history
IN 1086 - Bump python version 3.12 and update dependencies
  • Loading branch information
ghukill authored Nov 20, 2024
2 parents 26b95e9 + da21872 commit 7be77da
Show file tree
Hide file tree
Showing 6 changed files with 572 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: python3.11 # set for project python version
python: python3.12 # set for project python version
repos:
- repo: local
hooks:
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11.4
3.12
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim as build
FROM python:3.12-slim as build
WORKDIR /app
COPY . .

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pytest = "*"
ruff = "*"

[requires]
python_version = "3.11"
python_version = "3.12"

[scripts]
my_app = "python -c \"from my_app.cli import main; main()\""
567 changes: 567 additions & 0 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exclude = ["tests/"]
log_level = "INFO"

[tool.ruff]
target-version = "py311"
target-version = "py312"

# set max line length
line-length = 90
Expand Down

0 comments on commit 7be77da

Please sign in to comment.