Skip to content

Commit 983be16

Browse files
committed
Bump python 3.12
Why these changes are being introduced: This CLI was stuck on python 3.11 for awhile while untangling some mypy linting errors. Turns out it was luigi >= 3.5.2 that presented the issues. With luigi still pinned, we can perform python version update and update dependencies. How this addresses that need: * Python version bumped to 3.12 * Luigi remains pinned, for now, at 3.5.1 * Dependencies updated Side effects of this change: * Python version updated Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/IN-1240 * https://mitlibraries.atlassian.net/browse/IN-1258
1 parent a076899 commit 983be16

File tree

6 files changed

+529
-606
lines changed

6 files changed

+529
-606
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: python3.11 # set for project python version
2+
python: python3.12 # set for project python version
33
repos:
44
- repo: local
55
hooks:

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11.8
1+
3.12

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim as build
1+
FROM python:3.12-slim as build
22

33
# Set path for Oracle client libraries
44
ENV LD_LIBRARY_PATH /opt/lib/

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pytest-mock = "*"
3333
pip-audit = "*"
3434

3535
[requires]
36-
python_version = "3.11"
36+
python_version = "3.12"
3737

3838
[scripts]
3939
hrqb = "python -c \"from hrqb.cli import main; main()\""

0 commit comments

Comments
 (0)