From 3c8c31bef04e2b951b6ffa822c68583c2f77a62c Mon Sep 17 00:00:00 2001 From: Pedro Brochado Date: Tue, 23 Jul 2024 10:02:27 -0300 Subject: [PATCH] Use pygobject provided by centos9 [noissue] --- .ci/scripts/calc_constraints.py | 2 -- .github/workflows/build.yml | 2 +- .github/workflows/scripts/install.sh | 2 +- requirements.txt | 1 - template_config.yml | 2 +- 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.ci/scripts/calc_constraints.py b/.ci/scripts/calc_constraints.py index ede3fc269..b5be1b1f5 100755 --- a/.ci/scripts/calc_constraints.py +++ b/.ci/scripts/calc_constraints.py @@ -105,8 +105,6 @@ def main(): if line.strip().startswith("#"): # Shortcut comment only lines print(line.strip()) - elif "pygobject" in line.lower(): - print("# Skipping PyGObject.") else: req, comment = split_comment(line) if args.upper: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40420939e..8647465c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: sudo apt-get install -y libgirepository1.0-dev gir1.2-modulemd-2.0 - name: "Build package" run: | - python3 setup.py sdist bdist_wheel --python-tag py3 + python3 setup.py sdist bdist_wheel --python-tag py3 PyGObject<3.45 twine check dist/* - name: "Install built packages" run: | diff --git a/.github/workflows/scripts/install.sh b/.github/workflows/scripts/install.sh index 36429b075..334246102 100755 --- a/.github/workflows/scripts/install.sh +++ b/.github/workflows/scripts/install.sh @@ -86,7 +86,7 @@ cat >> vars/main.yaml << VARSYAML pulp_env: {} pulp_settings: {"allowed_content_checksums": ["sha1", "sha224", "sha256", "sha384", "sha512"], "allowed_export_paths": ["/tmp"], "allowed_import_paths": ["/tmp"], "orphan_protection_time": 0} pulp_scheme: https -pulp_default_container: ghcr.io/pulp/pulp-ci-centos:latest +pulp_default_container: ghcr.io/pulp/pulp-ci-centos9:latest VARSYAML SCENARIOS=("pulp" "performance" "azure" "gcp" "s3" "generate-bindings" "lowerbounds") diff --git a/requirements.txt b/requirements.txt index bf24f48c9..3e37f9a0f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,5 @@ jsonschema>=4.6,<5.0 libcomps>=0.1.20.post1,<0.2 productmd~=1.33.0 pulpcore>=3.17,<3.25 -PyGObject>=3.40,<3.45 solv~=0.7.21 aiohttp_xmlrpc~=1.5.0 diff --git a/template_config.yml b/template_config.yml index 52d39f773..0e33d2ef5 100644 --- a/template_config.yml +++ b/template_config.yml @@ -9,7 +9,7 @@ check_commit_message: true check_gettext: true check_manifest: true check_stray_pulpcore_imports: true -ci_base_image: ghcr.io/pulp/pulp-ci-centos +ci_base_image: ghcr.io/pulp/pulp-ci-centos9 ci_env: {} ci_trigger: '{pull_request: {branches: [''*'']}}' ci_update_docs: false