Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: dev workflow
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, main ]
branches: [master, main]
pull_request:
branches: [ master, main ]
branches: [master, main]

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

# Steps represent a sequence of tasks that will be executed as part of the job
Expand All @@ -39,8 +39,7 @@ jobs:
pip install poetry tox tox-gh-actions

- name: test with tox
run:
tox
run: tox
env:
NML_DISABLE_USAGE_LOGGING: 1

Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
# Triggers the workflow on push events but only for the master branch
push:
tags:
- 'v*'
- "v*"

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

strategy:
matrix:
Expand Down Expand Up @@ -54,17 +54,17 @@ jobs:
python -m pip install --upgrade pip
pip install poetry

# - name: build documentation
# run: |
# poetry install -E doc
# poetry run sphinx-apidoc -o docs/nannyml nannyml tests
# poetry run sphinx-build -b html docs/ docs/_build/html
#
# - name: publish documentation
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./public
# - name: build documentation
# run: |
# poetry install -E doc
# poetry run sphinx-apidoc -o docs/nannyml nannyml tests
# poetry run sphinx-build -b html docs/ docs/_build/html
#
# - name: publish documentation
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./public

- name: Build wheels and source tarball
run: >-
Expand Down
12 changes: 6 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
os: ubuntu-24.04
tools:
python: "3.9"
# You can also specify other tool versions:
Expand All @@ -17,15 +17,15 @@ build:

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
configuration: docs/conf.py

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

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
install:
- requirements: docs/requirements.txt
- method: pip
path: .
15 changes: 15 additions & 0 deletions devbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
"packages": [
"[email protected]",
"poetry@latest"
],
"env": {
"VENV_DIR": ".devbox/virtenv/python/.venv"
},
"shell": {
"init_hook": [
"source ${VENV_DIR}/bin/activate"
]
}
}
131 changes: 131 additions & 0 deletions devbox.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"lockfile_version": "1",
"packages": {
"github:NixOS/nixpkgs/nixpkgs-unstable": {
"last_modified": "2025-04-13T09:22:33Z",
"resolved": "github:NixOS/nixpkgs/18dd725c29603f582cf1900e0d25f9f1063dbf11?lastModified=1744536153&narHash=sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg%2FN38%3D"
},
"poetry@latest": {
"last_modified": "2025-04-07T13:23:10Z",
"plugin_version": "0.0.4",
"resolved": "github:NixOS/nixpkgs/b0b4b5f8f621bfe213b8b21694bab52ecfcbf30b#poetry",
"source": "devbox-search",
"version": "2.1.2",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/2xw7agngrypv69z8gy56k66da6a7nx6z-python3.12-poetry-2.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/sg297wxdc0v8yjw9g3gda6ibw8vxd7mh-python3.12-poetry-2.1.2-dist"
}
],
"store_path": "/nix/store/2xw7agngrypv69z8gy56k66da6a7nx6z-python3.12-poetry-2.1.2"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/aaxg9q28xs8g5p77jampcf5yksanhvrl-python3.12-poetry-2.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/3s3xfrmdc43l8pjaykkhzwi99jcwhx4b-python3.12-poetry-2.1.2-dist"
}
],
"store_path": "/nix/store/aaxg9q28xs8g5p77jampcf5yksanhvrl-python3.12-poetry-2.1.2"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/mi2dfslswq0xd4n4lvj6fwg9yjmk9z9s-python3.12-poetry-2.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/ihdzan4pw9y1flilf09mcc2ry1z4fzdw-python3.12-poetry-2.1.2-dist"
}
],
"store_path": "/nix/store/mi2dfslswq0xd4n4lvj6fwg9yjmk9z9s-python3.12-poetry-2.1.2"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/grh2yh63i5z2k3055ip12lvxa8kw2fhm-python3.12-poetry-2.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/rl4v9kcf9027sw8vl7fl6d4g61fppcii-python3.12-poetry-2.1.2-dist"
}
],
"store_path": "/nix/store/grh2yh63i5z2k3055ip12lvxa8kw2fhm-python3.12-poetry-2.1.2"
}
}
},
"[email protected]": {
"last_modified": "2025-03-23T05:31:05Z",
"plugin_version": "0.0.4",
"resolved": "github:NixOS/nixpkgs/dd613136ee91f67e5dba3f3f41ac99ae89c5406b#python310",
"source": "devbox-search",
"version": "3.10.16",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/qcr2624yk9wshqk4j8v3b7msnxvhrysk-python3-3.10.16",
"default": true
}
],
"store_path": "/nix/store/qcr2624yk9wshqk4j8v3b7msnxvhrysk-python3-3.10.16"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/gxc6j86w2npsfg5c4j1r5kgzlpr9zvr3-python3-3.10.16",
"default": true
},
{
"name": "debug",
"path": "/nix/store/g6gbc614akb9m9lc85c6s4bpb2y49fvg-python3-3.10.16-debug"
}
],
"store_path": "/nix/store/gxc6j86w2npsfg5c4j1r5kgzlpr9zvr3-python3-3.10.16"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/fkr1fkdlb6yffizypgc7z2cc1ac2s1yg-python3-3.10.16",
"default": true
}
],
"store_path": "/nix/store/fkr1fkdlb6yffizypgc7z2cc1ac2s1yg-python3-3.10.16"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/8nwlxl63mw5cdv0kjmj9mqx8aqhcpyi1-python3-3.10.16",
"default": true
},
{
"name": "debug",
"path": "/nix/store/1h1nccf77081hrnlgr4xycp0b2j1xj40-python3-3.10.16-debug"
}
],
"store_path": "/nix/store/8nwlxl63mw5cdv0kjmj9mqx8aqhcpyi1-python3-3.10.16"
}
}
}
}
}
Loading