| # 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.31.0", |
| "packaging==26.2", |
| "pathspec==1.1.1", |
| "pluggy==1.6.0", |
| "tomli==2.4.1; python_version < '3.11'", |
| "trove-classifiers==2026.6.1.19", |
| ] |
| build-backend = "hatchling.build" |
| |
| [project] |
| name = "apache-airflow-registry-tools" |
| description = "Extraction and build tools for the Airflow Provider Registry" |
| version = "0.0.1" |
| requires-python = ">=3.10" |
| classifiers = ["Private :: Do Not Upload"] |
| dependencies = [ |
| # `patch_providers_json.py` uses `packaging.version` for newest-first |
| # sorting. It also flows transitively via pydantic, but declare it |
| # explicitly so the script doesn't break if upstream drops the chain. |
| "packaging>=24.0", |
| "pydantic>=2.12.0", |
| "pyyaml>=6.0.3", |
| # extract_versions.py and extract_metadata.py read pyproject.toml via |
| # tomllib (3.11+ stdlib). Fall back to the `tomli` backport on 3.10. |
| "tomli>=2.0.0; python_version < '3.11'", |
| ] |
| |
| [dependency-groups] |
| dev = ["pytest>=9.1.1"] |
| |
| [tool.hatch.build.targets.wheel] |
| packages = ["registry_tools"] |
| |
| [tool.pytest.ini_options] |
| pythonpath = ["."] |