mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Update minimum Python version to 3.8 (#2958)
This commit is contained in:
parent
e77a5247b6
commit
2974d53b3c
4 changed files with 8 additions and 9 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -35,9 +35,6 @@ jobs:
|
|||
vectfit: [n]
|
||||
|
||||
include:
|
||||
- python-version: "3.7"
|
||||
omp: n
|
||||
mpi: n
|
||||
- python-version: "3.8"
|
||||
omp: n
|
||||
mpi: n
|
||||
|
|
@ -47,6 +44,9 @@ jobs:
|
|||
- python-version: "3.11"
|
||||
omp: n
|
||||
mpi: n
|
||||
- python-version: "3.12"
|
||||
omp: n
|
||||
mpi: n
|
||||
- dagmc: y
|
||||
python-version: "3.10"
|
||||
mpi: y
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ Style for Python code should follow PEP8_.
|
|||
|
||||
Docstrings for functions and methods should follow numpydoc_ style.
|
||||
|
||||
Python code should work with Python 3.7+.
|
||||
Python code should work with Python 3.8+.
|
||||
|
||||
Use of third-party Python packages should be limited to numpy_, scipy_,
|
||||
matplotlib_, pandas_, and h5py_. Use of other third-party packages must be
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ to install the Python package in :ref:`"editable" mode <devguide_editable>`.
|
|||
Prerequisites
|
||||
-------------
|
||||
|
||||
The Python API works with Python 3.7+. In addition to Python itself, the API
|
||||
The Python API works with Python 3.8+. In addition to Python itself, the API
|
||||
relies on a number of third-party packages. All prerequisites can be installed
|
||||
using Conda_ (recommended), pip_, or through the package manager in most Linux
|
||||
distributions.
|
||||
|
|
|
|||
7
setup.py
7
setup.py
|
|
@ -53,19 +53,18 @@ kwargs = {
|
|||
'Topic :: Scientific/Engineering'
|
||||
'Programming Language :: C++',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: 3.11',
|
||||
'Programming Language :: Python :: 3.12',
|
||||
],
|
||||
|
||||
# Dependencies
|
||||
'python_requires': '>=3.7',
|
||||
'python_requires': '>=3.8',
|
||||
'install_requires': [
|
||||
'numpy>=1.9', 'h5py', 'scipy', 'ipython', 'matplotlib',
|
||||
'pandas', 'lxml', 'uncertainties'
|
||||
'pandas', 'lxml', 'uncertainties', 'setuptools'
|
||||
],
|
||||
'extras_require': {
|
||||
'depletion-mpi': ['mpi4py'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue