File tree 6 files changed +40
-7
lines changed
6 files changed +40
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"template" : " https://github.com/sunpy/package-template" ,
3
- "commit" : " 2fbaccff08fdfbb1bc1eec2bc7b980fe44a718e6 " ,
3
+ "commit" : " 67ea3b3815de57668e92dbe1fa2c3d033758d8f0 " ,
4
4
"checkout" : null ,
5
5
"context" : {
6
6
"cookiecutter" : {
Original file line number Diff line number Diff line change 37
37
- uses : actions/checkout@v4
38
38
- uses : actions/setup-python@v5
39
39
with :
40
- python-version : ' 3.10 '
40
+ python-version : ' 3.12 '
41
41
- run : python -m pip install -U --user build
42
42
- run : python -m build . --sdist
43
43
- run : python -m pip install -U --user twine
62
62
needs : [core]
63
63
uses : OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
64
64
with :
65
- default_python : ' 3.10 '
65
+ default_python : ' 3.12 '
66
66
submodules : false
67
67
pytest : false
68
68
toxdeps : tox-pypi-filter
@@ -86,12 +86,36 @@ jobs:
86
86
)
87
87
uses : OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
88
88
with :
89
- default_python : ' 3.10 '
89
+ default_python : ' 3.12 '
90
90
submodules : false
91
91
coverage : codecov
92
92
toxdeps : tox-pypi-filter
93
93
envs : |
94
94
- linux: py311-devdeps
95
+ <<<<<<<
96
+ =======
97
+ secrets :
98
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
99
+
100
+ publish :
101
+ needs : [test, docs]
102
+ # Build wheels on PRs only when labelled. Releases will only be published if tagged ^v.*
103
+ # see https://github-actions-workflows.openastronomy.org/en/latest/publish.html#upload-to-pypi
104
+ if : |
105
+ github.event_name != 'pull_request' ||
106
+ (
107
+ github.event_name == 'pull_request' &&
108
+ contains(github.event.pull_request.labels.*.name, 'Run publish')
109
+ )
110
+ uses : OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@main
111
+ with :
112
+ python-version : ' 3.12'
113
+ test_extras : ' tests'
114
+ test_command : ' pytest -p no:warnings --doctest-rst --pyargs ndcube'
115
+ submodules : false
116
+ secrets :
117
+ pypi_token : ${{ secrets.pypi_token }}
118
+ >>>>>>>
95
119
secrets :
96
120
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
97
121
Original file line number Diff line number Diff line change 1
1
repos :
2
2
# This should be before any formatting hooks like isort
3
3
- repo : https://github.com/astral-sh/ruff-pre-commit
4
- rev : " v0.5.4 "
4
+ rev : " v0.6.3 "
5
5
hooks :
6
6
- id : ruff
7
7
args : ["--fix"]
Original file line number Diff line number Diff line change 1
1
version : 2
2
2
3
3
build :
4
- os : ubuntu-22.04
4
+ os : ubuntu-lts-latest
5
5
tools :
6
- python : " mambaforge-4.10 "
6
+ python : " mambaforge-latest "
7
7
jobs :
8
8
post_checkout :
9
9
- git fetch --unshallow || true
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: ndcube
2
2
channels :
3
3
- conda-forge
4
4
dependencies :
5
+ <<<<<<<
5
6
- python=3.11
7
+ =======
8
+ - python=3.12
9
+ >>>>>>>
6
10
- pip
7
11
- graphviz!=2.42.*,!=2.43.*
Original file line number Diff line number Diff line change 2
2
requires = [
3
3
" setuptools>=62.1" ,
4
4
" setuptools_scm[toml]>=6.2" ,
5
+ <<<<<<<
5
6
" wheel"
7
+ =======
8
+ "wheel",
9
+ >>>>>>>
6
10
]
7
11
build-backend = " setuptools.build_meta"
8
12
@@ -67,6 +71,7 @@ zip-safe = false
67
71
include-package-data = true
68
72
69
73
[tool .setuptools .packages .find ]
74
+ include = [" ndcube*" ]
70
75
exclude = [" ndcube._dev*" ]
71
76
72
77
[tool .setuptools_scm ]
You can’t perform that action at this time.
0 commit comments