Skip to content

Commit

Permalink
fix: downgrade python, asyncpraw, uvloop
Browse files Browse the repository at this point in the history
disable auto merge as python doesn't do semantic versioning
  • Loading branch information
TommasoAmici committed Dec 28, 2024
1 parent e6be0ab commit 6544b3e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python 3.13.1
python 3.11
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# build python venv
FROM python:3.13-alpine AS build-python
FROM python:3.11-alpine AS build-python
RUN apk update && apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo \
py3-brotli brotli brotli-dev brotli-libs g++
RUN pip install --no-cache-dir --upgrade pip wheel
COPY requirements.txt /
RUN pip install --no-cache-dir --user --prefer-binary -r requirements.txt

FROM python:3.13-alpine
FROM python:3.11-alpine
COPY --from=build-python /root/.local /usr/local
# Make sure scripts in /usr/local/bin are usable:
ENV PATH=/usr/local/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
"automerge": false
}
]
}
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
aiogram==2.25.2
aiohttp[speedups]==3.8.6
yt-dlp==2024.12.23
uvloop==0.21.0
asyncpraw==7.8.1
uvloop==0.20.0
asyncpraw==7.7.1

0 comments on commit 6544b3e

Please sign in to comment.