Skip to content

Commit 8581343

Browse files
committed
Add uv.lock file for dependency management
This commit introduces a uv.lock file to track and manage project dependencies. It ensures consistent and reproducible builds by specifying exact versions of required packages. The file documents various packages such as Django, djangorestframework, click, and their respective sources and dependencies.
1 parent 4f2eca1 commit 8581343

File tree

3 files changed

+697
-19
lines changed

3 files changed

+697
-19
lines changed

poetry.lock

Lines changed: 176 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
1-
[tool.poetry]
1+
[project]
22
name = "building-your-first-api-with-django-and-django-rest-framework"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "Tutorial for you to learn how to create a API using Django and Django Rest Framework"
5+
readme = "README.md"
56
authors = ["FeliPython <felipejpa15@gmail.com>"]
67
license = "CC BY-NC-SA"
7-
readme = "README.md"
8-
9-
[tool.poetry.dependencies]
10-
python = "^3.12"
11-
django = "^5.0.3"
12-
djangorestframework = "^3.15.0"
13-
markdown = "^3.6"
14-
pygments = "^2.17.2"
15-
mkdocs-material = "^9.5.15"
16-
pip-tools = "^7.4.1"
17-
taskipy = "^1.12.2"
18-
19-
20-
[tool.poetry.group.dev.dependencies]
8+
requires-python = ">=3.12"
9+
dependencies = [
10+
"django>=5.1",
11+
"djangorestframework>=3.15.2",
12+
"mkdocs-material>=9.5.33",
13+
"taskipy>=1.13.0",
14+
]
2115

2216
[build-system]
23-
requires = ["poetry-core"]
24-
build-backend = "poetry.core.masonry.api"
17+
requires = ["hatchling"]
18+
build-backend = "hatchling.build"
2519

2620
[tool.taskipy.tasks]
2721
docs = { cmd = "mkdocs serve", help = "run documentation server" }

0 commit comments

Comments
 (0)