Skip to content

Commit

Permalink
feat: updated uv to 0.4.0 and adjusted config accordingly (#186)
Browse files Browse the repository at this point in the history
* feat: updated uv to 0.4.0 and adjusted config accordingly

* fix: updated lockfile

* fix: updated uv in GH workflow
  • Loading branch information
TeKrop authored Aug 29, 2024
1 parent 875d506 commit 051aaee
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 79 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.3.3"]
uv-version: ["0.4.0"]

steps:
- uses: actions/checkout@v4
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.3.3
ARG UV_VERSION=0.4.0

# 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 Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ clean: down ## Clean up Docker environment
docker network prune -f

lock: ## Update lock file
$(DOCKER_RUN) uv lock
uv lock

.PHONY: help build start lint format shell exec test up down clean lock
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "overfast-api"
version = "2.35.1"
version = "2.35.2"
description = "Overwatch API giving data about heroes, maps, and players statistics."
license = {file = "LICENSE"}
authors = [
Expand All @@ -25,9 +25,6 @@ Documentation = "https://overfast-api.tekrop.fr"
Repository = "https://github.com/TeKrop/overfast-api"
Issues = "https://github.com/TeKrop/overfast-api/issues"

[tool.setuptools]
packages = ["app"]

[tool.uv]
compile-bytecode = true
dev-dependencies = [
Expand Down
Loading

0 comments on commit 051aaee

Please sign in to comment.