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

Mega fix of brainrender #250

Merged
merged 59 commits into from
Dec 1, 2023
Merged

Mega fix of brainrender #250

merged 59 commits into from
Dec 1, 2023

Conversation

alessandrofelder
Copy link
Member

@alessandrofelder alessandrofelder commented Oct 26, 2023

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

Brainrender is not currently easy to install on all OSs and with recent Python versions, and was therefore declared temporarily unsupported.

What does this PR do?

Collects changes from lots of smaller PRs that are connected with the overall goal of making brainrender functional and installable with Python 3.9, 3.10, 3.11 and newest (or at least recent) vedo (and newest other dependencies), so we can remove the current warning.

This includes

References

See issues closed in PRs above, and the milestone for this project.

How has this PR been tested?

  • While the tests would certainly warrent improvement, the "fast" tests now all run on CI across OSs
  • @IgorTatarnikov and I have tested extensively manually across OSs, and while we are aware of more possible improvements, we feel this is at a sensible stage to support users again.

Is this a breaking change?

Yes, in that we now support Python 3.9, 3.10 and 3.11 instead of Python <=3.8

Does this PR require an update to the documentation?

See "tidying up/documenting this changes" bullet points above.

Checklist:

  • The code has been tested locally
  • (Kind of) Tests have been added to cover all new functionality (unit & integration)
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

@adamltyson adamltyson mentioned this pull request Oct 26, 2023
alessandrofelder and others added 16 commits November 15, 2023 17:08
This reverts commit f0a0306.
Commit should have landed in `fix-video-test` branch!
* Added to changes to conform to vedo 2023.5.0+dev26a

* Further compatibility updates

* Changed function name in bm_cells from camel case to snake case

* Fixed colormap related issue

* Cleaned up return from volume.py::_from_numpy()

* Fixed failing volume test by removing mode=2 for now
…r/resources, importlib.resources now used to fetch data
All examples rendering correctly with vedo 2023.5.0
Copy link
Member

@adamltyson adamltyson left a comment

Choose a reason for hiding this comment

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

This is excellent, thank you @alessandrofelder & @IgorTatarnikov!!

There are a few tiny things I've noticed, but I've raised issues (#288, #289, #290)so as to not delay this PR.

@adamltyson adamltyson merged commit 19350ce into main Dec 1, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants