Skip to content

Commit

Permalink
Bump python versions (#128)
Browse files Browse the repository at this point in the history
* Bump python versions

* try mambaforge for readthedocs
  • Loading branch information
rcomer authored Apr 26, 2023
1 parent 4320c72 commit 8be5d69
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ linux_task:
auto_cancellation: true
matrix:
env:
PY_VER: "3.7"
PY_VER: "3.9"
env:
PY_VER: "3.8"
PY_VER: "3.10"
env:
PY_VER: "3.9"
PY_VER: "3.11"
COVERAGE: "codecov"
name: "${CIRRUS_OS}: py${PY_VER}"
container:
Expand Down
4 changes: 3 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
version: 2

build:
image: latest
os: ubuntu-20.04
tools:
python: mambaforge-4.10

conda:
environment: requirements/docs.yml
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Minimum requirements
* `cftime <https://unidata.github.io/cftime>`_ >= 1.5
* `matplotlib <https://matplotlib.org/stable>`_
* `numpy <https://numpy.org/doc/stable>`_
* `python <https://docs.python.org/3>`_ >= 3.7
* `python <https://docs.python.org/3>`_ >= 3.9

Installation methods
--------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"

[tool.black]
line-length = 79
target-version = ['py37', 'py38', 'py39']
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
Expand Down
2 changes: 1 addition & 1 deletion requirements/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge

dependencies:
- python 3.9
- python 3.11

# setup dependencies
- setuptools
Expand Down
2 changes: 1 addition & 1 deletion requirements/ncta.yml
2 changes: 1 addition & 1 deletion requirements/py37.yml → requirements/py310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge

dependencies:
- python 3.7
- python 3.10

# setup dependencies
- setuptools
Expand Down
2 changes: 1 addition & 1 deletion requirements/py38.yml → requirements/py311.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge

dependencies:
- python 3.8
- python 3.11

# setup dependencies
- setuptools
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ classifiers =
Operating System :: POSIX :: Linux
Operating System :: Unix
Programming Language :: Python :: 3 :: Only
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
description = Provides support for a cftime axis in matplotlib
download_url = https://github.com/SciTools/nc-time-axis
Expand Down Expand Up @@ -39,7 +39,7 @@ install_requires =
numpy
packages = find:
python_requires =
>=3.7
>=3.9
zip_safe = False

[options.extras_require]
Expand Down

0 comments on commit 8be5d69

Please sign in to comment.