File tree 12 files changed +1763
-1408
lines changed
12 files changed +1763
-1408
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"template" : " https://github.com/statisticsnorway/ssb-pypitemplate.git" ,
3
- "commit" : " e6f0ca2794354d16838cf36d97bee2f9f70d3142 " ,
4
- "checkout" : " 2024.9.10 " ,
3
+ "commit" : " 66884cffa5aa67ed505bb121009501b51cc4d847 " ,
4
+ "checkout" : " 2025.1.14 " ,
5
5
"context" : {
6
6
"cookiecutter" : {
7
7
"project_name" : " ssb-model-solver" ,
8
8
"package_name" : " model_solver" ,
9
9
"friendly_name" : " SSB Model Solver" ,
10
10
"copyright_owner" : " Statistics Norway" ,
11
11
"copyright_year" : " 2024" ,
12
- "author" : " Benedikt Goodman" ,
12
+ "author" : " Magnus Helliesen, Benedikt Goodman" ,
13
13
14
14
"github_organization" : " statisticsnorway" ,
15
15
"version" : " 1.1.23" ,
23
23
"lstrip_blocks" : true ,
24
24
"trim_blocks" : true
25
25
},
26
- "_template" : " https://github.com/statisticsnorway/ssb-pypitemplate.git"
26
+ "_template" : " https://github.com/statisticsnorway/ssb-pypitemplate.git" ,
27
+ "_commit" : " 66884cffa5aa67ed505bb121009501b51cc4d847"
27
28
}
28
29
},
29
30
"directory" : null
Original file line number Diff line number Diff line change
1
+ name : " \U0001F41E Bug Report"
2
+ description : Report a bug
3
+ labels : ["bug"]
4
+ body :
5
+ - type : markdown
6
+ attributes :
7
+ value : |
8
+ Please fill out the sections below to help everyone identify and fix the bug
9
+ - type : textarea
10
+ id : description
11
+ attributes :
12
+ label : Describe the bug
13
+ placeholder : A clear and concise description of what the bug is.
14
+ validations :
15
+ required : true
16
+ - type : textarea
17
+ id : reproduce
18
+ attributes :
19
+ label : To Reproduce
20
+ description : Steps to reproduce the behavior.
21
+ placeholder : |
22
+ 1. Step 1...
23
+ 2. Step 2...
24
+ 3. Step 3...
25
+ 4. Step 4...
26
+ validations :
27
+ required : false
28
+ - type : textarea
29
+ id : expected
30
+ attributes :
31
+ label : Expected behaviour
32
+ placeholder : A clear and concise description of what you expected to happen.
33
+ validations :
34
+ required : false
35
+ - type : dropdown
36
+ id : platform
37
+ attributes :
38
+ label : Platforms and Environments
39
+ multiple : true
40
+ description : >
41
+ On which platforms does the bug occur?
42
+ The first four items are platforms in Statistics Norway.
43
+ You can select multiple platforms.
44
+ options :
45
+ - DaplaLab with vscode
46
+ - DaplaLab with Jupyter
47
+ - Jupyter on-prem
48
+ - Old Dapla with Jupyter
49
+ - Windows
50
+ - Linux
51
+ - macOS
52
+ validations :
53
+ required : true
54
+ - type : input
55
+ id : version
56
+ attributes :
57
+ label : Version
58
+ description : What version of our software are you running?
59
+ placeholder : 1.0.0
60
+ validations :
61
+ required : false
62
+ - type : textarea
63
+ id : logs
64
+ attributes :
65
+ label : Error messages or logs
66
+ description : Please copy and paste any relevant log output or error messages.
67
+ render : shell
68
+ validations :
69
+ required : false
70
+ - type : markdown
71
+ attributes :
72
+ value : |
73
+ Thanks for reporting this issue! We will get back to you as soon as possible.
Original file line number Diff line number Diff line change
1
+ name : " \U0001F381 Feature Request"
2
+ description : Suggest a new feature or enhancment.
3
+ labels : ["enhancement"]
4
+ body :
5
+ - type : textarea
6
+ id : description
7
+ attributes :
8
+ label : Description
9
+ description : >
10
+ Describe the feature or enhancement and explain why it should be implemented.
11
+ Include a code example if applicable.
12
+ validations :
13
+ required : true
14
+ - type : markdown
15
+ attributes :
16
+ value : |
17
+ Thanks for reporting this issue! We will get back to you as soon as possible.
Original file line number Diff line number Diff line change 1
- pip==24.2
2
- nox==2024.4.15
1
+ pip==24.3.1
2
+ nox==2024.10.9
3
3
nox-poetry==1.0.3
4
- poetry==1.8.3
5
- virtualenv==20.26.3
4
+ poetry==2.0.1
5
+ virtualenv==20.28.1
Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ jobs:
31
31
- name : Install Poetry
32
32
run : |
33
33
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry
34
+ pipx inject poetry poetry-plugin-export
34
35
poetry --version
35
36
36
37
- name : Set up Python
37
- uses : actions/setup-python@v5.2 .0
38
+ uses : actions/setup-python@v5.3 .0
38
39
with :
39
40
python-version : " 3.12"
40
41
cache : " poetry"
Original file line number Diff line number Diff line change 20
20
uses : actions/checkout@v4
21
21
22
22
- name : Run Labeler
23
-
23
+ uses :
crazy-max/[email protected] # Use this version until https://github.com/crazy-max/ghaction-github-labeler/issues/221 is fixed
24
24
with :
25
25
skip-delete : true
Original file line number Diff line number Diff line change 21
21
fetch-depth : 2
22
22
23
23
- name : Set up Python
24
- uses : actions/setup-python@v5.2 .0
24
+ uses : actions/setup-python@v5.3 .0
25
25
with :
26
26
python-version : " 3.12"
27
27
32
32
33
33
- name : Install Poetry
34
34
run : |
35
- pip install -c ${{ github.workspace }}/.github/workflows/constraints.txt poetry
35
+ pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry
36
+ pipx inject poetry poetry-plugin-export
36
37
poetry --version
37
38
38
39
- name : Check if there is a parent commit
@@ -61,11 +62,11 @@ jobs:
61
62
62
63
- name : Publish package on PyPI
63
64
if : steps.check-version.outputs.tag
64
- uses : pypa/gh-action-pypi-publish@v1.10.1
65
+ uses : pypa/gh-action-pypi-publish@v1.12.3
65
66
66
67
- name : Publish package on TestPyPI
67
68
if : (!steps.check-version.outputs.tag)
68
- uses : pypa/gh-action-pypi-publish@v1.10.1
69
+ uses : pypa/gh-action-pypi-publish@v1.12.3
69
70
with :
70
71
repository-url : https://test.pypi.org/legacy/
71
72
Original file line number Diff line number Diff line change 37
37
uses : actions/checkout@v4
38
38
39
39
- name : Set up Python ${{ matrix.python }}
40
- uses : actions/setup-python@v5.2 .0
40
+ uses : actions/setup-python@v5.3 .0
41
41
with :
42
42
python-version : ${{ matrix.python }}
43
43
58
58
- name : Install Poetry
59
59
run : |
60
60
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry
61
+ pipx inject poetry poetry-plugin-export
61
62
poetry --version
62
63
63
64
- name : Install Nox
@@ -120,9 +121,9 @@ jobs:
120
121
fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
121
122
122
123
- name : Set up Python
123
- uses : actions/setup-python@v5.2 .0
124
+ uses : actions/setup-python@v5.3 .0
124
125
with :
125
- python-version : " 3.12 "
126
+ python-version : " 3.10 "
126
127
127
128
- name : Upgrade pip
128
129
run : |
@@ -132,6 +133,7 @@ jobs:
132
133
- name : Install Poetry
133
134
run : |
134
135
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry
136
+ pipx inject poetry poetry-plugin-export
135
137
poetry --version
136
138
137
139
- name : Install Nox
@@ -167,4 +169,4 @@ jobs:
167
169
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
168
170
# No need to run SonarCloud analysis if dependabot update or token not defined
169
171
if : env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]')
170
- uses : SonarSource/sonarcloud-github-action@v3.0 .0
172
+ uses : SonarSource/sonarcloud-github-action@v3.1 .0
Original file line number Diff line number Diff line change @@ -23,19 +23,16 @@ repos:
23
23
entry : end-of-file-fixer
24
24
language : system
25
25
types : [text]
26
- stages : [commit, push, manual]
27
26
- id : trailing-whitespace
28
27
name : Trim Trailing Whitespace
29
28
entry : trailing-whitespace-fixer
30
29
language : system
31
30
types : [text]
32
- stages : [commit, push, manual]
33
31
- id : mixed-line-ending
34
32
name : Mixed Line Ending
35
33
entry : mixed-line-ending
36
34
language : system
37
35
types : [text]
38
- stages : [commit, push, manual]
39
36
40
37
# Serialization format checkers
41
38
- id : check-yaml
65
62
entry : darglint
66
63
language : system
67
64
types : [python]
68
- stages : [manual]
69
65
- id : ruff
70
66
name : ruff
71
67
entry : ruff check --fix --exit-non-zero-on-fix
You can’t perform that action at this time.
0 commit comments