Skip to content

Commit

Permalink
Merge pull request #517 from larrybradley/bump-deps
Browse files Browse the repository at this point in the history
MNT: Drop support for Python 3.8
  • Loading branch information
larrybradley authored Sep 13, 2023
2 parents 210e0c8 + 0c3c206 commit 4fba0e4
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 25 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
python: '3.8'
tox_env: 'py38-test-alldeps'
allow_failure: false
prefix: ''

- os: ubuntu-latest
python: '3.9'
tox_env: 'py39-test-alldeps'
Expand Down Expand Up @@ -92,8 +86,8 @@ jobs:
prefix: ''

- os: ubuntu-latest
python: '3.8'
tox_env: 'py38-test-alldeps-astropylts-numpy118'
python: '3.9'
tox_env: 'py39-test-alldeps-astropylts-numpy122'
allow_failure: false
prefix: ''

Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,22 @@ jobs:
test_command: pytest -p no:warnings --pyargs regions
targets: |
# Linux wheels
- cp38-manylinux_x86_64
- cp39-manylinux_x86_64
- cp310-manylinux_x86_64
- cp311-manylinux_x86_64
# MacOS X wheels
# Note that the arm64 wheels are not actually tested so we rely
# on local manual testing of these to make sure they are ok.
- cp38*macosx_x86_64
- cp39*macosx_x86_64
- cp310*macosx_x86_64
- cp311*macosx_x86_64
- cp38*macosx_arm64
- cp39*macosx_arm64
- cp310*macosx_arm64
- cp311*macosx_arm64
# Windows wheels
- cp38*win32
- cp39*win32
- cp310*win32
- cp311*win32
- cp38*win_amd64
- cp39*win_amd64
- cp310*win_amd64
- cp311*win_amd64
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ repos:
rev: v3.10.1
hooks:
- id: pyupgrade
args: ["--py38-plus"]
args: ["--py39-plus"]
exclude: ".*(extern.*)$"

- repo: https://github.com/pycqa/isort
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
General
-------

- The minimum required Python is now 3.9. [#517]

- The minimum required NumPy is now 1.22. [#517]

- The minimum required Matplotlib is now 3.5. [#517]

New Features
------------

Expand Down
8 changes: 4 additions & 4 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ Requirements

Regions has the following strict requirements:

* `Python <https://www.python.org/>`_ 3.8 or later
* `Python <https://www.python.org/>`_ 3.9 or later

* `Numpy <https://numpy.org/>`_ 1.18 or later
* `NumPy <https://numpy.org/>`_ 1.22 or later

* `Astropy`_ 5.0 or later

Region also optionally depends on other packages for some features:

* `matplotlib <https://matplotlib.org/>`_ 3.1 or later
* `Matplotlib <https://matplotlib.org/>`_ 3.5 or later

Regions depends on `pytest-astropy
<https://github.com/astropy/pytest-astropy>`_ (0.4 or later) and
<https://github.com/astropy/pytest-astropy>`_ (0.10 or later) and
`pytest-arraydiff <https://github.com/astropy/pytest-arraydiff>`_ (0.3
or later) to run the test suite.

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ classifiers = [
'Topic :: Scientific/Engineering :: Astronomy',
]
dynamic = ['version']
requires-python = '>=3.8'
requires-python = '>=3.9'
dependencies = [
'numpy>=1.18',
'numpy>=1.22',
'astropy>=5.0',
]

Expand All @@ -35,7 +35,7 @@ documentation = 'https://astropy-regions.readthedocs.io/en/stable/'

[project.optional-dependencies]
all = [
'matplotlib>=3.1',
'matplotlib>=3.5',
'shapely',
]
test = [
Expand Down

0 comments on commit 4fba0e4

Please sign in to comment.