-
Notifications
You must be signed in to change notification settings - Fork 17k
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (82 loc) · 2.55 KB
/
pyproject.toml
File metadata and controls
88 lines (82 loc) · 2.55 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
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[build-system]
requires = [
"hatchling==1.29.0",
"packaging==26.1",
"pathspec==1.1.0",
"pluggy==1.6.0",
"tomli==2.4.1; python_version < '3.11'",
"trove-classifiers==2026.1.14.14",
]
build-backend = "hatchling.build"
[project]
name = "apache-airflow-kubernetes-tests"
description = "Kubernetes tests for Apache Airflow"
classifiers = [
"Private :: Do Not Upload",
]
requires-python = ">=3.10,!=3.15"
authors = [
{ name = "Apache Software Foundation", email = "dev@airflow.apache.org" },
]
maintainers = [
{ name = "Apache Software Foundation", email="dev@airflow.apache.org" },
]
version = "0.0.1"
dependencies = [
"apache-airflow-core",
"apache-airflow-devel-common",
"apache-airflow-providers-cncf-kubernetes",
"apache-airflow-providers-standard",
"apache-airflow-task-sdk",
# Requests 3 if it will be released, will be heavily breaking.
"requests>=2.32.0,<3",
# Urllib 2.6.0 breaks kubernetes client because kubernetes client uses deprecated in 2.0.0 and
# removed in 2.6.0 `getheaders()` call (instead of `headers` property.
# Tracked in https://github.com/kubernetes-client/python/issues/2477
"urllib3>=2.1.0,!=2.6.0",
]
[tool.pytest]
addopts = [
"-rasl",
"--verbosity=2",
"-p", "no:flaky",
"-p", "no:nose",
"-p", "no:legacypath",
]
norecursedirs = [
".eggs",
]
log_level = "INFO"
filterwarnings = [
"error::pytest.PytestCollectionWarning",
]
python_files = [
"*.py",
]
# Keep temporary directories (created by `tmp_path`) for 2 recent runs only failed tests.
tmp_path_retention_count = "2"
tmp_path_retention_policy = "failed"
[tool.hatch.build.targets.sdist]
exclude = ["*"]
[tool.hatch.build.targets.wheel]
bypass-selection = true
[dependency-groups]
mypy = [
"apache-airflow-devel-common[mypy]",
]