diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 7c93e6d..4b437d0 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v3 diff --git a/Dockerfile b/Dockerfile index 1036b39..29fe75b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Dockerfile for running simeon in a container -FROM python:3.11-slim +FROM python:3.13.2-slim # Set a key-value label for the Docker image LABEL maintainer="MIT Institutional Research" LABEL email="irx@mit.edu" diff --git a/pyproject.toml b/pyproject.toml index 45a1b98..a488daa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,8 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Text Processing", ] diff --git a/setup.py b/setup.py index 1ba6445..01f6ab9 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,9 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Text Processing", ], diff --git a/simeon/scripts/utilities.py b/simeon/scripts/utilities.py index 5f905c6..941612e 100644 --- a/simeon/scripts/utilities.py +++ b/simeon/scripts/utilities.py @@ -436,7 +436,7 @@ def process_extra_args(extras): # If it's a file, try reading it as a JSON file if isinstance(extras, str) and extras.startswith("@"): - with open(extras) as file_handle: + with open(extras[1:]) as file_handle: return json.load(file_handle) # Otherwise, process the string