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

rixmp install fails on CI for windows-latest py3.6 or py3.7 #360

Closed
khaeru opened this issue Aug 13, 2020 · 1 comment
Closed

rixmp install fails on CI for windows-latest py3.6 or py3.7 #360

khaeru opened this issue Aug 13, 2020 · 1 comment
Assignees
Labels
ci Continuous integration R Interface to ixmp thru R 'reticulate'

Comments

@khaeru
Copy link
Member

khaeru commented Aug 13, 2020

Through #359 (comment), it was discovered that the windows-latest py3.6 check failed at the step "Install R package and dependencies", with output like:

** testing if installed package can be loaded from temporary location
##[error]Error: package or namespace load failed for 'rixmp':
ERROR: loading failed
* removing 'D:/a/_temp/Library/rixmp'
 .onLoad failed in loadNamespace() for 'rixmp', details:
  call: py_module_import(module, convert = convert)
  error: ModuleNotFoundError: No module named 'ixmp.backend'

Detailed traceback: 
  File "C:\hostedtoolcache\windows\Python\3.6.8\x64\lib\site-packages\ixmp\__init__.py", line 6, in <module>
    from .backend import BACKENDS, ItemType

##[error]Error: loading failed
Execution halted
##[error]Error: Failed to install 'rixmp' from local:
  (converted from warning) installation of package 'C:/Users/RUNNER~1/AppData/Local/Temp/RtmpyCyTV6/file128875cf1769/rixmp_3.0.0.9000.tar.gz' had non-zero exit status
Execution halted
##[error]Process completed with exit code 1.
  • A similar error was seen in a different step of this message_ix build, also for windows-latest py3.6.
  • The same error occurs with Python 3.7; see here.

The temporary response was to exclude this combination from the matrix. Two possible ways to resolve this:

  1. Drop support for Python 3.6 or also 3.7, maybe just on Windows, or
  2. Investigate and determine why the code fails at this point.
@khaeru khaeru added R Interface to ixmp thru R 'reticulate' ci Continuous integration labels Aug 17, 2020
@khaeru khaeru linked a pull request May 26, 2021 that will close this issue
4 tasks
@khaeru khaeru self-assigned this May 26, 2021
@khaeru khaeru added this to the 3.3 milestone May 26, 2021
@khaeru khaeru removed a link to a pull request May 26, 2021
4 tasks
@khaeru
Copy link
Member Author

khaeru commented May 26, 2021

In #416 rixmp is deprecated, so probably this job can be re-enabled.

@khaeru khaeru removed this from the 3.3 milestone May 26, 2021
@khaeru khaeru closed this as completed in de141de May 26, 2021
khaeru added a commit to iiasa/message_ix that referenced this issue May 27, 2021
behnam-zakeri pushed a commit to behnam-zakeri/message_ix that referenced this issue Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration R Interface to ixmp thru R 'reticulate'
Projects
None yet
Development

No branches or pull requests

1 participant