mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
* [main] CI: Upgrade important CI environment * Ignore pydantic-ai's generic OpenAI-compatible provider in vendor drift checks pydantic-ai-slim 2.63.0 adds a provider for any OpenAI-compatible endpoint. It needs a service name at construction and infer_model has no prefix for it, so a common.ai connection can never reach it and it is not a vendor the services page should list. Generated-by: Claude Opus 5 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
130 lines
3.3 KiB
TOML
130 lines
3.3 KiB
TOML
# 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.33.0",
|
|
"packaging==26.3",
|
|
"pathspec==1.1.1",
|
|
"pluggy==1.7.0",
|
|
"tomlkit==0.15.2",
|
|
"trove-classifiers==2026.9.21.13",
|
|
]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "apache-airflow-client"
|
|
dynamic = ["version"]
|
|
description = "Apache Airflow API (Stable)"
|
|
readme = "README.md"
|
|
license = "Apache-2.0"
|
|
license-files = ["LICENSE", "NOTICE"]
|
|
requires-python = ">=3.11,!=3.15"
|
|
authors = [
|
|
{ name = "Apache Software Foundation", email = "dev@airflow.apache.org" },
|
|
]
|
|
keywords = [
|
|
"Apache Airflow API (Stable)",
|
|
"OpenAPI",
|
|
"OpenAPI-Generator",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Environment :: Console",
|
|
"Environment :: Web Environment",
|
|
"Framework :: Apache Airflow",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Programming Language :: Python :: 3.14",
|
|
"Topic :: System :: Monitoring",
|
|
]
|
|
|
|
dependencies = [
|
|
"pydantic >= 2.11.0",
|
|
"python-dateutil>=2.7.0",
|
|
"urllib3>=2.1.0,!=2.6.0",
|
|
]
|
|
|
|
[project.urls]
|
|
"Bug Tracker" = "https://github.com/apache/airflow/issues"
|
|
Changelog = "https://github.com/apache/airflow-client-python/blob/main/CHANGELOG.md"
|
|
Documentation = "https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html"
|
|
Download = "https://archive.apache.org/dist/airflow/clients/python/"
|
|
Homepage = "https://airflow.apache.org/"
|
|
"Source Code" = "https://github.com/apache/airflow-client-python"
|
|
|
|
[tool.hatch.envs.test]
|
|
dependencies = [
|
|
"pytest-cov>=2.8.1",
|
|
]
|
|
|
|
[tool.hatch.envs.test.scripts]
|
|
run-coverage = "pytest test"
|
|
run = "run-coverage --no-cov"
|
|
|
|
[[tool.hatch.envs.test.matrix]]
|
|
python = ["3.11", "3.12"]
|
|
|
|
[tool.hatch.version]
|
|
path = "./version.txt"
|
|
pattern = "^(?P<version>.+)$"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
artifacts = [
|
|
"/airflow_client",
|
|
"/docs",
|
|
"/test",
|
|
"v2.yaml",
|
|
]
|
|
include = [
|
|
"version.txt",
|
|
"INSTALL",
|
|
"README.md",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
artifacts = [
|
|
"/airflow_client",
|
|
"v2.yaml",
|
|
]
|
|
include = [
|
|
"/airflow_client",
|
|
]
|
|
|
|
[tool.pytest]
|
|
# make sure that pytest.ini is not read from pyproject.toml in paraent directories
|
|
addopts = [
|
|
"--color=yes",
|
|
"--cov-config=pyproject.toml",
|
|
"--cov=airflow_client",
|
|
]
|
|
|
|
norecursedirs = [
|
|
]
|
|
log_level = "INFO"
|
|
filterwarnings = [
|
|
]
|
|
python_files = [
|
|
"test_*.py",
|
|
]
|
|
testpaths = [
|
|
"test",
|
|
]
|