diff --git a/.github/workflows/o2-full-deps.yml b/.github/workflows/o2-full-deps.yml index a99754e8..08d2a610 100644 --- a/.github/workflows/o2-full-deps.yml +++ b/.github/workflows/o2-full-deps.yml @@ -27,10 +27,10 @@ jobs: include: - el_version: el7 container: centos:7 - alibuild_tag: v1.17.7 + alibuild_tag: v1.17.10 - el_version: el8 container: almalinux:8 - alibuild_tag: v1.17.7 + alibuild_tag: v1.17.10 - el_version: el9 container: almalinux:9 alibuild_tag: v1.17.7 diff --git a/jenkins/daily-tags b/jenkins/daily-tags index bd645043..75d6c130 100644 --- a/jenkins/daily-tags +++ b/jenkins/daily-tags @@ -14,7 +14,7 @@ try { stage "Wait pull requests" if ("$WAIT_PR" == "true") { - node ("slc7_x86-64-light") { + node ("slc9_x86-64-light") { timeout (240) { withEnv(["ALIBOT_SLUG=${ALIBOT_SLUG}", "WAIT_PR_LIMIT=${WAIT_PR_LIMIT}", diff --git a/setup.py b/setup.py index 0d93d271..8bbce35d 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ # The 7.* series removed support for Python 3.6. 'setuptools_scm<7.0.0' if sys.version_info < (3, 7) else 'setuptools_scm' - ], + ] + ['packaging<=23'] if sys.version_info <(3, 7) else [], description='ALICE Multipurpose bot', long_description=long_description, diff --git a/test/test_githubCachedRequest.py b/test/test_githubCachedRequest.py deleted file mode 100644 index d86fbac7..00000000 --- a/test/test_githubCachedRequest.py +++ /dev/null @@ -1,37 +0,0 @@ -from alibot_helpers.github_utilities import GithubCachedClient -import os - -client = GithubCachedClient(api="https://api.github.com", - token=os.environ["GITHUB_TOKEN"]) - -client.loadCache(".test_cache") -print client.request("GET", "/rate_limit") -for x in client.request("GET", "/repos/alisw/AliPhysics/commits/31bd7c7/statuses?per_page=1"): - print x["context"] -print client.request("GET", "/rate_limit") -print client.request("GET", "/rate_limit") -client.request("GET", "/teams/{team_id}/memberships/{user}", team_id=2293164, user="ktf") -client.request("GET", "/teams/{team_id}/memberships/{user}", team_id=2293164, user="ktf") -client.request("GET", "/teams/{team_id}/memberships/{user}", team_id=2293164, user="ktf") -client.request("GET", "/teams/{team_id}/memberships/{user}", team_id=2293164, user="ktf") -client.request("GET", "/teams/{team_id}/memberships/{user}", team_id=2293164, user="ktf") -client.request("GET", "/teams/{team_id}/memberships/{user}", team_id=2293164, user="ktf") -print client.request("GET", "/rate_limit") - -print client.request("GET", "/rate_limit") -client.request("GET", "/repos/alisw/AliRoot/collaborators/ktf/permission", stable_api=False) -client.request("GET", "/repos/alisw/AliRoot/collaborators/bal/permission", stable_api=False) -client.request("GET", "/rate_limit") -client.request("GET", "/repos/alisw/AliRoot/collaborators/ktf/permission", stable_api=False) -client.request("GET", "/repos/alisw/AliRoot/collaborators/bal/permission", stable_api=False) -old_remaining = client.request("GET", "/rate_limit")["rate"]["remaining"] -client.dumpCache(".test_cache") - -client2 = GithubCachedClient(api="https://api.github.com", - token=os.environ["GITHUB_TOKEN"]) -client2.loadCache(".test_cache") -client2.request("GET", "/repos/alisw/AliRoot/collaborators/ktf/permission", stable_api=False) -client2.request("GET", "/repos/alisw/AliRoot/collaborators/bal/permission", stable_api=False) -new_remaining = client2.request("GET", "/rate_limit")["rate"]["remaining"] -print new_remaining, old_remaining -