Skip to content

Commit 473c4f5

Browse files
committed
fix #3
1 parent 0fe18d4 commit 473c4f5

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

‎tests/data/example1/poetryv1.toml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[tool.poetry]
2+
name = "depgather"
3+
version = "0.3.0"
4+
description = "Get a list of deps given a pyproject.toml, uv.lock, requirements.txt etc"
5+
authors = ["FredHappyface"]
6+
7+
[tool.poetry.dependencies]
8+
python = ">=3.12"
9+
requirements-parser = ">=0.13.0"
10+
tomli = ">=2.2.1"
11+
12+
[tool.poetry.group.uv.dependencies]
13+
uv = ">=0.6.8"
14+
15+
[tool.poetry.group.pip.dependencies]
16+
pip = ">=26.0.1"
17+
18+
[tool.poetry.group.dev.dependencies]
19+
basedpyright = ">=1.39.7"
20+
coverage = ">=7.6.12"
21+
pytest = ">=8.3.5"
22+
ruff = ">=0.11.0"
23+
24+
[build-system]
25+
requires = ["poetry-core>=1.0.0"]
26+
build-backend = "poetry.core.masonry.api"

‎tests/test_native.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def test_sbom(sbom: str) -> None:
110110
("requirements.in"),
111111
("requirements.txt"),
112112
("pyproject.toml"),
113+
("poetryv1.toml"),
113114
# ("setup.py"),
114115
("setup.cfg"),
115116
],

‎tests/test_uv_cli.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_lockfiles(lockfile: str) -> None:
5252
("requirements.in"),
5353
("requirements.txt"),
5454
("pyproject.toml"),
55+
("poetryv1.toml"),
5556
("setup.py"),
5657
("setup.cfg"),
5758
],

0 commit comments

Comments
 (0)