Skip to content

Commit 9fb3e10

Browse files
committed
Merge branch 'main' into dependabot/pip/kaleido-lt-1.1
2 parents d3cf0c9 + 417ce6c commit 9fb3e10

49 files changed

Lines changed: 431 additions & 312 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.3.2
2+
current_version = 0.4.0
33
commit = True
44
commit_args = -s
55
message = Release version {new_version}

.github/workflows/check-release-notes.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 1
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626

2727
- name: Default MISSING_CHANGELOG_ENTRY to 1
2828
run: echo 'MISSING_CHANGELOG_ENTRY=1' >> "$GITHUB_ENV"
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Resolve comment
8888
if: ${{ env.MISSING_CHANGELOG_ENTRY == '0' && steps.fc.outputs.comment-id != '' }}
89-
uses: actions/github-script@v7
89+
uses: actions/github-script@v8
9090
with:
9191
script: |
9292
query = `mutation minimizeComment {
@@ -104,7 +104,7 @@ jobs:
104104

105105
- name: Unresolve comment
106106
if: ${{ env.MISSING_CHANGELOG_ENTRY == '1' && steps.fc.outputs.comment-id != '' }}
107-
uses: actions/github-script@v7
107+
uses: actions/github-script@v8
108108
with:
109109
script: |
110110
query = `mutation unminimizeComment {

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ concurrency:
1616
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1717

1818
jobs:
19-
# Run static checks only for Ubuntu and Python 3.9
19+
# Run static checks only for Ubuntu and the lowest support version of Python
2020
static-checks:
2121
name: Static checks
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 6
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626
- uses: ./.github/actions/setup-python
2727
with:
28-
python-version: "3.9"
28+
python-version: "3.10"
2929
requirements: tox
3030
# Instead of running all checks in one task (i.e., `tox -m static`),
3131
# we'll instead run them one-by-one, so that it's easier to
@@ -47,11 +47,11 @@ jobs:
4747
strategy:
4848
matrix:
4949
python-version:
50-
- "3.9"
5150
- "3.10"
5251
- "3.11"
5352
- "3.12"
5453
- "3.13"
54+
#- "3.14"
5555
os:
5656
- ubuntu-latest
5757
# There shouldn't be any behavior differences between OSes,
@@ -66,7 +66,7 @@ jobs:
6666
runs-on: ${{ matrix.os }}
6767
timeout-minutes: 8
6868
steps:
69-
- uses: actions/checkout@v4
69+
- uses: actions/checkout@v5
7070
with:
7171
# TODO: This can be very expensive for large repos. Is there a better way to do this?
7272
# Fetch all history and tags for setuptools_scm to work

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# actions: read
3030
# contents: read
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
3333

3434
- uses: github/codeql-action/init@v3
3535
with:

.github/workflows/greet-new-users.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 1
1313
steps:
14-
- uses: actions/first-interaction@v1
14+
- uses: actions/first-interaction@v3
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
issue-message: |

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
runs-on: ubuntu-latest
3333
timeout-minutes: 6
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
# TODO: This can be very expensive for large repos. Is there a better way to do this?
3838
# Fetch all history and tags for setuptools_scm to work
3939
fetch-depth: 0
4040
- uses: ./.github/actions/setup-python
4141
with:
42-
python-version: "3.9"
42+
python-version: "3.10"
4343
requirements: tox
4444
- name: Build source (sdist) and binary (wheel) distributions
4545
run: tox -e build-dists
@@ -61,7 +61,7 @@ jobs:
6161
permissions:
6262
id-token: write # IMPORTANT: mandatory for trusted publishing
6363
steps:
64-
- uses: actions/download-artifact@v4
64+
- uses: actions/download-artifact@v5
6565
with:
6666
name: python-package-distributions
6767
path: dist/
@@ -84,7 +84,7 @@ jobs:
8484
permissions:
8585
id-token: write # IMPORTANT: mandatory for trusted publishing
8686
steps:
87-
- uses: actions/download-artifact@v4
87+
- uses: actions/download-artifact@v5
8888
with:
8989
name: python-package-distributions
9090
path: dist/
@@ -105,26 +105,26 @@ jobs:
105105
steps:
106106

107107
# Generate the release notes
108-
- uses: actions/checkout@v4
108+
- uses: actions/checkout@v5
109109
with:
110110
# TODO: This can be very expensive for large repos. Is there a better way to do this?
111111
# Fetch all history and tags for setuptools_scm to work
112112
fetch-depth: 0
113113
- uses: ./.github/actions/setup-python
114114
with:
115-
python-version: "3.9"
115+
python-version: "3.10"
116116
requirements: tox
117117
- name: Generate release notes
118118
run: tox -e release-notes
119119

120120
# Sign the package distributions with Sigstore
121121
# https://github.com/marketplace/actions/gh-action-sigstore-python
122-
- uses: actions/download-artifact@v4
122+
- uses: actions/download-artifact@v5
123123
with:
124124
name: python-package-distributions
125125
path: dist/
126126
- name: Sign the dists with Sigstore
127-
uses: sigstore/gh-action-sigstore-python@v3.0.0
127+
uses: sigstore/gh-action-sigstore-python@v3.0.1
128128
with:
129129
inputs: >-
130130
./dist/*.tar.gz

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: python3.9
2+
python: python3.10
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -43,7 +43,7 @@ repos:
4343
exclude: ^\.bumpversion\.cfg$
4444

4545
- repo: https://github.com/python-jsonschema/check-jsonschema.git
46-
rev: 0.33.3
46+
rev: 0.34.0
4747
hooks:
4848
- id: check-github-actions
4949
- id: check-github-workflows
@@ -75,6 +75,8 @@ repos:
7575
rev: v0.11.0.1
7676
hooks:
7777
- id: shellcheck
78+
# Exclude zsh scripts (unsupported by shellcheck)
79+
exclude: ^cicd_utils/find-unmentioned-prs\.sh$
7880

7981
# mdformat is not enabled by default, but can be run manually with:
8082
# pre-commit run mdformat --all-files --hook-stage manual
@@ -102,7 +104,7 @@ repos:
102104
additional_dependencies: [setuptools-scm]
103105

104106
- repo: https://github.com/astral-sh/ruff-pre-commit
105-
rev: v0.12.10
107+
rev: v0.13.1
106108
hooks:
107109
- id: ruff-format
108110
- id: ruff

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2
55
build:
66
os: ubuntu-lts-latest
77
tools:
8-
python: "3.9"
8+
python: "3.10"
99
apt_packages:
1010
# chromium-browser is required by Kaleido to generate Plotly figures via fig.write_image()
1111
- chromium-browser

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ prune docs/api/public
3333

3434
# Misc
3535
recursive-include .github *.yml *.yaml
36-
recursive-include cicd_utils README.md *.py
36+
recursive-include cicd_utils README.md *.py *.sh
3737
recursive-include misc *.py *.ipynb *.txt *.png
3838
recursive-include requirements *.txt
3939
recursive-include tests *.py

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# >>> Variables
33
# ==============================================================
44

5-
BASE_PYTHON ?= python3.9
5+
BASE_PYTHON ?= python3.10
66

77
VENV_PATH := .venv
88
VENV_BIN := $(VENV_PATH)/bin

0 commit comments

Comments
 (0)