Skip to content

Remove package installation tests, to be reintroduced at citusdata/packaging#1171#390

Open
onurctirtir wants to merge 5 commits intodevelopfrom
remove-package-installation-tests
Open

Remove package installation tests, to be reintroduced at citusdata/packaging#1171#390
onurctirtir wants to merge 5 commits intodevelopfrom
remove-package-installation-tests

Conversation

@onurctirtir
Copy link
Member

@onurctirtir onurctirtir commented Mar 16, 2026

Comment on lines +3 to +23
import requests

from .test_citus_package import get_postgres_versions_from_matrix_file
from typing import List

from .common_tool_methods import (
get_supported_postgres_release_versions,
)

POSTGRES_MATRIX_FILE = "postgres-matrix.yml"
POSTGRES_MATRIX_WEB_ADDRESS = "https://raw.githubusercontent.com/citusdata/packaging/all-citus/postgres-matrix.yml"

def get_postgres_versions_from_matrix_file(project_version: str) -> List[str]:
r = requests.get(POSTGRES_MATRIX_WEB_ADDRESS, allow_redirects=True, timeout=60)

with open(POSTGRES_MATRIX_FILE, "wb") as writer:
writer.write(r.content)
pg_versions = get_supported_postgres_release_versions(
POSTGRES_MATRIX_FILE, project_version
)

return pg_versions
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we're removing packaging_automation/test_citus_package.py, copying the dependencies here

@onurctirtir onurctirtir force-pushed the remove-package-installation-tests branch from 0033db3 to 31be5ae Compare March 16, 2026 09:36
@onurctirtir
Copy link
Member Author

Unit test error is also happening on main, e.g., https://github.com/citusdata/tools/actions/runs/22571691699/job/65380877345.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant