Skip to content

Commit 277cbd1

Browse files
Merge pull request #1197 from element-hq/gaelg/reduce-dependencies
Refactor dependencies and make sure that the test commands works in isolation
2 parents d6d33a7 + fa367dd commit 277cbd1

5 files changed

Lines changed: 4 additions & 27 deletions

File tree

.github/workflows/releasing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
run: uv build --package ess-community-integration-tests
5151
# Check that basic features work and we didn't miss to include crucial files
5252
- name: Smoke test (wheel)
53-
run: uv run --isolated --no-project --with dist/*.whl pytest-ess --help
53+
run: uv run --isolated --no-project --with dist/*.whl pytest-ess --test-suite synapse -- --setup-plan
5454
- name: Smoke test (source distribution)
55-
run: uv run --isolated --no-project --with dist/*.tar.gz pytest-ess --help
55+
run: uv run --isolated --no-project --with dist/*.tar.gz pytest-ess --test-suite synapse -- --setup-plan
5656

5757
- name: Dry-run Publish ESS test suite to Pypi
5858
run: uv publish --dry-run dist/*

newsfragments/1197.internal..md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CI: Publish ESS tests as a python package for use in external projects and developers environments.

pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,23 @@ dev = [
2222
"types-pyyaml>=6.0.12.20250915",
2323
"types-cryptography>=3.3.23.2",
2424
"types-jsonschema>=4.26.0.20260202",
25-
# 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
26-
"pyhelm3 @ git+https://github.com/element-hq/pyhelm3.git@efa509e7501edeb9d04f2a9e688f6e0088305954",
27-
"lightkube>=0.19.1",
2825
"pytz>=2025.2",
2926
"cryptography>=46.0.5",
3027
"platformdirs>=4.9.2",
31-
"python-on-whales>=0.80.0",
3228
"aiohttp>=3.13.3",
3329
"yamale>=6.1.0",
3430
"typer>=0.24.1",
3531
"jinja2>=3.1.6",
3632
"checkov>=3.2.506",
3733
"reuse>=6.2.0",
3834
"signedjson>=1.1.4",
39-
"aiohttp-retry>=2.9.1",
4035
"ruamel-yaml>=0.19.1",
4136
"types-pytz>=2025.2.0.20251108",
42-
"pytest-kubernetes>=0.7.2",
43-
"pytest-asyncio-cooperative>=0.40.0",
4437
"towncrier>=25.8.0",
4538
"spdx-tools>=0.8.3",
4639
"semver>=3.0.4",
47-
"prometheus-client>=0.24.1",
4840
"jsonschema>=4.26",
4941
"yamllint>=1.38.0",
50-
"httpx-retries>=0.4.6",
5142
"frozendict>=2.4.7",
5243
"types-jsonschema>=4.26.0.20260202",
5344
"rapidfuzz>=3.14.3",

tests/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ license = { text = "AGPL-3.0-only" }
1313
requires-python = ">=3.11.7,<4.0"
1414
dependencies = [
1515
"pytest>=8.4.2",
16+
# 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
1617
"pyhelm3 @ git+https://github.com/element-hq/pyhelm3.git@efa509e7501edeb9d04f2a9e688f6e0088305954",
1718
"lightkube>=0.19.1",
1819
"python-on-whales>=0.80.0",

uv.lock

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)