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

remove alen from imports #136

Merged
merged 1 commit into from
Jun 24, 2022
Merged

Conversation

valentinsulzer
Copy link
Contributor

Newest version of numpy errors when alen is imported, see for example https://github.com/pybamm-team/PyBaMM/runs/7017620061?check_suite_focus=true#step:11:28

This PR removes alen from the python imports, and replaces alen with len where appropriate

@valentinsulzer
Copy link
Contributor Author

I don't know why the tests are failing, is it because of the change I made?

@aragilar
Copy link
Collaborator

@tinosulzer No, it looks fine to me. Thanks for fixing this.

@aragilar aragilar merged commit 290334c into bmcage:master Jun 24, 2022
@valentinsulzer
Copy link
Contributor Author

Thanks for the quick review. Will there be a new release soon, or should we change to pip install from master for now?

moorepants added a commit to moorepants/learn-multibody-dynamics that referenced this pull request Jun 25, 2022
See: bmcage/odes#136 where the issues has been
fixed in scikits.odes. The next release will work with NumPy 1.23.
@valentinsulzer valentinsulzer deleted the remove-alen branch June 27, 2022 12:38
@aragilar
Copy link
Collaborator

Uploaded to PyPI now.

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.

2 participants