inspect-sentinel 0.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
name: Publish Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
# Auto-publish when Release Please cuts a GitHub Release (App token triggers
|
|
5
|
+
# this). Runs in-repo, so the PyPI trusted-publisher config (workflow
|
|
6
|
+
# publish.yaml) is unchanged.
|
|
7
|
+
release:
|
|
8
|
+
types: [published]
|
|
9
|
+
# Manual break-glass path.
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
inputs:
|
|
12
|
+
confirm:
|
|
13
|
+
description: 'Type "yes" to confirm PyPI publication'
|
|
14
|
+
required: true
|
|
15
|
+
type: string
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
# Post the "awaiting approval" Slack ping — un-gated, in this same run, so it
|
|
19
|
+
# deep-links to the run whose publish job is paused on the pypi environment.
|
|
20
|
+
notify-approval:
|
|
21
|
+
if: ${{ github.event_name == 'release' }}
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
steps:
|
|
24
|
+
- uses: meridianlabs-ai/actions/slack-approval-ping@v1
|
|
25
|
+
with:
|
|
26
|
+
webhook: ${{ secrets.SLACK_APPROVALS_WEBHOOK_URL }}
|
|
27
|
+
approvers: "jjallaire dragonstyle epatey"
|
|
28
|
+
message: ":rocket: *${{ github.repository }}* ${{ github.event.release.tag_name }} — PyPI publish is *awaiting approval*."
|
|
29
|
+
run-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
|
30
|
+
|
|
31
|
+
publish:
|
|
32
|
+
runs-on: ubuntu-latest
|
|
33
|
+
permissions:
|
|
34
|
+
id-token: write # Required for OIDC/trusted publishing
|
|
35
|
+
environment:
|
|
36
|
+
name: pypi
|
|
37
|
+
url: https://pypi.org/p/inspect-sentinel
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
|
+
with:
|
|
42
|
+
fetch-depth: 0 # Get all tags for version detection
|
|
43
|
+
|
|
44
|
+
- name: Set up Python
|
|
45
|
+
uses: actions/setup-python@v5
|
|
46
|
+
with:
|
|
47
|
+
python-version: "3.x"
|
|
48
|
+
|
|
49
|
+
- name: Show current version
|
|
50
|
+
run: |
|
|
51
|
+
echo "Version: $(git describe --tags --always)"
|
|
52
|
+
|
|
53
|
+
- name: Build
|
|
54
|
+
run: |
|
|
55
|
+
pip install --upgrade pip build
|
|
56
|
+
python -m build
|
|
57
|
+
ls -la dist/
|
|
58
|
+
|
|
59
|
+
- name: Publish to PyPI
|
|
60
|
+
if: ${{ github.event_name == 'release' || inputs.confirm == 'yes' }}
|
|
61
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Meridian Labs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: inspect-sentinel
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary: Monitors and protocols for Inspect AI. Placeholder: the first release is coming soon.
|
|
5
|
+
Project-URL: Source, https://github.com/meridianlabs-ai/inspect_sentinel
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# inspect-sentinel
|
|
13
|
+
|
|
14
|
+
Monitors and protocols for [Inspect AI](https://inspect.aisi.org.uk/).
|
|
15
|
+
|
|
16
|
+
This is a placeholder release that reserves the package name. The first release is coming soon; see https://github.com/meridianlabs-ai/inspect_sentinel.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "inspect-sentinel"
|
|
3
|
+
version = "0.0.0"
|
|
4
|
+
description = "Monitors and protocols for Inspect AI. Placeholder: the first release is coming soon."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
requires-python = ">=3.10"
|
|
8
|
+
classifiers = ["Development Status :: 1 - Planning"]
|
|
9
|
+
|
|
10
|
+
[project.urls]
|
|
11
|
+
Source = "https://github.com/meridianlabs-ai/inspect_sentinel"
|
|
12
|
+
|
|
13
|
+
[build-system]
|
|
14
|
+
requires = ["hatchling"]
|
|
15
|
+
build-backend = "hatchling.build"
|
|
16
|
+
|
|
17
|
+
[tool.hatch.build.targets.wheel]
|
|
18
|
+
packages = ["src/inspect_sentinel"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Placeholder release of inspect-sentinel; the first release is coming soon."""
|