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

Bug fix release #259

Closed
znicholls opened this issue Aug 16, 2019 · 6 comments
Closed

Bug fix release #259

znicholls opened this issue Aug 16, 2019 · 6 comments

Comments

@znicholls
Copy link
Collaborator

@danielhuppmann or @gidden any chance of a hotfix release? At the moment pip installing doesn't work because you get pandas 0.25 which is really annoying

cc @lewisjared

@jkikstra
Copy link
Collaborator

jkikstra commented Oct 2, 2019

@gidden @danielhuppmann I've also just bumped into this issue when installing ixmp and message_ix from source code, then manually doing 'pip install pyam-iamc' and pip install .[tests,reporting] and then running py.test tests:

=============================================== test session starts ================================================
platform win32 -- Python 3.7.3, pytest-5.2.0, py-1.8.0, pluggy-0.13.0
message_ix location: C:\Users\kikstra\AppData\Local\Continuum\anaconda3\lib\site-packages\message_ix
ixmp config: {'DB_CONFIG_PATH': None, 'DEFAULT_DBPROPS_FILE': None, 'DEFAULT_LOCAL_DB_PATH': WindowsPath('C:/Users/kikstra/.local/share/ixmp/localdb/default')}
rootdir: C:\Users\kikstra\Documents\GitHub\message_ix
plugins: arraydiff-0.3, doctestplus-0.4.0, openfiles-0.4.0, remotedata-0.3.1
collected 59 items / 1 errors / 58 selected

====================================================== ERRORS ======================================================
_____________________________________ ERROR collecting tests/test_reporting.py _____________________________________
ImportError while importing test module 'C:\Users\kikstra\Documents\GitHub\message_ix\tests\test_reporting.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests\test_reporting.py:15: in <module>
    import pyam
..\..\..\AppData\Local\Continuum\anaconda3\lib\site-packages\pyam\__init__.py:1: in <module>
    from pyam.core import *
..\..\..\AppData\Local\Continuum\anaconda3\lib\site-packages\pyam\core.py:17: in <module>
    from pyam import plotting
..\..\..\AppData\Local\Continuum\anaconda3\lib\site-packages\pyam\plotting.py:37: in <module>
    from pandas.plotting._style import _get_standard_colors
E   ModuleNotFoundError: No module named 'pandas.plotting._style'
================================================= warnings summary =================================================
C:\Users\kikstra\AppData\Local\Continuum\anaconda3\lib\site-packages\_pytest\config\__init__.py:545
  C:\Users\kikstra\AppData\Local\Continuum\anaconda3\lib\site-packages\_pytest\config\__init__.py:545: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: ixmp.testing
    self.import_plugin(import_spec)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=========================================== 1 warnings, 1 error in 0.99s ===========================================

@byersiiasa
Copy link
Collaborator

Same occurs with the conda-forge install. Seems that only git master avoids this error

@khaeru
Copy link
Contributor

khaeru commented Oct 7, 2019

We have new users such as @jkikstra trying to use the message_ix reporting features to convert to pyam. Because #246 is still unreleased, I have to inform them to work around by installing master.

@Jihoon
Copy link

Jihoon commented Oct 15, 2019

I am also having this issue.

@gidden
Copy link
Member

gidden commented Oct 30, 2019

Hi all - with #277 I think we are ready to do a release (also to help backups with silicone, openscm, etc.). @danielhuppmann can you take us across the finish line here?

@danielhuppmann
Copy link
Member

resolved with release 0.3.0, https://github.com/IAMconsortium/pyam/releases/tag/v0.3.0

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

No branches or pull requests

7 participants