Skip to content

Commit d381389

Browse files
authored
Merge pull request #1 from datashield/task/uv
chore: migrate from Poetry to uv
2 parents 0d897a4 + af8d25a commit d381389

File tree

5 files changed

+27
-26
lines changed

5 files changed

+27
-26
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ coverage
2929

3030
.serena/
3131
__pycache__
32+
.venv/

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
install:
2-
poetry install
2+
uv sync
33

44
test:
5-
poetry run pytest
5+
uv run pytest
66

77
build:
8-
poetry build
8+
uv build
99

1010
publish:
11-
poetry publish --build
11+
uv publish
1212

1313
clean:
1414
rm -rf dist
1515

1616
local-install:
17-
pip install ./dist/datashield-*.tar.gz
17+
pip install ./dist/datashield-*.tar.gz

poetry.lock

Lines changed: 0 additions & 7 deletions
This file was deleted.

pyproject.toml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
[tool.poetry]
1+
[project]
22
name = "datashield"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "DataSHIELD Client Interface in Python."
5-
authors = ["Yannick Marcon <yannick.marcon@obiba.org>"]
6-
maintainers = ["Yannick Marcon <yannick.marcon@obiba.org>"]
7-
license = "LGPL"
5+
authors = [{name = "Yannick Marcon", email = "yannick.marcon@obiba.org"}]
6+
maintainers = [{name = "Yannick Marcon", email = "yannick.marcon@obiba.org"}]
7+
license = {text = "LGPL"}
88
readme = "README.md"
9-
homepage = "https://www.datashield.org"
10-
repository = "https://github.com/datashield/datashield-python"
11-
documentation = "https://datashield.github.io/datashield-python"
9+
requires-python = ">=3.10"
10+
dependencies = []
1211

13-
[tool.poetry.urls]
12+
[project.urls]
13+
Homepage = "https://www.datashield.org"
14+
Repository = "https://github.com/datashield/datashield-python"
15+
Documentation = "https://datashield.github.io/datashield-python"
1416
"Bug Tracker" = "https://github.com/datashield/datashield-python/issues"
1517

16-
[tool.poetry.dependencies]
17-
python = "^3.7"
18-
1918
[build-system]
20-
requires = ["poetry-core"]
21-
build-backend = "poetry.core.masonry.api"
19+
requires = ["hatchling"]
20+
build-backend = "hatchling.build"

uv.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)