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

ModuleNotFoundError: No module named 'aragog' #250

Closed
stefsmeets opened this issue Nov 7, 2024 · 7 comments · Fixed by #255
Closed

ModuleNotFoundError: No module named 'aragog' #250

stefsmeets opened this issue Nov 7, 2024 · 7 comments · Fixed by #255
Assignees
Labels
interior Physics - interior evolution

Comments

@stefsmeets
Copy link
Contributor

Aragog is missing from the dependency list.

@stefsmeets
Copy link
Contributor Author

After installing aragog, I get this error running the tests (python 3.12):

Traceback:
/usr/lib64/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/test_integration_physical.py:14: in <module>
    from proteus.interior.aragog import read_ncdf as read_interior
src/proteus/interior/aragog.py:12: in <module>
    from aragog import Output, Solver
E   ImportError: cannot import name 'Output' from 'aragog' (/home/stef/python/proteus/.venv/lib/python3.12/site-packages/aragog/__init__.py)

@stefsmeets
Copy link
Contributor Author

Seems like the version on pypi is very old: ExPlanetology/aragog#24

@stefsmeets
Copy link
Contributor Author

The error I get with the latest dev version of aragog is:

E       TypeError: _BoundaryConditionsParameters.__init__() got an unexpected keyword argument 'core_radius'

@stefsmeets
Copy link
Contributor Author

It seems to me that this breaks the proteus installation and tests if you want to use aragog. Proteus should add aragog to its dependencies and set the minimum required version. It would also help if aragog had a current release on pypi, otherwise this makes proteus impossible to install for non-technical users.

@lsoucasse lsoucasse added the interior Physics - interior evolution label Nov 11, 2024
@lsoucasse lsoucasse self-assigned this Nov 11, 2024
@nichollsh
Copy link
Contributor

nichollsh commented Nov 12, 2024

I have made a release on the aragog side of things, which has been uploaded to PyPI.

We just need to update the PROTEUS pyproject file and fix this core_radius keyword error.

Once this issue is closed we can then address #245, #227, #242, #240, etc.

@nichollsh nichollsh self-assigned this Nov 12, 2024
@lsoucasse
Copy link
Member

lsoucasse commented Nov 12, 2024

Hi @nichollsh, would you take care of this in a separate branch or in Stef or Emma current PR? It should be just adding aragog as a dependency in the pyproject.toml, remove aragog download in the workflow and delete the core_radius entry if I am correct.

@nichollsh
Copy link
Contributor

Yeah sure! We have fixed the core_radius thing in Emma's escape branch, but the pyproject thing can be done in a new branch.

@lsoucasse lsoucasse linked a pull request Nov 12, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in PROTEUS Development Roadmap Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interior Physics - interior evolution
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants