File tree Expand file tree Collapse file tree 7 files changed +13
-21
lines changed
Expand file tree Collapse file tree 7 files changed +13
-21
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1515
1616 strategy :
1717 matrix :
18- python-version : [3.9 ]
18+ python-version : [3.12 ]
1919
2020 steps :
2121 - name : Install ldap dependencies
3838
3939 strategy :
4040 matrix :
41- python-version : [3.9 ]
41+ python-version : [3.12 ]
4242
4343 steps :
4444 - name : Install ldap dependencies
Original file line number Diff line number Diff line change 1- FROM docker.io/ python:3.9 -slim-trixie
1+ FROM python:3.12 -slim-bookworm
22
33RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
44RUN 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 && \
Original file line number Diff line number Diff line change 1- FROM ghcr.io/astral-sh/uv:python3.9-bookworm- slim
1+ FROM python:3.12- slim-bookworm
22
33RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
44RUN 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
1414WORKDIR /opt/packet
1515
1616COPY 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
1919COPY package.json /opt/packet/
2020COPY yarn.lock /opt/packet/
Original file line number Diff line number Diff line change 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
66Packet is used by CSH to facilitate the freshmen packet portion of our introductory member evaluation process. This is
Original file line number Diff line number Diff line change 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#
77alembic == 1.16.4
88 # via flask-migrate
@@ -148,15 +148,9 @@ sqlalchemy2-stubs==0.0.2a38
148148 # via sqlalchemy
149149srvlookup == 2.0.0
150150 # via csh-ldap
151- tomli == 2.2.1
152- # via
153- # alembic
154- # mypy
155- # pep517
156151typing-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
179173wrapt == 1.12.1
180174 # via ddtrace
181175zipp == 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
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ exclude = [
44 " .venv" ,
55]
66
7- target-version = " py39 "
7+ target-version = " py312 "
88line-length = 120
99
1010[lint ]
You can’t perform that action at this time.
0 commit comments