Skip to content

Commit

Permalink
Set minimum python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
CyclingNinja committed Sep 10, 2024
1 parent b5f8d7e commit 11b31f5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
default_python: '3.9'
default_python: '3.10'
submodules: false
pytest: false
toxdeps: tox-pypi-filter
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
rev: 5.13.2
hooks:
- id: isort
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|sunkit_instruments/extern)$""
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|sunkit_instruments/extern)$"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@
default_role = "obj"

# -- Options for HTML output ---------------------------------------------------
from sunpy_sphinx_theme.conf import * # NOQA
html_theme = "sunpy"
from sunpy_sphinx_theme import *

# -- Other options ----------------------------------------------------------

Expand All @@ -128,7 +129,7 @@
"gallery_dirs": os.path.join("generated", "gallery"),
"matplotlib_animations": True,
# Comes from the theme.
"default_thumb_file": png_icon,
"default_thumb_file": PNG_ICON,
"abort_on_example_error": False,
"plot_gallery": "True",
"remove_config_comments": True,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ build-backend = "setuptools.build_meta"
[project]
name = "sunkit_instruments"
description = "A SunPy-affiliated package for solar instrum"
requires-python = ">=3.9"
requires-python = ">=3.10"
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { file = "licenses/LICENSE.rst" }
authors = [
{ name = "The SunPy Community", email = "[email protected]" },
]
dependencies = [
"scipy",
"scipy>=1.10.0,!=1.10.0",
"sunpy[map,net,timeseries,visualization]>=6.0.0"
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ set_env =
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
deps =
devdeps: git+https://github.com/sunpy/sunpy
oldestdeps: sunpy<5.1
oldestdeps: sunpy<6.0.0
online: pytest-rerunfailures
online: pytest-timeout
pytest-xdist
Expand Down

0 comments on commit 11b31f5

Please sign in to comment.