Skip to content

Commit d4ef4da

Browse files
Full send 3.12
1 parent 87c49a8 commit d4ef4da

File tree

7 files changed

+13
-21
lines changed

7 files changed

+13
-21
lines changed

.github/workflows/format-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.9'
19+
python-version: '3.12'
2020

2121
- name: Install ruff
2222
run: pip install ruff

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
python-version: [3.9]
18+
python-version: [3.12]
1919

2020
steps:
2121
- name: Install ldap dependencies
@@ -38,7 +38,7 @@ jobs:
3838

3939
strategy:
4040
matrix:
41-
python-version: [3.9]
41+
python-version: [3.12]
4242

4343
steps:
4444
- name: Install ldap dependencies

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM docker.io/python:3.9-slim-trixie
1+
FROM python:3.12-slim-bookworm
22

33
RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
44
RUN apt-get -yq update && \
55
apt-get -yq --no-install-recommends install gcc curl libsasl2-dev libldap2-dev libssl-dev gnupg2 git && \
6-
apt-get -yq clean all \
6+
apt-get -yq clean all && \
77
curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
88
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor -o /usr/share/keyrings/yarn-archive-keyring.gpg && \
99
echo "deb [signed-by=/usr/share/keyrings/yarn-archive-keyring.gpg] https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \

Dockerfile.dev

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM ghcr.io/astral-sh/uv:python3.9-bookworm-slim
1+
FROM python:3.12-slim-bookworm
22

33
RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
44
RUN apt-get -yq update && \
55
apt-get -yq --no-install-recommends install gcc curl libsasl2-dev libldap2-dev libssl-dev gnupg2 git && \
6-
apt-get -yq clean all \
6+
apt-get -yq clean all && \
77
curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
88
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor -o /usr/share/keyrings/yarn-archive-keyring.gpg && \
99
echo "deb [signed-by=/usr/share/keyrings/yarn-archive-keyring.gpg] https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
@@ -14,7 +14,7 @@ RUN mkdir /opt/packet
1414
WORKDIR /opt/packet
1515

1616
COPY requirements.txt /opt/packet/
17-
RUN uv pip install -r requirements.txt --system
17+
RUN pip install uv && uv pip install -r requirements.txt --system
1818

1919
COPY package.json /opt/packet/
2020
COPY yarn.lock /opt/packet/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CSH Web Packet
22

3-
[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)
3+
[![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-312/)
44
[![Build Status](https://travis-ci.com/ComputerScienceHouse/packet.svg?branch=develop)](https://travis-ci.com/ComputerScienceHouse/packet)
55

66
Packet is used by CSH to facilitate the freshmen packet portion of our introductory member evaluation process. This is

requirements.txt

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile requirements.in
5+
# pip-compile --cert=None --client-cert=None --index-url=None --pip-args=None '.\requirements.in'
66
#
77
alembic==1.16.4
88
# via flask-migrate
@@ -148,15 +148,9 @@ sqlalchemy2-stubs==0.0.2a38
148148
# via sqlalchemy
149149
srvlookup==2.0.0
150150
# via csh-ldap
151-
tomli==2.2.1
152-
# via
153-
# alembic
154-
# mypy
155-
# pep517
156151
typing-extensions==4.14.1
157152
# via
158153
# alembic
159-
# bytecode
160154
# ddtrace
161155
# mypy
162156
# opentelemetry-api
@@ -179,9 +173,7 @@ wheel==0.45.1
179173
wrapt==1.12.1
180174
# via ddtrace
181175
zipp==3.23.0
182-
# via
183-
# importlib-metadata
184-
# importlib-resources
176+
# via importlib-metadata
185177

186178
# The following packages are considered to be unsafe in a requirements file:
187179
# pip

ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude = [
44
".venv",
55
]
66

7-
target-version = "py39"
7+
target-version = "py312"
88
line-length = 120
99

1010
[lint]

0 commit comments

Comments
 (0)