Skip to content

Commit 1cd94e5

Browse files
authored
Merge pull request #1694 from Libensemble/deprecate/py310
Deprecate/py310
2 parents a647f36 + dc2e709 commit 1cd94e5

9 files changed

Lines changed: 14 additions & 30 deletions

File tree

.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: ["py310", "py311", "py312", "py313", "py314"]
20+
python-version: ["py311", "py312", "py313", "py314"]
2121
comms-type: [m, l]
2222
include:
2323
- os: macos-latest

.github/workflows/extra.yml

Lines changed: 1 addition & 8 deletions
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: ["py310e", "py311e", "py312e", "py313e", "py314e"]
14+
python-version: ["py311e", "py312e", "py313e", "py314e"]
1515
comms-type: [m, l]
1616
include:
1717
- os: macos-latest
@@ -70,13 +70,6 @@ jobs:
7070
run: |
7171
pixi run -e ${{ matrix.python-version }} pip install gpcam==8.1.13
7272
73-
- name: Remove xopt tests on old python
74-
if: matrix.python-version == 'py310e'
75-
run: |
76-
rm ./libensemble/tests/regression_tests/test_xopt_EI_xopt_sim.py
77-
rm ./libensemble/tests/regression_tests/test_xopt_EI.py
78-
rm ./libensemble/tests/regression_tests/test_xopt_nelder_mead.py
79-
8073
- name: Remove test using octave, gpcam, globus-compute on Python 3.13
8174
if: matrix.python-version == 'py313e' || matrix.python-version == 'py314e'
8275
run: |

.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.10"
6+
python: "3.12"
77
commands:
88
# from https://docs.readthedocs.com/platform/stable/build-customization.html#support-git-lfs-large-file-storage
99
# Download and uncompress the binary

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``, ``uv``, ``Conda``, or ``Spack``.
66
libEnsemble requires the following dependencies, which are typically
77
automatically installed alongside libEnsemble:
88

9-
* Python_ ``>= 3.10``
9+
* Python_ ``>= 3.11``
1010
* NumPy_ ``>= 1.21``
1111
* psutil_ ``>= 5.9.4``
1212
* `pydantic`_ ``>= 2``
@@ -142,7 +142,7 @@ Further recommendations for selected HPC systems are given in the
142142

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

147147
.. code-block:: yaml
148148
@@ -155,12 +155,12 @@ Further recommendations for selected HPC systems are given in the
155155
py-numpy:
156156
externals:
157157
- spec: "py-numpy"
158-
prefix: $CONDA_PREFIX/lib/python3.10/site-packages/numpy
158+
prefix: $CONDA_PREFIX/lib/python3.11/site-packages/numpy
159159
buildable: False
160160
py-scipy:
161161
externals:
162162
- spec: "py-scipy"
163-
prefix: $CONDA_PREFIX/lib/python3.10/site-packages/scipy
163+
prefix: $CONDA_PREFIX/lib/python3.11/site-packages/scipy
164164
buildable: True
165165
166166
For more information on Spack builds and any particular considerations

docs/platforms/perlmutter.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ Change the ``libE_specs`` in **run_libe_forces.py** as follows.
120120
# Persistent gen does not need resources
121121
ensemble.libE_specs = LibeSpecs(
122122
gen_on_manager=True,
123+
)
123124
124125
and run with::
125126

docs/platforms/summit.rst

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

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

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

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.10
25+
python --version # This should be >= 3.11
2626
2727
.. _Python: https://www.python.org/
2828

pixi.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919

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

@@ -33,7 +33,6 @@ classifiers = [
3333
"Operating System :: Unix",
3434
"Operating System :: MacOS",
3535
"Programming Language :: Python :: 3",
36-
"Programming Language :: Python :: 3.10",
3736
"Programming Language :: Python :: 3.11",
3837
"Programming Language :: Python :: 3.12",
3938
"Programming Language :: Python :: 3.13",
@@ -76,13 +75,11 @@ docs = ["docs", "basic"]
7675
dev = ["dev", "basic", "extra", "docs"]
7776

7877
# CI environments
79-
py310 = ["py310", "basic"]
8078
py311 = ["py311", "basic"]
8179
py312 = ["py312", "basic"]
8280
py313 = ["py313", "basic"]
8381
py314 = ["py314", "basic"]
8482

85-
py310e = ["py310", "py310e", "basic", "extra"]
8683
py311e = ["py311", "py311e", "basic", "extra"]
8784
py312e = ["py312", "py312e", "basic", "extra"]
8885
py313e = ["py313", "py313e", "basic", "extra"]
@@ -155,8 +152,6 @@ octave = ">=9.4.0,<11"
155152
pyzmq = ">=26.4.0,<28"
156153

157154
# Python versions
158-
[tool.pixi.feature.py310.dependencies]
159-
python = "3.10.*"
160155
[tool.pixi.feature.py311.dependencies]
161156
python = "3.11.*"
162157
[tool.pixi.feature.py312.dependencies]
@@ -167,11 +162,6 @@ python = "3.13.*"
167162
python = "3.14.*"
168163

169164
# ax-platform only works up to 3.13 on Linux
170-
[tool.pixi.feature.py310e.target.linux-64.dependencies]
171-
ax-platform = "==0.5.0"
172-
173-
[tool.pixi.feature.py310e.dependencies]
174-
globus-compute-sdk = ">=4.3.0,<5"
175165

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

194184
# Dependencies for libEnsemble
195185
[tool.pixi.dependencies]
196-
python = ">=3.10,<3.15"
186+
python = ">=3.11,<3.15"
197187
pip = ">=25.2,<26"
198188
setuptools = ">=80.8.0,<81"
199189
numpy = ">=2.2.6,<3"

0 commit comments

Comments
 (0)