Skip to content

Commit

Permalink
feat: updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TeKrop committed Oct 11, 2024
1 parent 5e9d333 commit fef07f2
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
python-version: ["3.12"]
uv-version: ["0.4.10"]
uv-version: ["0.4.20"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ default_language_version:
python: python3.12
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.2
rev: v0.6.9
hooks:
- id: ruff
name: (ruff) Linting and fixing code
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
name: (ruff) Formatting code
- repo: https://github.com/sourcery-ai/sourcery
rev: v1.16.0
rev: v1.23.0
hooks:
- id: sourcery
name: (sourcery) Checking code quality
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build arguments
ARG PYTHON_VERSION=3.12
ARG UV_VERSION=0.4.10
ARG UV_VERSION=0.4.20

# Create a temporary stage to pull the uv binary
FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv-stage
Expand Down
2 changes: 1 addition & 1 deletion build/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build arguments
ARG NGINX_VERSION=1.27.0
ARG NGINX_VERSION=1.27.2
ARG NGX_HTTP_REDIS_VERSION=0.3.9

FROM nginx:${NGINX_VERSION}-alpine
Expand Down
4 changes: 0 additions & 4 deletions build/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ http {
access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

keepalive_timeout 65;

#gzip on;

upstream redisbackend {
server redis:6379;
keepalive 1024;
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "overfast-api"
version = "2.37.1"
version = "2.37.2"
description = "Overwatch API giving data about heroes, maps, and players statistics."
license = {file = "LICENSE"}
authors = [
Expand All @@ -10,11 +10,11 @@ readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"beautifulsoup4==4.12.*",
"fastapi[standard]==0.114.*",
"fastapi[standard]==0.115.*",
"httpx[http2]==0.27.*",
"loguru==0.7.*",
"lxml==5.3.*",
"redis==5.0.*",
"redis==5.1.*",
"pydantic==2.9.*",
"pydantic-settings==2.5.*",
]
Expand All @@ -28,15 +28,15 @@ Issues = "https://github.com/TeKrop/overfast-api/issues"
[tool.uv]
compile-bytecode = true
dev-dependencies = [
"fakeredis==2.24.*",
"fakeredis==2.25.*",
"ipdb==0.13.*",
"pytest==8.3.*",
"pytest-asyncio==0.24.*",
"pytest-cov==5.0.*",
"pytest-randomly==3.15.*",
"pytest-xdist==3.6.*",
"ruff==0.6.*",
"pre-commit==3.8.*",
"pre-commit==4.0.*",
]

[tool.ruff]
Expand Down
34 changes: 17 additions & 17 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fef07f2

Please sign in to comment.