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

scprep install_github tests are failing #127

Open
scottgigante-immunai opened this issue Feb 23, 2022 · 0 comments
Open

scprep install_github tests are failing #127

scottgigante-immunai opened this issue Feb 23, 2022 · 0 comments
Labels

Comments

@scottgigante-immunai
Copy link
Contributor

Describe the bug
test_install_github fails, preventing all PRs from passing

To Reproduce

cd scprep
pytest -v

Expected behavior
Passes.

Actual behavior
Fails.

======================================================================
ERROR: test_run.test_install_github_dependencies_None
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/scprep/scprep/test/test_run.py", line 58, in test_install_github_dependencies_None
    scprep.run.install_github("twitter/AnomalyDetection", verbose=False)
  File "/home/runner/work/scprep/scprep/scprep/run/r_function.py", line 258, in install_github
    **kwargs,
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/home/runner/work/scprep/scprep/scprep/utils.py", line 80, in _with_pkg
    return fun(*args, **kwargs)
  File "/home/runner/work/scprep/scprep/scprep/run/r_function.py", line 124, in __call__
    robject = self.function(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/robjects/functions.py", line 199, in __call__
    .__call__(*args, **kwargs))
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/robjects/functions.py", line 125, in __call__
    res = super(Function, self).__call__(*new_args, **new_kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/rinterface_lib/conversion.py", line 45, in _
    cdata = function(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/rinterface.py", line 680, in __call__
    raise embedded.RRuntimeError(_rinterface._geterrmessage())
rpy2.rinterface_lib.embedded.RRuntimeError: Error: Failed to install 'unknown package' from GitHub:
  cannot open URL 'https://api.github.com/repos/twitter/AnomalyDetection/contents/DESCRIPTION?ref=HEAD'


======================================================================
ERROR: test_run.test_install_github_dependencies_True
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/scprep/scprep/test/test_run.py", line 76, in test_install_github_dependencies_True
    "twitter/AnomalyDetection", verbose=False, dependencies=True
  File "/home/runner/work/scprep/scprep/scprep/run/r_function.py", line 258, in install_github
    **kwargs,
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/home/runner/work/scprep/scprep/scprep/utils.py", line 80, in _with_pkg
    return fun(*args, **kwargs)
  File "/home/runner/work/scprep/scprep/scprep/run/r_function.py", line 124, in __call__
    robject = self.function(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/robjects/functions.py", line 199, in __call__
    .__call__(*args, **kwargs))
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/robjects/functions.py", line 125, in __call__
    res = super(Function, self).__call__(*new_args, **new_kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/rinterface_lib/conversion.py", line 45, in _
    cdata = function(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/rinterface.py", line 680, in __call__
    raise embedded.RRuntimeError(_rinterface._geterrmessage())
rpy2.rinterface_lib.embedded.RRuntimeError: Error: Failed to install 'unknown package' from GitHub:
  cannot open URL 'https://api.github.com/repos/twitter/AnomalyDetection/contents/DESCRIPTION?ref=HEAD'


======================================================================
ERROR: test_run.test_install_github_lib
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/scprep/scprep/test/test_run.py", line 47, in test_install_github_lib
    scprep.run.install_github("twitter/AnomalyDetection", verbose=False)
  File "/home/runner/work/scprep/scprep/scprep/run/r_function.py", line 258, in install_github
    **kwargs,
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/home/runner/work/scprep/scprep/scprep/utils.py", line 80, in _with_pkg
    return fun(*args, **kwargs)
  File "/home/runner/work/scprep/scprep/scprep/run/r_function.py", line 124, in __call__
    robject = self.function(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/robjects/functions.py", line 199, in __call__
    .__call__(*args, **kwargs))
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/robjects/functions.py", line 125, in __call__
    res = super(Function, self).__call__(*new_args, **new_kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/rinterface_lib/conversion.py", line 45, in _
    cdata = function(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/rpy2/rinterface.py", line 680, in __call__
    raise embedded.RRuntimeError(_rinterface._geterrmessage())
rpy2.rinterface_lib.embedded.RRuntimeError: Error: Failed to install 'unknown package' from GitHub:
  cannot open URL 'https://api.github.com/repos/twitter/AnomalyDetection/contents/DESCRIPTION?ref=HEAD'

scprep version
master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant