Skip to content

Commit

Permalink
Update minimum Python version to 3.8 (#2958)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulromano committed Apr 15, 2024
1 parent e77a524 commit 2974d53
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
vectfit: [n]

include:
- python-version: "3.7"
omp: n
mpi: n
- python-version: "3.8"
omp: n
mpi: n
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/devguide/styleguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/usersguide/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,18 @@
'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'],
Expand Down

0 comments on commit 2974d53

Please sign in to comment.