Skip to content

Commit

Permalink
Python: 3.8+ (#169)
Browse files Browse the repository at this point in the history
* Python: 3.8+

Python 3.7 went EOL last month.
Time to bump up our supported versions to 3.8+ as well.

* Update CI: Python 3.8+
  • Loading branch information
ax3l authored Aug 10, 2023
1 parent 2fe7f8b commit 7b8055f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.7'
python-version: '3.9'
- name: Dependencies
run: .github/workflows/dependencies/gcc7.sh
- name: Build & Install
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pyAMReX depends on the following popular third party software.
- [CMake 3.20.0+](https://cmake.org)
- [AMReX *development*](https://amrex-codes.github.io): we automatically download and compile a copy of AMReX
- [pybind11](https://github.com/pybind/pybind11/) 2.10.1+: we automatically download and compile a copy of pybind11 ([new BSD](https://github.com/pybind/pybind11/blob/master/LICENSE))
- [Python](https://python.org) 3.7+
- [Python](https://python.org) 3.8+
- [Numpy](https://numpy.org) 1.15+

Optional dependencies include:
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def build_extension(self, ext):
ext_modules=cxx_modules,
cmdclass=cmdclass,
zip_safe=False,
python_requires=">=3.7",
python_requires=">=3.8",
tests_require=["pytest"],
install_requires=install_requires,
# cmdclass={'test': PyTest},
Expand All @@ -258,7 +258,6 @@ def build_extension(self, ext):
"Topic :: Software Development :: Libraries",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit 7b8055f

Please sign in to comment.