Skip to content

Commit 5e94c2f

Browse files
Cadairnabobalis
andauthored
Updates from package template (#219)
Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
1 parent 4ad2347 commit 5e94c2f

6 files changed

Lines changed: 22 additions & 27 deletions

File tree

.cruft.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sunpy/package-template",
3-
"commit": "7958151d0246956f1e95889e8e3fa5abc4a3a129",
3+
"commit": "bea8060eef60df35f7df61d9db1d56b838bda01a",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -17,7 +17,7 @@
1717
"changelog_url": "https://docs.sunpy.org/projects/sunkit-pyvista/en/stable/whatsnew/changelog.html",
1818
"issue_tracker_url": "https://github.com/sunpy/sunkit-pyvista/issues",
1919
"license": "BSD 3-Clause",
20-
"minimum_python_version": "3.10",
20+
"minimum_python_version": "3.12",
2121
"use_compiled_extensions": "n",
2222
"enable_dynamic_dev_versions": "y",
2323
"include_example_code": "n",
@@ -32,7 +32,7 @@
3232
".github/workflows/sub_package_update.yml"
3333
],
3434
"_template": "https://github.com/sunpy/package-template",
35-
"_commit": "7958151d0246956f1e95889e8e3fa5abc4a3a129"
35+
"_commit": "bea8060eef60df35f7df61d9db1d56b838bda01a"
3636
}
3737
},
3838
"directory": null

.github/workflows/ci.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
submodules: false
3636
coverage: codecov
3737
toxdeps: tox-pypi-filter
38+
libraries: |
39+
apt:
40+
- libosmesa6
41+
- libglfw3-dev
42+
- libgles2-mesa-dev
3843
envs: |
3944
- linux: py313
40-
libraries:
41-
apt:
42-
- libosmesa6
43-
- libglfw3-dev
44-
- libgles2-mesa-dev
4545
secrets:
4646
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4747

@@ -65,21 +65,17 @@ jobs:
6565
submodules: false
6666
coverage: codecov
6767
toxdeps: tox-pypi-filter
68+
libraries: |
69+
apt:
70+
- libosmesa6
71+
- libglfw3-dev
72+
- libgles2-mesa-dev
6873
envs: |
69-
- windows: py311
74+
- linux: py314
75+
- windows: py312
7076
- macos: py312
71-
- linux: py311-oldestdeps
72-
libraries:
73-
apt:
74-
- libosmesa6
75-
- libglfw3-dev
76-
- libgles2-mesa-dev
77-
- linux: py313-devdeps
78-
libraries:
79-
apt:
80-
- libosmesa6
81-
- libglfw3-dev
82-
- libgles2-mesa-dev
77+
- linux: py312-oldestdeps
78+
- linux: py314-devdeps
8379
secrets:
8480
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
8581

.ruff.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ select = [
1818
extend-ignore = [
1919
# pycodestyle (E, W)
2020
"E501", # ignore line length will use a formatter instead
21-
# pyupgrade (UP)
22-
"UP038", # Use | in isinstance - not compatible with models and is slower
2321
# pytest (PT)
2422
"PT001", # Always use pytest.fixture()
2523
"PT023", # Always use () on pytest decorators

changelog/219.breaking.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Increased minimum Python version to 3.12.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
1010
name = "sunkit_pyvista"
1111
dynamic = ["version"]
1212
description = "3D visualisation of solar physics data with pyvista"
13-
requires-python = ">=3.11"
13+
requires-python = ">=3.12"
1414
readme = { file = "README.rst", content-type = "text/x-rst" }
1515
license = { file = "licenses/LICENSE.rst" }
1616
authors = [

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ min_version = 4.0
33
requires =
44
tox-pypi-filter>=0.14
55
envlist =
6-
py{311,312,313}
7-
py313-devdeps
8-
py311-oldestdeps
6+
py{312,313,314}
7+
py314-devdeps
8+
py312-oldestdeps
99
codestyle
1010
build_docs
1111
recreate_figures

0 commit comments

Comments
 (0)