-
Notifications
You must be signed in to change notification settings - Fork 47
release 2.9.0 blog post #449
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
07e4b63
draft for release 2.9.0 blog post
orbeckst 0e2740f
Update _posts/2025-03-11-release-2.9.0.md
orbeckst 9a1ac84
Update _posts/2025-03-11-release-2.9.0.md
orbeckst 5046016
fixes (after rendering locally)
orbeckst 8a79597
release 2.9.0 also has conda-forge packages for python 3.13
orbeckst 3f24e89
Update _posts/2025-03-11-release-2.9.0.md
orbeckst 3199858
highlight distopia
orbeckst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,135 @@ | ||
| --- | ||
| layout: post | ||
| title: Release 2.9.0 of MDAnalysis | ||
| --- | ||
|
|
||
| We are happy to release version 2.9.0 of MDAnalysis! | ||
|
|
||
| This is a minor release of the MDAnalysis library, which means that it | ||
| contains enhancements, bug fixes, deprecations, and other | ||
| backwards-compatible changes. | ||
|
|
||
|
|
||
| ## Supported environments | ||
|
|
||
| This release supports NumPy 2.0+ and offers backwards compatibility | ||
| through to NumPy 1.23.2. | ||
|
|
||
| Supported Python versions: **3.10, 3.11, 3.12, 3.13**. | ||
|
|
||
| Supported Operating Systems: | ||
| - **Linux** (on [x86-64][]) | ||
| - **Windows** (on [x86-64][]) | ||
| - **MacOS** (on [x86-64][] and [ARM64][]) | ||
|
|
||
|
|
||
| ## Upgrading to MDAnalysis version 2.9.0 | ||
|
|
||
| To update with `mamba` (or `conda`) from the [conda-forge channel][] run | ||
|
|
||
| ```bash | ||
| mamba update -c conda-forge mdanalysis | ||
| ``` | ||
|
|
||
| To update from [PyPi][] with `pip` run | ||
|
|
||
| ```bash | ||
| python -m pip install --upgrade MDAnalysis | ||
| ``` | ||
|
|
||
| For more help with installation see the [installation instructions in the User Guide][]. | ||
| Make sure you are using a Python version compatible with MDAnalysis | ||
| before upgrading (Python >= 3.10). | ||
|
|
||
|
|
||
| ## Notable changes | ||
|
|
||
| For a full list of changes, bug fixes and deprecations see the [CHANGELOG][]. | ||
|
|
||
| #### Enhancements: | ||
|
|
||
| * Support for Gromacs v2024.4 and v2025 TPR files. | ||
| * A new "water" keyword for selecting water residues. | ||
| * Support for **[distopia][] 0.4.0** as an optional distance library | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @hmacdope can you look over the distopia part, please?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see also PR MDAnalysis/mdanalysis#4970 for doc update |
||
| backend that now supports [many more distance | ||
| functions](https://docs.mdanalysis.org/stable/documentation_pages/lib/distances.html#id2) | ||
| for *all box types* (including general triclinic unit cells). | ||
|
|
||
| On supported [x86-64][] platforms, install *distopia* with | ||
| ```bash | ||
| mamba install -c conda-forge distopia | ||
| ``` | ||
|
|
||
| You can then [enable *distopia* as a | ||
| backend](https://docs.mdanalysis.org/stable/documentation_pages/lib/distances.html#use-of-the-distopia-library) | ||
| to make use of the optimized *distopia* code for | ||
| compute-intensive distance calculations, such as | ||
| [`distance_array()`](https://docs.mdanalysis.org/stable/documentation_pages/lib/distances.html#MDAnalysis.lib.distances.distance_array): | ||
|
|
||
| ```python | ||
| protein = u.select_atoms("protein and not name H*") | ||
| lipids = u.select_atoms("resname POPC CHOL and not name H*") | ||
| d = MDAnalysis.lib.distances.distance_array(protein, lipids, | ||
| box=u.dimensions, | ||
| backend="distopia") | ||
| ``` | ||
|
|
||
| If you want to see if *distopia* is available as a backend in a running | ||
| program, check that the variable `MDAnalysis.lib.distances.HAS_DISTOPIA` is | ||
| `True`. | ||
|
|
||
| * Parallel analysis support for `MDAnalysis.analysis.nucleicacids`, `MDAnalysis.analysis.contacts`, and `MDAnalysis.analysis.density`. | ||
| * XYZ writer can now write positions up to a user-supplied precision via the `precision` keyword argument. | ||
|
|
||
|
|
||
| #### Changes: | ||
|
|
||
| * `MDAnalysis.analysis.hole2`, `MDAnalysis.analysis.psa`, and | ||
| `MDAnalysis.analysis.waterdynamics`, are now only available via | ||
| optional dependencies (the mdahole2, pathsimanalysis, and | ||
| waterdynamics [MDAKits][]). By default these will not be installed, you | ||
| will need to install them separately if you wish to use them from | ||
| within `MDAnalysis.analysis`. Please | ||
| note that *in v3.0* theses modules will be *removed completely from the | ||
| MDAnalysis core library* and you will need to use the MDAKits | ||
| directly. | ||
| * `fasteners` dependency has been switched to `filelock`. | ||
| * Codebase is now formatted with black (version 24) | ||
|
|
||
|
|
||
|
|
||
| ## Author statistics | ||
|
|
||
| This release was the work of 10 contributors, **3** of which are **new contributors**. | ||
|
|
||
| Our **new contributors** are: | ||
|
|
||
| * @ChiahsinChu | ||
| * @tanishy7777 | ||
| * @jauy123 | ||
|
|
||
|
|
||
| ## Acknowledgements | ||
|
|
||
| MDAnalysis thanks [NumFOCUS][] for its continued support as our fiscal sponsor and | ||
| the [Chan Zuckerberg Initiative][] for supporting MDAnalysis under EOSS4 and EOSS5 awards. | ||
|
|
||
| — @IAlibay and @p-j-smith ([release managers][roles]) on behalf of the [MDAnalysis Team][] | ||
|
|
||
|
|
||
| ---- | ||
|
|
||
|
|
||
| [SPEC 0]: https://scientific-python.org/specs/spec-0000/ | ||
| [x86-64]: https://en.wikipedia.org/wiki/X86-64 | ||
| [ARM64]: https://en.wikipedia.org/wiki/Apple_M1 | ||
| [installation instructions in the User Guide]: https://userguide.mdanalysis.org/stable/installation.html | ||
| [conda-forge channel]: https://anaconda.org/conda-forge/mdanalysis | ||
| [PyPi]: https://pypi.org/project/MDAnalysis/ | ||
| [NumFOCUS]: https://www.numfocus.org | ||
| [CHANGELOG]: https://github.com/MDAnalysis/mdanalysis/blob/release-2.9.0/package/CHANGELOG | ||
| [Chan Zuckerberg Initiative]: https://chanzuckerberg.com/ | ||
| [roles]: {{ site.baseurl }}/pages/team/#roles | ||
| [MDAnalysis Team]: {{ site.baseurl }}/pages/team | ||
| [MDAKits]: https://mdakits.mdanalysis.org/ | ||
| [distopia]: https://github.com/MDAnalysis/distopia | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.