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

Release Ap-Nimbus v2.0.0 #75

Assignees
Labels
enhancement New feature or request

Comments

@kwabenantim
Copy link
Member

kwabenantim commented Jun 25, 2024

Summary

appredict-docker

ap-nimbus-app-manager

  • Update to appredict-with-emulators:2.0.0 base image.
  • Upgrade to Node 20.
  • Build ap-nimbus-app-manager:2.0.0 docker image.
  • Release repository v2.0.0

ap-nimbus-client

  • Support Python 3.12
  • Build ap-nimbus-client:2.0.0 docker image.
  • User Acceptance Testing
  • Release repository v2.0.0

ap-nimbus

  • Update RtD documentation.
  • Update submodules for appredict-docker, app-manager, and ap-nimbus client to v2.0.0.
  • Release repository v2.0.0
@kwabenantim kwabenantim self-assigned this Jun 25, 2024
@kwabenantim kwabenantim added the enhancement New feature or request label Jun 25, 2024
@kwabenantim kwabenantim linked a pull request Jun 25, 2024 that will close this issue
@kwabenantim kwabenantim reopened this Jun 26, 2024
@kwabenantim kwabenantim reopened this Aug 27, 2024
@mirams
Copy link
Member

mirams commented Sep 10, 2024

Does this relate to #76 @kwabenantim , can we get latest release to work with numpy 2 ?

@kwabenantim
Copy link
Member Author

kwabenantim commented Sep 10, 2024

Does this relate to #76 @kwabenantim , can we get latest release to work with numpy 2 ?

This resolves #76 by installing numpy>=1.24.4,<2.0. I don't think cellmlmanip currently supports numpy 2 though - I'll add an issue for it.

@kwabenantim
Copy link
Member Author

kwabenantim commented Sep 10, 2024

It looks like the numpy 2 errors here are pint-related (hgrecco/pint#1974). Probably needs bumping up the pint version in cellmlmanip requirements.

==================================== ERRORS ====================================
__________________ ERROR collecting files/tests/test_forms.py __________________
client/files/tests/test_forms.py:8: in <module>
    from files.forms import CellmlModelForm
client/files/forms.py:5: in <module>
    from cellmlmanip import load_model
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/cellmlmanip/__init__.py:3: in <module>
    from .main import load_model  # noqa
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/cellmlmanip/main.py:2: in <module>
    from cellmlmanip.parser import Parser
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/cellmlmanip/parser.py:15: in <module>
    from cellmlmanip.model import SYMPY_SYMBOL_DELIMITER, Model
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/cellmlmanip/model.py:15: in <module>
    from cellmlmanip.units import UnitStore
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/cellmlmanip/units.py:13: in <module>
    import pint
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pint/__init__.py:28: in <module>
    from .measurement import Measurement
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pint/measurement.py:12: in <module>
    from .quantity import Quantity
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pint/quantity.py:69: in <module>
    from .numpy_func import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pint/numpy_func.py:875: in <module>
    implement_single_dimensionless_argument_func(func_str)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pint/numpy_func.py:864: in implement_single_dimensionless_argument_func
    func = getattr(np, func_str)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/numpy/__init__.py:410: in __getattr__
    raise AttributeError("module {!r} has no attribute "
E   AttributeError: module 'numpy' has no attribute 'cumproduct'. Did you mean: 'cumprod'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment