Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install sandcastle dependencies as RPMs #2114

Conversation

jpopelka
Copy link
Member

@jpopelka jpopelka commented Jul 12, 2023

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.

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)
@jpopelka jpopelka added the mergeit When set, zuul wil gate and merge the PR. label Jul 12, 2023
@softwarefactory-project-zuul
Copy link
Contributor

@jpopelka
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/d963f8b62d5244ecbc04b3948a5e957a

✔️ pre-commit SUCCESS in 1m 46s
✔️ packit-service-tests SUCCESS in 2m 06s
✔️ packit-service-tests-openshift SUCCESS in 11m 48s

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/0af0239e25d847969eeffea74f98a527

✔️ pre-commit SUCCESS in 12m 01s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit b31d7e6 into packit:main Jul 12, 2023
@jpopelka jpopelka deleted the worker-sandcastle-deps-as-rpms branch July 12, 2023 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants