Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (82 loc) · 2.5 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (82 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "commercetools"
dynamic = ["version"]
description = "SDK for Commercetools"
readme = "README.rst"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Lab Digital B.V.", email = "opensource@labdigital.nl" }]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"requests>=2.7.0",
"pytz",
"requests-oauthlib>=1.0.0",
"requests_mock>=1.8.0",
# marshmallow 4 removed APIs the generated schemas use
"marshmallow>=3.10.0,<4",
"marshmallow-enum>=1.5.1",
"WebOb>=1.8.0",
"Werkzeug>=0.15.2",
"wrapt>=1.10.0",
]
[project.urls]
Homepage = "https://github.com/labd/commercetools-python-sdk"
Documentation = "https://commercetools-python-sdk.readthedocs.io/"
Changelog = "https://github.com/labd/commercetools-python-sdk/blob/main/CHANGES.md"
[dependency-groups]
dev = [{ include-group = "test" }]
test = [
"freezegun>=1.5.5",
"mock>=4.0.3",
"pretend>=1.0.9",
"coverage[toml]>=7.16.2",
"pytest-cov>=7.1.0",
"pytest>=9.1.1",
"ruff>=0.17.0",
"mypy>=1.9.0",
]
docs = [
"Sphinx>=7.0.1",
"sphinx-autodoc-typehints>=1.23.3",
"m2r2>=0.3.1",
"sphinx-rtd-theme>=3.1.0",
]
[tool.uv]
# supply-chain: only resolve releases at least 14 days old; use
# exclude-newer-package for urgent security fixes
exclude-newer = "14 days"
[tool.uv.exclude-newer-package]
# Locked versions newer than the 14-day cutoff; remove after 2026-11-09
certifi = "2026-10-27T00:00:00Z" # 2026.10.23 fixes GHSA-6q48-6c7w-9gw2
[tool.hatch.version]
path = "src/commercetools/version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/commercetools"]
[tool.hatch.build.targets.sdist]
include = ["src", "tests", "README.rst", "LICENSE"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages", ".tox/*/lib/python*/site-packages"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
[tool.ruff.lint.isort]
known-first-party = ["commercetools", "tests"]
[tool.ruff.lint.per-file-ignores]
# Generated by rmf-codegen
"src/commercetools/{platform,importapi,frontend,checkout}/**" = ["F401", "F541", "F821"]