Skip to content

Commit

Permalink
CI Update: Drop support for Python 3.7 and 3.8; add 3.11 (#317)
Browse files Browse the repository at this point in the history
* Drop support for Python 3.7 and 3.8; add 3.11

* attempt to fix 3.11 failing

* syntax

* use numba channel

* revert numba channel

* rearange pacakge order

* re-add scipy and numpy

* test alphabetical ordering

* Update installation.rst

Update Python version in installation.rst

---------

Co-authored-by: Philip Chmielowiec <[email protected]>
Co-authored-by: philipc2 <[email protected]>
  • Loading branch information
3 people authored May 21, 2023
1 parent a3bf73f commit 03194ce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-latest", "windows-latest"]
python-version: [ "3.7", "3.8", "3.9", "3.10"]
python-version: [ "3.9", "3.10", "3.11"]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Required dependencies for installing and testing Uxarray
The following packages should be installed (in your active conda
environment)::

- Python 3.7+
- Python 3.9+
- `pytest <https://docs.pytest.org/en/stable/>`_ (For tests only)
- `xarray <http://xarray.pydata.org/en/stable/>`_

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
xarray
numpy<1.24
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def version():
version=version(),
maintainer='UXARRAY',
maintainer_email='',
python_requires='>=3.7',
python_requires='>=3.9',
install_requires=requirements,
description=
"""Unstructured grid model reading and recognizing with xarray.""",
Expand All @@ -34,9 +34,9 @@ def version():
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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',
'Topic :: Scientific/Engineering',
],
include_package_data=True,
Expand Down

0 comments on commit 03194ce

Please sign in to comment.