Skip to content

Commit

Permalink
Update for sunpy 5.0 and ndcube 2.1.2 (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabil Freij authored Jun 6, 2023
1 parent ae29d58 commit 7307649
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,30 @@ jobs:
with:
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
toxdeps: tox-pypi-filter
posargs: -n auto
envs: |
- linux: py310
- linux: py311
test:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
toxdeps: tox-pypi-filter
posargs: -n auto
envs: |
- windows: py39
- macos: py38
- macos: py310
docs:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
default_python: '3.8'
submodules: false
pytest: false
toxdeps: "'tox<4' tox-pypi-filter"
toxdeps: tox-pypi-filter
cache-key: docs-${{ github.run_id }}
libraries: |
apt:
Expand All @@ -61,10 +60,9 @@ jobs:
needs: [docs]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
default_python: '3.8'
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
toxdeps: tox-pypi-filter
posargs: -n 1 --dist loadgroup
envs: |
- linux: py311-online
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
0.5.0 (2023-06-06)
==================

Breaking Changes
----------------

- Increased the minimum version of ``sunpy`` to 5.0.0
- Increased the minimum version of ``ndcube`` to 2.1.2
- Increased the minimum version of Python to 3.9

0.4.3 (2022-10-06)
==================

Expand Down
11 changes: 4 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,33 @@ github_project = sunpy/sunraster
platform = any
keywords = solar physics, solar, science, sun, wcs, coordinates, spectra, raster
classifiers =
Development Status :: 5 - Production/Stable
Development Status :: 4 - Beta
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering :: Physics

[options]
zip_safe = False
python_requires = >=3.8
python_requires = >=3.9
packages = find:
include_package_data = True
setup_requires =
setuptools_scm
install_requires =
numpy
astropy
ndcube[plotting]>=2.0.1
ndcube[plotting]>=2.1.2

[options.extras_require]
instr =
sunpy>=4.0.0
sunpy>=5.0.0rc1
tests =
pytest-astropy
docs =
Expand All @@ -50,8 +49,6 @@ docs =
sphinx-changelog
sphinx-gallery
sunpy-sphinx-theme
# Not a direct dependency, but we need to pin this until sphinx-changelog is updated (see #6668)
towncrier<22.12.0

[options.packages.find]
exclude = sunraster._dev
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ requires =

[testenv]
pypi_filter = https://raw.githubusercontent.com/sunpy/sunpy/main/.test_package_pins.txt
passenv = HOME WINDIR LC_ALL LC_CTYPE CC CI TRAVIS
changedir = .tmp/{envname}
description =
run tests
Expand All @@ -27,7 +26,7 @@ deps =
devdeps: git+https://github.com/astropy/astropy
devdeps: git+https://github.com/sunpy/ndcube
devdeps: git+https://github.com/sunpy/sunpy
oldestdeps: ndcube<3.0.0
oldestdeps: ndcube<2.2
online: pytest-rerunfailures
online: pytest-timeout
pytest-cov
Expand Down

0 comments on commit 7307649

Please sign in to comment.