Merge pull request #1612 from element-hq/bbz/use-release-pyhelm3

Use released pyhelm3
This commit is contained in:
Ben Banfield-Zanin authored and GitHub committed 2026-09-29 08:05:19 +01:00
commit ba2d2e9e07
4 files changed
+10 -29

No files matched your search

-24
View File
@@ -46,30 +46,6 @@ jobs:
uv version --directory tests/ --bump "dev=$GITHUB_RUN_ID"
fi
# Because pyhelm3 is a git ref, the package cannot use it as direct dependencies when pushing to Pypi
# Instead we manually vendor pyhelm3 in the package when releasing it in CI
- name: Fetch pyhelm3
run: |
# Extract the Git reference for pyhelm3 from pyproject.toml
PYHELM_GIT_REF=$(grep -oP 'pyhelm3 @ git\+https://github.com/element-hq/pyhelm3.git@\K[^"]+' tests/pyproject.toml)
if [ -z "$PYHELM_GIT_REF" ]; then
echo "Error: Could not extract pyhelm3 Git reference from pyproject.toml."
exit 1
fi
echo "Extracted pyhelm3 Git reference: $PYHELM_GIT_REF"
# Clone and checkout the specific commit of pyhelm3
git clone https://github.com/element-hq/pyhelm3.git
cd pyhelm3
git checkout "$PYHELM_GIT_REF"
cd -
mv pyhelm3/pyhelm3 tests/pyhelm3
rm -rf pyhelm3
# Patch pyproject.toml to remove pyhelm3 dependency
sed -i '/pyhelm3 @ git+https:\/\/github.com\/element-hq\/pyhelm3.git@'"$PYHELM_GIT_REF/d" "tests/pyproject.toml"
sed -i 's/\(module-name = "integration"\)/module-name = ["pyhelm3", "integration"]/' "tests/pyproject.toml"
- name: Build
run: uv build --package ess-community-integration-tests
+1
View File
@@ -0,0 +1 @@
Use released `pyhelm3` dependency rather than our fork.
+1 -2
View File
@@ -20,8 +20,7 @@ dependencies = [
"lightkube>=1.0.0",
"platformdirs>=4.9.2",
"prometheus-client>=0.26.0",
# For https://github.com/azimuth-cloud/pyhelm3/pull/36 & https://github.com/azimuth-cloud/pyhelm3/pull/37 & https://github.com/azimuth-cloud/pyhelm3/pull/39
"pyhelm3 @ git+https://github.com/element-hq/pyhelm3.git@efa509e7501edeb9d04f2a9e688f6e0088305954",
"pyhelm3>=0.5.7",
"pytest-asyncio-cooperative>=0.40.0",
"pytest-kubernetes>=0.7.2",
"pytest>=8.4.2,<9", # pytest 9 breaks pytest-asyncio-cooperative (see #1301)
Generated
+8 -3
View File
@@ -943,7 +943,7 @@ requires-dist = [
{ name = "lightkube", specifier = ">=1.0.0" },
{ name = "platformdirs", specifier = ">=4.9.2" },
{ name = "prometheus-client", specifier = ">=0.26.0" },
{ name = "pyhelm3", git = "https://github.com/element-hq/pyhelm3.git?rev=efa509e7501edeb9d04f2a9e688f6e0088305954" },
{ name = "pyhelm3", specifier = ">=0.5.7" },
{ name = "pytest", specifier = ">=8.4.2,<9" },
{ name = "pytest-asyncio-cooperative", specifier = ">=0.40.0" },
{ name = "pytest-kubernetes", specifier = ">=0.7.2" },
@@ -2388,11 +2388,16 @@ wheels = [
[[package]]
name = "pyhelm3"
version = "0.1.dev40+gefa509e75"
source = { git = "https://github.com/element-hq/pyhelm3.git?rev=efa509e7501edeb9d04f2a9e688f6e0088305954#efa509e7501edeb9d04f2a9e688f6e0088305954" }
version = "0.5.7"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pydantic" },
{ name = "pyyaml" },
{ name = "semver" },
]
sdist = { url = "https://files.pythonhosted.org/packages/eb/ae/b5e23d37d0689e94e015a64b4734eff7631071393b6684891f1062586949/pyhelm3-0.5.7.tar.gz", hash = "sha256:dc5997e154d7bb1a9af202eb751974b169f80989a556b8245e5cff17751d3f29", size = 21900, upload-time = "2026-09-23T09:19:22.779Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/c4/42/0007df1d27c98e97edc65493d7b58595292f22196881e5f8f1123a044cb7/pyhelm3-0.5.7-py3-none-any.whl", hash = "sha256:d7db708ac4a6e6b580427619b5be629abe27b94801c0568c1bebb7018ba8d353", size = 22466, upload-time = "2026-09-23T09:19:21.73Z" },
]
[[package]]