Skip to content

Commit 4a4e35d

Browse files
authored
Merge pull request #1509 from Libensemble/dropping_3.9
Adjusting to account for 3.10 as minimum python version
2 parents b9cda70 + 507a3a7 commit 4a4e35d

File tree

9 files changed

+14
-15
lines changed

9 files changed

+14
-15
lines changed

.github/workflows/basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest]
1919
mpi-version: [mpich]
20-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
20+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2121
pydantic-version: ["2.8.2"]
2222
comms-type: [m, l]
2323
include:

.github/workflows/extra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
matrix:
1212
os: [ubuntu-latest]
1313
mpi-version: [mpich]
14-
python-version: [3.9, "3.10", "3.11", "3.12"]
14+
python-version: ["3.10", "3.11", "3.12"]
1515
pydantic-version: ["2.8.2"]
1616
comms-type: [m, l]
1717
include:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ repos:
88
exclude: ^(.*\.xml|.*\.svg)$
99

1010
- repo: https://github.com/pycqa/isort
11-
rev: 5.13.2
11+
rev: 6.0.0
1212
hooks:
1313
- id: isort
1414
args: [--profile=black, --line-length=120]
1515

1616
- repo: https://github.com/psf/black
17-
rev: 24.10.0
17+
rev: 25.1.0
1818
hooks:
1919
- id: black
2020
args: [--line-length=120]

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: "ubuntu-22.04"
55
tools:
6-
python: "3.9"
6+
python: "3.10"
77

88
sphinx:
99
configuration: docs/conf.py

docs/advanced_installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ libEnsemble can be installed from ``pip``, ``Conda``, or ``Spack``.
66
libEnsemble requires the following dependencies, which are typically
77
automatically installed alongside libEnsemble:
88

9-
* Python_ ``>= 3.9``
9+
* Python_ ``>= 3.10``
1010
* NumPy_ ``>= 1.21``
1111
* psutil_ ``>= 5.9.4``
1212
* `pydantic`_ ``<= 1.10.12``
@@ -139,7 +139,7 @@ Further recommendations for selected HPC systems are given in the
139139

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

144144
.. code-block:: yaml
145145
@@ -152,12 +152,12 @@ Further recommendations for selected HPC systems are given in the
152152
py-numpy:
153153
externals:
154154
- spec: "py-numpy"
155-
prefix: $CONDA_PREFIX/lib/python3.9/site-packages/numpy
155+
prefix: $CONDA_PREFIX/lib/python3.10/site-packages/numpy
156156
buildable: False
157157
py-scipy:
158158
externals:
159159
- spec: "py-scipy"
160-
prefix: $CONDA_PREFIX/lib/python3.9/site-packages/scipy
160+
prefix: $CONDA_PREFIX/lib/python3.10/site-packages/scipy
161161
buildable: True
162162
163163
For more information on Spack builds and any particular considerations

docs/platforms/perlmutter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Create a conda environment
2121
You can create a conda_ environment in which to install libEnsemble and
2222
all dependencies. For example::
2323

24-
conda create -n libe-pm python=3.9 -y
24+
conda create -n libe-pm python=3.10 -y
2525

2626
As Perlmutter has a shared HOME filesystem with other clusters, using
2727
the ``-pm`` suffix (for Perlmutter) is good practice.

docs/platforms/summit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Begin by loading the Python 3 Anaconda module::
2121

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

24-
conda create --name myenv python=3.9
24+
conda create --name myenv python=3.10
2525
export PYTHONNOUSERSITE=1 # Make sure get python from conda env
2626
. activate myenv
2727

docs/tutorials/local_sine_tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ need to write a new allocation function.
2222

2323
.. code-block:: bash
2424
25-
python --version # This should be >= 3.9
25+
python --version # This should be >= 3.10
2626
2727
.. _Python: https://www.python.org/
2828

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies = ["numpy", "psutil", "pydantic", "pyyaml", "tomli"]
88

99
description = "A Python toolkit for coordinating asynchronous and dynamic ensembles of calculations."
1010
name = "libensemble"
11-
requires-python = ">=3.9"
11+
requires-python = ">=3.10"
1212
license = {file = "LICENSE"}
1313
readme = "README.rst"
1414

@@ -22,7 +22,6 @@ classifiers = [
2222
"Operating System :: Unix",
2323
"Operating System :: MacOS",
2424
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
"Programming Language :: Python :: 3.12",
@@ -83,7 +82,7 @@ nlopt = ">=2.8.0,<3"
8382
scipy = ">=1.9.1,<2"
8483

8584
[tool.pixi.dependencies]
86-
python = ">=3.9,<3.14"
85+
python = ">=3.10,<3.14"
8786
pip = ">=24.3.1,<25"
8887
setuptools = ">=75.1.0,<76"
8988
numpy = ">=1.21,<3"

0 commit comments

Comments
 (0)