Skip to content

Conversation

@crzdg
Copy link
Contributor

@crzdg crzdg commented Apr 15, 2023

I refactored the notebook, so it should work again. Assigned eom to object in order to access it through the notebook.
Uses dict-access for the result.

I also faced problems with using Python 3.11. Turns out default values for custom classes needs to be created through dataclasses.field and its default_factory. So I changed this, thus frispy should also be able to support Python 3.11 now.

As matplotlib is a hard dependency and not needed for the package to work I moved it to the dev-dependencies.

Also, I fix the warning for the deprecation of np.float. As suggested it uses now float instead. With this change tests now also run with Python >3.10.

Should be able to close #42

Copy link
Owner

@tmcclintock tmcclintock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for this!

@tmcclintock tmcclintock merged commit 6e1d5ca into tmcclintock:main May 10, 2023
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

Successfully merging this pull request may close these issues.

Cannot import disc from the top level namespace

2 participants