Skip to content

Commit cef0697

Browse files
committed
Bump runner OS to ubuntu-24.04
1 parent 2e84604 commit cef0697

File tree

5 files changed

+171
-26
lines changed

5 files changed

+171
-26
lines changed

.github/workflows/dev.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ name: dev workflow
66
on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
push:
9-
branches: [ master, main ]
9+
branches: [master, main]
1010
pull_request:
11-
branches: [ master, main ]
11+
branches: [master, main]
1212

1313
# Allows you to run this workflow manually from the Actions tab
1414
workflow_dispatch:
@@ -20,9 +20,9 @@ jobs:
2020
# The type of runner that the job will run on
2121
strategy:
2222
matrix:
23-
python-versions: ['3.9', '3.10', '3.11', '3.12']
24-
os: [ubuntu-20.04]
25-
# os: [ubuntu-18.04, macos-latest, windows-latest]
23+
python-versions: ["3.9", "3.10", "3.11", "3.12"]
24+
os: [ubuntu-24.04]
25+
# os: [ubuntu-18.04, macos-latest, windows-latest]
2626
runs-on: ${{ matrix.os }}
2727

2828
# Steps represent a sequence of tasks that will be executed as part of the job
@@ -39,8 +39,7 @@ jobs:
3939
pip install poetry tox tox-gh-actions
4040
4141
- name: test with tox
42-
run:
43-
tox
42+
run: tox
4443
env:
4544
NML_DISABLE_USAGE_LOGGING: 1
4645

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
# Triggers the workflow on push events but only for the master branch
88
push:
99
tags:
10-
- 'v*'
10+
- "v*"
1111

1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
2020
# This workflow contains a single job called "release"
2121
release:
2222
name: Create Release
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-24.04
2424

2525
strategy:
2626
matrix:
@@ -54,17 +54,17 @@ jobs:
5454
python -m pip install --upgrade pip
5555
pip install poetry
5656
57-
# - name: build documentation
58-
# run: |
59-
# poetry install -E doc
60-
# poetry run sphinx-apidoc -o docs/nannyml nannyml tests
61-
# poetry run sphinx-build -b html docs/ docs/_build/html
62-
#
63-
# - name: publish documentation
64-
# uses: peaceiris/actions-gh-pages@v3
65-
# with:
66-
# github_token: ${{ secrets.GITHUB_TOKEN }}
67-
# publish_dir: ./public
57+
# - name: build documentation
58+
# run: |
59+
# poetry install -E doc
60+
# poetry run sphinx-apidoc -o docs/nannyml nannyml tests
61+
# poetry run sphinx-build -b html docs/ docs/_build/html
62+
#
63+
# - name: publish documentation
64+
# uses: peaceiris/actions-gh-pages@v3
65+
# with:
66+
# github_token: ${{ secrets.GITHUB_TOKEN }}
67+
# publish_dir: ./public
6868

6969
- name: Build wheels and source tarball
7070
run: >-

.readthedocs.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-20.04
10+
os: ubuntu-24.04
1111
tools:
1212
python: "3.9"
1313
# You can also specify other tool versions:
@@ -17,15 +17,15 @@ build:
1717

1818
# Build documentation in the docs/ directory with Sphinx
1919
sphinx:
20-
configuration: docs/conf.py
20+
configuration: docs/conf.py
2121

2222
# If using Sphinx, optionally build your docs in additional formats such as PDF
2323
# formats:
2424
# - pdf
2525

2626
# Optionally declare the Python requirements required to build your docs
2727
python:
28-
install:
29-
- requirements: docs/requirements.txt
30-
- method: pip
31-
path: .
28+
install:
29+
- requirements: docs/requirements.txt
30+
- method: pip
31+
path: .

devbox.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
3+
"packages": [
4+
5+
"poetry@latest"
6+
],
7+
"env": {
8+
"VENV_DIR": ".devbox/virtenv/python/.venv"
9+
},
10+
"shell": {
11+
"init_hook": [
12+
"source ${VENV_DIR}/bin/activate"
13+
]
14+
}
15+
}

