Skip to content

Commit

Permalink
Install sandcastle dependencies as RPMs (#2114)
Browse files Browse the repository at this point in the history
Install sandcastle dependencies as RPMs

Trying to workaround failing reverse-dep-packit-service-tests in packit:
packit_service/worker/helpers/build/build_helper.py:10: in <module>
    from kubernetes.client.rest import ApiException
/usr/local/lib/python3.9/site-packages/kubernetes/__init__.py:20: in <module>
    import kubernetes.config
/usr/local/lib/python3.9/site-packages/kubernetes/config/__init__.py:17: in <module>
    from .kube_config import (list_kube_config_contexts, load_kube_config,
/usr/local/lib/python3.9/site-packages/kubernetes/config/kube_config.py:33: in <module>
    from requests_oauthlib import OAuth2Session
/usr/local/lib/python3.9/site-packages/requests_oauthlib/__init__.py:4: in <module>
    from .oauth1_session import OAuth1Session
/usr/local/lib/python3.9/site-packages/requests_oauthlib/oauth1_session.py:12: in <module>
    from oauthlib.oauth1 import SIGNATURE_HMAC, SIGNATURE_RSA, SIGNATURE_TYPE_AUTH_HEADER
E   ImportError: cannot import name 'SIGNATURE_RSA' from 'oauthlib.oauth1' (/usr/lib/python3.9/site-packages/oauthlib/oauth1/__init__.py)

I don't know what's going on there (I haven't been able to reproduce), but the /usr/local/lib/python3.9 vs. /usr/lib/python3.9 looks suspicious to me.

Reviewed-by: František Lachman <flachman@redhat.com>
  • Loading branch information
softwarefactory-project-zuul[bot] authored Jul 12, 2023
2 parents f7074c3 + 61b730f commit b31d7e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions files/install-deps-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
- python3-fasjson-client
- python3-gevent # concurrency pool, see run_worker.sh
- bodhi-client
# sandcastle deps
- python3-certifi
- python3-charset-normalizer
- python3-google-auth
- python3-oauthlib
- python3-pyyaml
- python3-requests-oauthlib
- python3-websocket-client
state: present
install_weak_deps: False
- name: Install pip deps
Expand Down

0 comments on commit b31d7e6

Please sign in to comment.