Skip to content

Commit 114e923

Browse files
authored
Merge pull request #115 from statisticsnorway/dash-comp
Dash comp
2 parents dd86a7c + dcab8d4 commit 114e923

25 files changed

+1073
-746
lines changed

.cookiecutter.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"_commit": "dcc4de1788caf9123ee2a56ca3828eee8be383a8",
23
"_copy_without_render": [
34
"*.rst_t"
45
],

.cruft.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"template": "https://github.com/statisticsnorway/ssb-pypitemplate.git",
3-
"commit": "9e3c49f6680d4c400567c39d70b768f0a322c95e",
4-
"checkout": "2025.7.18",
3+
"commit": "dcc4de1788caf9123ee2a56ca3828eee8be383a8",
4+
"checkout": null,
55
"context": {
66
"cookiecutter": {
77
"project_name": "ssb-konjunk",
@@ -26,7 +26,7 @@
2626
"trim_blocks": true
2727
},
2828
"_template": "https://github.com/statisticsnorway/ssb-pypitemplate.git",
29-
"_commit": "9e3c49f6680d4c400567c39d70b768f0a322c95e"
29+
"_commit": "dcc4de1788caf9123ee2a56ca3828eee8be383a8"
3030
}
3131
},
3232
"directory": null

.darglint

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/constraints.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nox==2025.5.1
2-
pip==25.1.1
1+
nox==2026.2.9
2+
pip==26.0.1
33
nox-poetry==1.2.0
4-
poetry==2.1.3
4+
poetry==2.3.2

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Check out the repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030

3131
- name: Install Poetry
3232
run: |
@@ -35,9 +35,9 @@ jobs:
3535
poetry --version
3636
3737
- name: Set up Python
38-
uses: actions/setup-python@v5.6.0
38+
uses: actions/setup-python@v6.2.0
3939
with:
40-
python-version: "3.12"
40+
python-version: "3.13"
4141
cache: "poetry"
4242

4343
- name: Install dependencies
@@ -49,7 +49,7 @@ jobs:
4949
poetry run sphinx-build docs docs/_build
5050
5151
- name: Upload artifact
52-
uses: actions/upload-pages-artifact@v3
52+
uses: actions/upload-pages-artifact@v4
5353
with:
5454
path: "docs/_build"
5555

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
contents: read
1818
steps:
1919
- name: Check out the repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121

2222
- name: Run Labeler
2323
uses: crazy-max/ghaction-github-labeler@v5.3.0

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
pull-requests: read
1717
steps:
1818
- name: Check out the repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 2
2222

2323
- name: Set up Python
24-
uses: actions/setup-python@v5.6.0
24+
uses: actions/setup-python@v6.2.0
2525
with:
26-
python-version: "3.12"
26+
python-version: "3.13"
2727

2828
- name: Upgrade pip
2929
run: |
@@ -62,16 +62,16 @@ jobs:
6262
6363
- name: Publish package on PyPI
6464
if: steps.check-version.outputs.tag
65-
uses: pypa/gh-action-pypi-publish@v1.12.4
65+
uses: pypa/gh-action-pypi-publish@v1.13.0
6666

6767
- name: Publish package on TestPyPI
6868
if: (!steps.check-version.outputs.tag)
69-
uses: pypa/gh-action-pypi-publish@v1.12.4
69+
uses: pypa/gh-action-pypi-publish@v1.13.0
7070
with:
7171
repository-url: https://test.pypi.org/legacy/
7272

7373
- name: Publish the release notes
74-
uses: release-drafter/release-drafter@v6.1.0
74+
uses: release-drafter/release-drafter@v6.2.0
7575
with:
7676
publish: ${{ steps.check-version.outputs.tag != '' }}
7777
tag: ${{ steps.check-version.outputs.tag }}

