Skip to content

Drop support for NumPy 1.26 - #156

Merged
pm-blanco merged 1 commit into
pyMBE-dev:mainfrom
jngrad:numpy2
Oct 29, 2026
Merged

pm-blanco merged 1 commit into
pyMBE-dev:mainfrom
jngrad:numpy2

Conversation

@jngrad

@jngrad jngrad commented Oct 26, 2026

Copy link
Copy Markdown
Member

No description provided.

@jngrad jngrad added this to the pyMBEv2.0.0 milestone Oct 26, 2026
@jngrad
jngrad requested a review from pm-blanco October 26, 2026 19:29
run: |
export NUM_PROC=$(nproc)
export OMP_PROC_BIND=false OMP_NUM_THREADS=1
export PRTE_MCA_hwloc_default_binding_policy=none

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This new addition has become necessary with OpenMPI 5, where PRRTE by default binds two ESPResSo processes to the same CPU core, causing congestion. Documentation: 17.1.2.6.5. Defaults for Mapping, Ranking, and Binding.

We will soon update pypresso to disable core pinning, but since pyMBE doesn't use the pypresso script, we need to hardcode it here. HTCondor and slurm users don't typically need to set these environment variables, since they are configured globally by the IT team.

Comment thread requirements.txt
Comment on lines +1 to +8
numpy>=2.2.4
pandas>=3.0.3
pint>=0.25.2
pint-pandas>=0.8.0
biopandas==0.5.2
scipy>=1.16.0
matplotlib>=3.10.5
pydantic>=2.11.9

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

These new version requirements were chosen to satisfy both Ubuntu 26.04 and EESSI foss/2025a.

@pm-blanco pm-blanco left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, thank you @jngrad for taking care of this and for the additional explanations on the dependencies upgrades.

@pm-blanco
pm-blanco merged commit 1a50461 into pyMBE-dev:main Oct 29, 2026
4 checks passed
@jngrad
jngrad deleted the numpy2 branch October 29, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants