Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
os: [ubuntu-latest]
mpi-version: [mpich]
python-version: ["py310", "py311", "py312", "py313", "py314"]
python-version: ["py311", "py312", "py313", "py314"]
comms-type: [m, l]
include:
- os: macos-latest
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
os: [ubuntu-latest]
mpi-version: [mpich]
python-version: ["py310e", "py311e", "py312e", "py313e", "py314e"]
python-version: ["py311e", "py312e", "py313e", "py314e"]
comms-type: [m, l]
include:
- os: macos-latest
Expand Down Expand Up @@ -70,13 +70,6 @@ jobs:
run: |
pixi run -e ${{ matrix.python-version }} pip install gpcam==8.1.13

- name: Remove xopt tests on old python
if: matrix.python-version == 'py310e'
run: |
rm ./libensemble/tests/regression_tests/test_xopt_EI_xopt_sim.py
rm ./libensemble/tests/regression_tests/test_xopt_EI.py
rm ./libensemble/tests/regression_tests/test_xopt_nelder_mead.py

- name: Remove test using octave, gpcam, globus-compute on Python 3.13
if: matrix.python-version == 'py313e' || matrix.python-version == 'py314e'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.10"
python: "3.12"
commands:
# from https://docs.readthedocs.com/platform/stable/build-customization.html#support-git-lfs-large-file-storage
# Download and uncompress the binary
Expand Down
8 changes: 4 additions & 4 deletions docs/advanced_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ libEnsemble can be installed from ``pip``, ``uv``, ``Conda``, or ``Spack``.
libEnsemble requires the following dependencies, which are typically
automatically installed alongside libEnsemble:

* Python_ ``>= 3.10``
* Python_ ``>= 3.11``
* NumPy_ ``>= 1.21``
* psutil_ ``>= 5.9.4``
* `pydantic`_ ``>= 2``
Expand Down Expand Up @@ -142,7 +142,7 @@ Further recommendations for selected HPC systems are given in the

**Hint**: When combining Spack and Conda, you can access your Conda Python and packages in your
``~/.spack/packages.yaml`` while your Conda environment is activated, using ``CONDA_PREFIX``
For example, if you have an activated Conda environment with Python 3.10 and SciPy installed:
For example, if you have an activated Conda environment with Python 3.11 and SciPy installed:

.. code-block:: yaml

Expand All @@ -155,12 +155,12 @@ Further recommendations for selected HPC systems are given in the
py-numpy:
externals:
- spec: "py-numpy"
prefix: $CONDA_PREFIX/lib/python3.10/site-packages/numpy
prefix: $CONDA_PREFIX/lib/python3.11/site-packages/numpy
buildable: False
py-scipy:
externals:
- spec: "py-scipy"
prefix: $CONDA_PREFIX/lib/python3.10/site-packages/scipy
prefix: $CONDA_PREFIX/lib/python3.11/site-packages/scipy
buildable: True

For more information on Spack builds and any particular considerations
Expand Down
1 change: 1 addition & 0 deletions docs/platforms/perlmutter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Change the ``libE_specs`` in **run_libe_forces.py** as follows.
# Persistent gen does not need resources
ensemble.libE_specs = LibeSpecs(
gen_on_manager=True,
)

and run with::

Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/summit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Begin by loading the Python 3 Anaconda module::

You can now create and activate your own custom conda_ environment::

conda create --name myenv python=3.10
conda create --name myenv python=3.11
export PYTHONNOUSERSITE=1 # Make sure get python from conda env
. activate myenv

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/local_sine_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ need to write a new allocation function.

.. code-block:: bash

python --version # This should be >= 3.10
python --version # This should be >= 3.11

.. _Python: https://www.python.org/

Expand Down
4 changes: 2 additions & 2 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 2 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [

description = "A Python toolkit for coordinating asynchronous and dynamic ensembles of calculations."
name = "libensemble"
requires-python = ">=3.10"
requires-python = ">=3.11"
license = { file = "LICENSE" }
readme = "README.rst"

Expand All @@ -33,7 +33,6 @@ classifiers = [
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down Expand Up @@ -76,13 +75,11 @@ docs = ["docs", "basic"]
dev = ["dev", "basic", "extra", "docs"]

# CI environments
py310 = ["py310", "basic"]
py311 = ["py311", "basic"]
py312 = ["py312", "basic"]
py313 = ["py313", "basic"]
py314 = ["py314", "basic"]

py310e = ["py310", "py310e", "basic", "extra"]
py311e = ["py311", "py311e", "basic", "extra"]
py312e = ["py312", "py312e", "basic", "extra"]
py313e = ["py313", "py313e", "basic", "extra"]
Expand Down Expand Up @@ -155,8 +152,6 @@ octave = ">=9.4.0,<11"
pyzmq = ">=26.4.0,<28"

# Python versions
[tool.pixi.feature.py310.dependencies]
python = "3.10.*"
[tool.pixi.feature.py311.dependencies]
python = "3.11.*"
[tool.pixi.feature.py312.dependencies]
Expand All @@ -167,11 +162,6 @@ python = "3.13.*"
python = "3.14.*"

# ax-platform only works up to 3.13 on Linux
[tool.pixi.feature.py310e.target.linux-64.dependencies]
ax-platform = "==0.5.0"

[tool.pixi.feature.py310e.dependencies]
globus-compute-sdk = ">=4.3.0,<5"

[tool.pixi.feature.py311e.target.linux-64.dependencies]
ax-platform = "==0.5.0"
Expand All @@ -193,7 +183,7 @@ ax-platform = "==0.5.0"

# Dependencies for libEnsemble
[tool.pixi.dependencies]
python = ">=3.10,<3.15"
python = ">=3.11,<3.15"
pip = ">=25.2,<26"
setuptools = ">=80.8.0,<81"
numpy = ">=2.2.6,<3"
Expand Down
Loading