.github/workflows/tests.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,18 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
include:
21-
- { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
22-
- { python: "3.11", os: "ubuntu-latest", session: "mypy" }
21+
- { python: "3.13", os: "ubuntu-latest", session: "pre-commit" }
2322
- { python: "3.12", os: "ubuntu-latest", session: "mypy" }
2423
- { python: "3.13", os: "ubuntu-latest", session: "mypy" }
25-
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
26-
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
24+
- { python: "3.14", os: "ubuntu-latest", session: "mypy" }
2725
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
2826
- { python: "3.13", os: "ubuntu-latest", session: "tests" }
27+
- { python: "3.14", os: "ubuntu-latest", session: "tests" }
2928
- { python: "3.13", os: "windows-latest", session: "tests" }
3029
- { python: "3.13", os: "macos-latest", session: "tests" }
31-
- { python: "3.11", os: "ubuntu-latest", session: "typeguard" }
32-
- { python: "3.11", os: "ubuntu-latest", session: "xdoctest" }
33-
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }
30+
- { python: "3.13", os: "ubuntu-latest", session: "typeguard" }
31+
- { python: "3.13", os: "ubuntu-latest", session: "xdoctest" }
32+
- { python: "3.13", os: "ubuntu-latest", session: "docs-build" }
3433

3534
env:
3635
NOXSESSION: ${{ matrix.session }}
@@ -39,10 +38,10 @@ jobs:
3938

4039
steps:
4140
- name: Check out the repository
42-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4342

4443
- name: Set up Python ${{ matrix.python }}
45-
uses: actions/setup-python@v5.6.0
44+
uses: actions/setup-python@v6.2.0
4645
with:
4746
python-version: ${{ matrix.python }}
4847

@@ -89,7 +88,7 @@ jobs:
8988
subprocess.run(cmd, shell=True)
9089
9190
- name: Restore pre-commit cache
92-
uses: actions/cache@v4
91+
uses: actions/cache@v5
9392
if: matrix.session == 'pre-commit'
9493
with:
9594
path: ~/.cache/pre-commit
@@ -103,15 +102,15 @@ jobs:
103102
104103
- name: Upload coverage data
105104
if: always() && matrix.session == 'tests'
106-
uses: "actions/upload-artifact@v4"
105+
uses: "actions/upload-artifact@v6"
107106
with:
108107
name: coverage-data-${{ matrix.os }}-${{ matrix.python }}
109108
path: ".coverage.*"
110109
include-hidden-files: true
111110

112111
- name: Upload documentation
113112
if: matrix.session == 'docs-build'
114-
uses: actions/upload-artifact@v4
113+
uses: actions/upload-artifact@v6
115114
with:
116115
name: docs
117116
path: docs/_build
@@ -121,14 +120,14 @@ jobs:
121120
needs: tests
122121
steps:
123122
- name: Check out the repository
124-
uses: actions/checkout@v4
123+
uses: actions/checkout@v6
125124
with:
126125
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
127126

128127
- name: Set up Python
129-
uses: actions/setup-python@v5.6.0
128+
uses: actions/setup-python@v6.2.0
130129
with:
131-
python-version: "3.11"
130+
python-version: "3.13"
132131

133132
- name: Upgrade pip
134133
run: |
@@ -148,7 +147,7 @@ jobs:
148147
nox --version
149148
150149
- name: Download coverage data
151-
uses: actions/download-artifact@v4
150+
uses: actions/download-artifact@v7
152151
with:
153152
pattern: coverage-data-*
154153
merge-multiple: true
@@ -173,4 +172,4 @@ jobs:
173172
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
174173
# No need to run SonarCloud analysis if dependabot update or token not defined
175174
if: env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]')
176-
uses: SonarSource/sonarqube-scan-action@v5.2.0
175+
uses: SonarSource/sonarqube-scan-action@v7.0.0

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: python3.11
2+
python: python3.13
33
repos:
44
- repo: local
55
hooks:
@@ -57,9 +57,9 @@ repos:
5757
entry: check-ast
5858
language: system
5959
types: [python]
60-
- id: darglint
61-
name: darglint
62-
entry: darglint
60+
- id: pydoclint
61+
name: pydoclint
62+
entry: pydoclint
6363
language: system
6464
types: [python]
6565
- id: ruff

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Request features on the [Issue Tracker].
3232

3333
## How to set up your development environment
3434

35-
You need Python 3.10+ and the following tools:
35+
You need Python 3.12+ and the following tools:
3636

3737
- [Poetry]
3838
- [Nox]

0 commit comments

Comments
 (0)