Skip to content

Commit

Permalink
Remove hatch as devel-devscript dependency (apache#43808)
Browse files Browse the repository at this point in the history
We do not recommend hatch any more as development tool and
none of our scripts expect hatch to be installed, also our
pyproject.toml should not need hatch environment definition.
  • Loading branch information
potiuk authored Nov 8, 2024
1 parent 50aabd2 commit 6613320
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 34 deletions.
2 changes: 1 addition & 1 deletion dev/sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# under the License.
set -euo pipefail

# Use this to sign the tar balls generated via hatch
# Use this to sign the tarballs and packages generated
# you will still be required to type in your signing key password
# or it needs to be available in your keychain

Expand Down
1 change: 0 additions & 1 deletion hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@
"devel-devscripts": [
"click>=8.0",
"gitpython>=3.1.40",
"hatch>=1.9.1",
"incremental>=24.7.2",
"pipdeptree>=2.13.1",
"pygithub>=2.1.1",
Expand Down
32 changes: 0 additions & 32 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,37 +155,6 @@ Homepage = "https://airflow.apache.org/"
Twitter = "https://twitter.com/ApacheAirflow"
YouTube = "https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/"

[tool.hatch.envs.default]
python = "3.9"
platforms = ["linux", "macos"]
description = "Default environment with Python 3.9 for maximum compatibility"
features = []

[tool.hatch.envs.airflow-39]
python = "3.9"
platforms = ["linux", "macos"]
description = "Environment with Python 3.9. No devel installed."
features = []

[tool.hatch.envs.airflow-310]
python = "3.10"
platforms = ["linux", "macos"]
description = "Environment with Python 3.10. No devel installed."
features = []

[tool.hatch.envs.airflow-311]
python = "3.11"
platforms = ["linux", "macos"]
description = "Environment with Python 3.11. No devel installed"
features = []

[tool.hatch.envs.airflow-312]
python = "3.12"
platforms = ["linux", "macos"]
description = "Environment with Python 3.12. No devel installed"
features = []


[tool.hatch.version]
path = "airflow/__init__.py"

Expand All @@ -212,7 +181,6 @@ artifacts = [
"/generated/",
]


[tool.hatch.build.targets.wheel]
include = [
"/airflow",
Expand Down

0 comments on commit 6613320

Please sign in to comment.