Skip to content

Commit

Permalink
deps: target python 3.12, move to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Dec 6, 2024
1 parent ca08893 commit 5c989c7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9.13
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9.13
python-version: 3.12
- name: Install System Dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends build-essential curl gettext git
- uses: pre-commit/[email protected]
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-buster
FROM python:3.12-slim

# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
Expand All @@ -19,7 +19,8 @@ RUN apt-get update && \

# Install application-level dependencies
COPY requirements.txt /src/
RUN pip --disable-pip-version-check install -r requirements.txt
RUN pip install uv
RUN uv pip sync requirements.txt --system

# Copy project files over to image
COPY . /src/
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# hhub

[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
![Github CI](https://github.com/gbdev/homebrewhub/actions/workflows/ci.yaml/badge.svg)

This repository provides the source code of the [Homebrew Hub backend](https://hh3.gbdev.io/api), which powers [Homebrew Hub](https://hh.gbdev.io), the largest digital collection of Game Boy and Game Boy Color homebrews, playable natively in your browser.
Expand Down
1 change: 1 addition & 0 deletions manage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""

import os
import sys

Expand Down

0 comments on commit 5c989c7

Please sign in to comment.