devbox.lock

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
"github:NixOS/nixpkgs/nixpkgs-unstable": {
5+
"last_modified": "2025-04-13T09:22:33Z",
6+
"resolved": "github:NixOS/nixpkgs/18dd725c29603f582cf1900e0d25f9f1063dbf11?lastModified=1744536153&narHash=sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg%2FN38%3D"
7+
},
8+
"poetry@latest": {
9+
"last_modified": "2025-04-07T13:23:10Z",
10+
"plugin_version": "0.0.4",
11+
"resolved": "github:NixOS/nixpkgs/b0b4b5f8f621bfe213b8b21694bab52ecfcbf30b#poetry",
12+
"source": "devbox-search",
13+
"version": "2.1.2",
14+
"systems": {
15+
"aarch64-darwin": {
16+
"outputs": [
17+
{
18+
"name": "out",
19+
"path": "/nix/store/2xw7agngrypv69z8gy56k66da6a7nx6z-python3.12-poetry-2.1.2",
20+
"default": true
21+
},
22+
{
23+
"name": "dist",
24+
"path": "/nix/store/sg297wxdc0v8yjw9g3gda6ibw8vxd7mh-python3.12-poetry-2.1.2-dist"
25+
}
26+
],
27+
"store_path": "/nix/store/2xw7agngrypv69z8gy56k66da6a7nx6z-python3.12-poetry-2.1.2"
28+
},
29+
"aarch64-linux": {
30+
"outputs": [
31+
{
32+
"name": "out",
33+
"path": "/nix/store/aaxg9q28xs8g5p77jampcf5yksanhvrl-python3.12-poetry-2.1.2",
34+
"default": true
35+
},
36+
{
37+
"name": "dist",
38+
"path": "/nix/store/3s3xfrmdc43l8pjaykkhzwi99jcwhx4b-python3.12-poetry-2.1.2-dist"
39+
}
40+
],
41+
"store_path": "/nix/store/aaxg9q28xs8g5p77jampcf5yksanhvrl-python3.12-poetry-2.1.2"
42+
},
43+
"x86_64-darwin": {
44+
"outputs": [
45+
{
46+
"name": "out",
47+
"path": "/nix/store/mi2dfslswq0xd4n4lvj6fwg9yjmk9z9s-python3.12-poetry-2.1.2",
48+
"default": true
49+
},
50+
{
51+
"name": "dist",
52+
"path": "/nix/store/ihdzan4pw9y1flilf09mcc2ry1z4fzdw-python3.12-poetry-2.1.2-dist"
53+
}
54+
],
55+
"store_path": "/nix/store/mi2dfslswq0xd4n4lvj6fwg9yjmk9z9s-python3.12-poetry-2.1.2"
56+
},
57+
"x86_64-linux": {
58+
"outputs": [
59+
{
60+
"name": "out",
61+
"path": "/nix/store/grh2yh63i5z2k3055ip12lvxa8kw2fhm-python3.12-poetry-2.1.2",
62+
"default": true
63+
},
64+
{
65+
"name": "dist",
66+
"path": "/nix/store/rl4v9kcf9027sw8vl7fl6d4g61fppcii-python3.12-poetry-2.1.2-dist"
67+
}
68+
],
69+
"store_path": "/nix/store/grh2yh63i5z2k3055ip12lvxa8kw2fhm-python3.12-poetry-2.1.2"
70+
}
71+
}
72+
},
73+
74+
"last_modified": "2025-03-23T05:31:05Z",
75+
"plugin_version": "0.0.4",
76+
"resolved": "github:NixOS/nixpkgs/dd613136ee91f67e5dba3f3f41ac99ae89c5406b#python310",
77+
"source": "devbox-search",
78+
"version": "3.10.16",
79+
"systems": {
80+
"aarch64-darwin": {
81+
"outputs": [
82+
{
83+
"name": "out",
84+
"path": "/nix/store/qcr2624yk9wshqk4j8v3b7msnxvhrysk-python3-3.10.16",
85+
"default": true
86+
}
87+
],
88+
"store_path": "/nix/store/qcr2624yk9wshqk4j8v3b7msnxvhrysk-python3-3.10.16"
89+
},
90+
"aarch64-linux": {
91+
"outputs": [
92+
{
93+
"name": "out",
94+
"path": "/nix/store/gxc6j86w2npsfg5c4j1r5kgzlpr9zvr3-python3-3.10.16",
95+
"default": true
96+
},
97+
{
98+
"name": "debug",
99+
"path": "/nix/store/g6gbc614akb9m9lc85c6s4bpb2y49fvg-python3-3.10.16-debug"
100+
}
101+
],
102+
"store_path": "/nix/store/gxc6j86w2npsfg5c4j1r5kgzlpr9zvr3-python3-3.10.16"
103+
},
104+
"x86_64-darwin": {
105+
"outputs": [
106+
{
107+
"name": "out",
108+
"path": "/nix/store/fkr1fkdlb6yffizypgc7z2cc1ac2s1yg-python3-3.10.16",
109+
"default": true
110+
}
111+
],
112+
"store_path": "/nix/store/fkr1fkdlb6yffizypgc7z2cc1ac2s1yg-python3-3.10.16"
113+
},
114+
"x86_64-linux": {
115+
"outputs": [
116+
{
117+
"name": "out",
118+
"path": "/nix/store/8nwlxl63mw5cdv0kjmj9mqx8aqhcpyi1-python3-3.10.16",
119+
"default": true
120+
},
121+
{
122+
"name": "debug",
123+
"path": "/nix/store/1h1nccf77081hrnlgr4xycp0b2j1xj40-python3-3.10.16-debug"
124+
}
125+
],
126+
"store_path": "/nix/store/8nwlxl63mw5cdv0kjmj9mqx8aqhcpyi1-python3-3.10.16"
127+
}
128+
}
129+
}
130+
}
131+
}

0 commit comments

Comments
 (0)