Skip to content

Commit baf7e5e

Browse files
committed
update poetry
1 parent af887e8 commit baf7e5e

2 files changed

Lines changed: 26 additions & 32 deletions

File tree

poetry.lock

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

pyproject.toml

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,39 @@
1-
[tool.poetry]
1+
[project]
22
name = "dataall-cli"
33
version = "0.3.0a1"
44
description = "AWS data.all CLI"
5-
authors = ["Amazon Web Services"]
6-
license = "Apache License 2.0"
7-
5+
authors = [{name = "Amazon Web Services"}]
6+
license = {text = "Apache License 2.0"}
87
readme = "README.md"
9-
10-
include = ["README.md"]
11-
12-
exclude = ["*.so", "*.pyc", "*~", "#*", ".git*", ".coverage*", "DS_Store", "__pycache__"]
13-
14-
158
keywords = ["dataall", "aws"]
16-
179
classifiers = [
1810
"Programming Language :: Python :: 3.9",
1911
"Programming Language :: Python :: 3.10",
2012
"Programming Language :: Python :: 3.11",
2113
"Programming Language :: Python :: 3.12",
2214
]
15+
requires-python = ">=3.9,<4.0"
16+
dependencies = [
17+
"boto3>=1.28.22",
18+
"botocore>=1.31.22",
19+
"typing-extensions>=4.4.0",
20+
"packaging>=21.1,<24.0",
21+
"click>=8.1.6",
22+
"atomicfile>=1.0.1",
23+
"PyYAML>=6.0.1",
24+
"setuptools; python_version >= '3.12'",
25+
"pytest-mock>=3.14.0",
26+
"dataall-core>=0.3.0a2",
27+
]
2328

24-
[tool.poetry.dependencies]
25-
python = ">=3.9, <4.0"
26-
27-
# Required
28-
boto3 = "^1.28.22"
29-
botocore = "^1.31.22"
30-
typing-extensions = "^4.4.0"
31-
packaging = ">=21.1,<24.0"
32-
click = "^8.1.6"
33-
atomicfile = "^1.0.1"
34-
PyYAML = "^6.0.1"
29+
[project.scripts]
30+
dataall_cli = "dataall_cli.cli:dataall_cli"
3531

36-
# needed because Py 3.12 removed distutils, which some libraries still need
37-
setuptools = {version = "*", markers = "python_version >= \"3.12\""}
38-
pytest-mock = "^3.14.0"
39-
dataall-core = "^0.3.0a1"
32+
[tool.poetry]
33+
include = ["README.md"]
34+
exclude = ["*.so", "*.pyc", "*~", "#*", ".git*", ".coverage*", "DS_Store", "__pycache__"]
4035

41-
[tool.poetry.dev-dependencies]
36+
[tool.poetry.group.dev.dependencies]
4237
# Build
4338
setuptools = "*"
4439
wheel = "^0.42.0"
@@ -77,7 +72,7 @@ sphinx-autobuild = "^2024.4.0"
7772

7873

7974
[build-system]
80-
requires = ["poetry-core>=1.0.0"]
75+
requires = ["poetry-core>=2.0.0"]
8176
build-backend = "poetry.core.masonry.api"
8277

8378
[tool.ruff]
@@ -109,8 +104,7 @@ fixable = ["ALL"]
109104
[tool.ruff.lint.pydocstyle]
110105
convention = "numpy"
111106

112-
[tool.poetry.scripts]
113-
dataall_cli = "dataall_cli.cli:dataall_cli"
107+
114108

115109
[tool.mypy]
116110
python_version = "3.9"

0 commit comments

Comments
 (0)