Skip to content

Commit

Permalink
increase min sunpy (#223)
Browse files Browse the repository at this point in the history
* increase min sunpy

* changelog
  • Loading branch information
nabobalis authored Jul 31, 2024
1 parent 33dbf9a commit 6e79324
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 27 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,25 +87,8 @@ jobs:
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

cron:
if: |
github.event_name == 'workflow_dispatch' || (
github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Run cron CI')
)
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
default_python: '3.10'
submodules: false
coverage: codecov
toxdeps: tox-pypi-filter
envs: |
- linux: py311-devdeps
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

devdeps:
needs: [online]
needs: [test]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
submodules: false
Expand Down
1 change: 1 addition & 0 deletions changelog/223.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Increased the minimum required version of ``sunpy`` to the latest LTS version 6.0.0
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ classifiers = [
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
'astropy>=5.2.0',
'numpy>=1.23.0',
'astropy>=5.3.0',
'numpy>=1.23.5',
'matplotlib>=3.5.0',
'scipy>=1.8.0,!=1.10.0',
'scipy>=1.10.1',
'scikit-image>=0.20.0',
'sunpy[map]>=5.0.0',
'sunpy[map]>=6.0.0',
]

[project.optional-dependencies]
Expand All @@ -49,7 +49,7 @@ tests = [
'pytest-astropy',
'pytest-mpl',
"pytest-xdist",
"sunpy[data]>=5.0.0",
"sunpy[data]>=6.0.0",
]
docs = [
"sunkit_image[all]",
Expand All @@ -62,7 +62,7 @@ docs = [
'sphinx-gallery',
'sphinx',
'sunpy-sphinx-theme',
'sunpy[data,net]>=5.0.0',
'sunpy[data,net]>=6.0.0',
]

dev = ["sunkit_image[all,tests,docs]"]
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ set_env =
deps =
# For packages which publish nightly wheels this will pull the latest nightly
devdeps: numpy>=0.0.dev0
devdeps: sunpy>=0.0.dev0
devdeps: scikit_image>=0.0.dev0
# Packages without nightly wheels will be built from source like this
devdeps: git+https://github.com/scikit-image/scikit-image.git
devdeps: git+https://github.com/sunpy/sunpy.git
# devdeps: git+https://github.com/scikit-image/scikit-image.git
# Handle minimum dependencies via minimum_dependencies
oldestdeps: minimum_dependencies
# Figure tests need a tightly controlled environment
figure-!devdeps: astropy==6.1.0
figure-!devdeps: matplotlib==3.9.0
figure-!devdeps: sunpy==5.1.3
figure-!devdeps: sunpy==6.0.0
# The following indicates which extras_require will be installed
extras =
all
Expand Down

0 comments on commit 6e79324

Please sign in to comment.