This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 79d54f3ca08 Change old performance sub-project to pyproject.toml
(#58372)
79d54f3ca08 is described below
commit 79d54f3ca087fc42c4616724ba141eb1e2225045
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Nov 16 17:42:07 2025 +0100
Change old performance sub-project to pyproject.toml (#58372)
We keep on getting dependabot upgrades for this project and it's
not really used (will be replaced by performance framework soon
hopefully). In the meantime changing to pyproject.toml and
removing `==` requirements should make dependabot more happy.
---
performance/README.md | 45 ++++++++++++++++++++++++++++++++++++++++++++
performance/pyproject.toml | 36 +++++++++++++++++++++++++++++++++++
performance/requirements.txt | 2 --
3 files changed, 81 insertions(+), 2 deletions(-)
diff --git a/performance/README.md b/performance/README.md
new file mode 100644
index 00000000000..484ed68e367
--- /dev/null
+++ b/performance/README.md
@@ -0,0 +1,45 @@
+<!--
+ 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.
+ -->
+
+# Apache Airflow Performance Testing
+
+This package contains performance testing utilities and DAGs for Apache
Airflow.
+
+## Overview
+
+The performance testing framework generates DAGs for performance testing
purposes. The number of DAGs, tasks, and their structure can be controlled
through environment variables.
+
+## Environment Variables
+
+- `PERF_DAGS_COUNT` - number of DAGs to generate
+- `PERF_TASKS_COUNT` - number of tasks in each DAG
+- `PERF_START_DATE` - if not provided current time - `PERF_START_AGO` applies
+- `PERF_START_AGO` - start time relative to current time used if
PERF_START_DATE is not provided. Default `1h`
+- `SCHEDULE_INTERVAL_ENV` - Schedule interval. Default `@once`
+- `PERF_SHAPE` - shape of DAG. See `DagShape`. Default `NO_STRUCTURE`
+
+## Installation
+
+```bash
+pip install -e .
+```
+
+## License
+
+Apache License 2.0
diff --git a/performance/pyproject.toml b/performance/pyproject.toml
new file mode 100644
index 00000000000..958467e4f25
--- /dev/null
+++ b/performance/pyproject.toml
@@ -0,0 +1,36 @@
+# 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 = ["flit_core==3.12.0"]
+build-backend = "flit_core.buildapi"
+
+[project]
+name = "apache-airflow-performance"
+version = "0.1.0"
+requires-python = ">=3.10,!=3.13"
+description = "Performance testing utilities and DAGs for Apache Airflow"
+readme = { file = "README.md", content-type = "text/markdown" }
+license = "Apache-2.0"
+dependencies = [
+ "apache-airflow>=3.1.3",
+]
+authors = [
+ { name = "Apache Software Foundation", email = "[email protected]" },
+]
+classifiers = [
+ "Private :: Do Not Upload",
+]
diff --git a/performance/requirements.txt b/performance/requirements.txt
deleted file mode 100644
index 50fef03cc13..00000000000
--- a/performance/requirements.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-apache-airflow==3.1.0
-openlineage-airflow==1.37.0