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

bw2data can't import bw_processing during emscripten-forge Build #25

Closed
2 tasks done
michaelweinold opened this issue Aug 23, 2023 · 1 comment
Closed
2 tasks done
Assignees
Labels
bug Something isn't working infrastructure

Comments

@michaelweinold
Copy link
Collaborator

michaelweinold commented Aug 23, 2023

The simple test I added during the bw2calc build:

fails with the message:

=================================== FAILURES ===================================
_____________________________ test_import_bw2calc ______________________________

    def test_import_bw2calc():
>       import bw2calc

test_import_bw2calc.py:2: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/lib/python3.10/site-packages/bw2calc/__init__.py:52: in <module>
    from .dense_lca import DenseLCA
/lib/python3.10/site-packages/bw2calc/dense_lca.py:3: in <module>
    from .lca import LCA
/lib/python3.10/site-packages/bw2calc/lca.py:10: in <module>
    import bw_processing as bwp
/lib/python3.10/site-packages/bw_processing/__init__.py:48: in <module>
    __version__ = get_version_tuple()

I confirmed that the latest version of bw_processing and the bw_parameters.utils.get_version_tuple() function work fine on their own.

@michaelweinold michaelweinold added bug Something isn't working infrastructure labels Aug 23, 2023
@michaelweinold michaelweinold changed the title bw2data can't import bw_processing during emscripten-forge Build bw2data can't import bw_processing during emscripten-forge Build Aug 23, 2023
@michaelweinold
Copy link
Collaborator Author

...it seems that the root cause was an underscore/dash issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants