Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
515c6fd
Bump pytest from 9.0.3 to 9.1.0
dependabot[bot] Jun 15, 2026
a5e938d
Bump pytest from 9.0.3 to 9.1.0 (#1179)
ahouseholder Jun 15, 2026
4e581a4
Bump python-multipart from 0.0.27 to 0.0.31
dependabot[bot] Jun 15, 2026
bb814e6
Bump starlette from 1.0.1 to 1.3.1
dependabot[bot] Jun 15, 2026
ec21dda
Added pypi publish workflow
sei-vsarvepalli Jun 17, 2026
dcbaf2d
try publish
sei-vsarvepalli Jun 17, 2026
616bfe6
Reduce duplicates
sei-vsarvepalli Jun 18, 2026
6b831ec
Fixed pyproject again
sei-vsarvepalli Jun 18, 2026
9290fe1
Bump actions/checkout from 6 to 7
dependabot[bot] Jun 22, 2026
eeb0f81
Bump scipy from 1.17.1 to 1.18.0
dependabot[bot] Jun 22, 2026
53b8648
Bump pytest from 9.1.0 to 9.1.1
dependabot[bot] Jun 22, 2026
2697c8a
Potential fix for pull request finding
sei-vsarvepalli Jun 22, 2026
a547b00
Move evertyhing to uv
sei-vsarvepalli Jun 22, 2026
c22d9c2
Move from uv tool to pip for twine
sei-vsarvepalli Jun 22, 2026
97c9217
Upgrade twine first
sei-vsarvepalli Jun 22, 2026
4ca4aaf
Remove twine check redundant
sei-vsarvepalli Jun 22, 2026
9b9c9b2
Bump DavidAnson/markdownlint-cli2-action from 23 to 24
dependabot[bot] Jul 6, 2026
8cb8839
Pypi release can be now automated. (#1186)
ahouseholder Jul 6, 2026
67854aa
Merge branch 'publish' into main
sei-vsarvepalli Jul 9, 2026
2b8c1e7
Updates to fix zoomcontrol Issue #1124
sei-vsarvepalli Jul 9, 2026
3865647
Update to safedivname resolve collision in names
sei-vsarvepalli Jul 9, 2026
ac32566
Bump soupsieve from 2.8 to 2.8.4
dependabot[bot] Jul 10, 2026
4f67837
Bump actions/download-artifact from 4 to 8
dependabot[bot] Jul 13, 2026
9891907
Bump astral-sh/setup-uv from 3 to 7
dependabot[bot] Jul 13, 2026
2982e34
Bump actions/upload-artifact from 4 to 7
dependabot[bot] Jul 13, 2026
fab5c2a
Bump the mkdocs group across 1 directory with 2 updates
dependabot[bot] Jul 13, 2026
2515f57
Bump python-multipart from 0.0.27 to 0.0.31 (#1184)
ahouseholder Jul 14, 2026
85bec9d
Bump starlette from 1.0.1 to 1.3.1 (#1185)
ahouseholder Jul 14, 2026
7a21f4d
Bump actions/checkout from 6 to 7 (#1188)
ahouseholder Jul 14, 2026
0812262
Bump scipy from 1.17.1 to 1.18.0 (#1190)
ahouseholder Jul 14, 2026
5b211b5
Bump pytest from 9.1.0 to 9.1.1 (#1191)
ahouseholder Jul 14, 2026
2874f6b
Bump DavidAnson/markdownlint-cli2-action from 23 to 24 (#1196)
ahouseholder Jul 14, 2026
84819a7
Updates to fix zoomcontrol Issue #1124 (#1200)
ahouseholder Jul 14, 2026
c0f9452
Bump soupsieve from 2.8 to 2.8.4 (#1201)
ahouseholder Jul 14, 2026
3234614
Bump actions/download-artifact from 4 to 8 (#1202)
ahouseholder Jul 14, 2026
a122e61
Bump astral-sh/setup-uv from 3 to 7 (#1203)
ahouseholder Jul 14, 2026
9f94084
Bump actions/upload-artifact from 4 to 7 (#1204)
ahouseholder Jul 14, 2026
675fda1
Bump the mkdocs group across 1 directory with 2 updates (#1205)
ahouseholder Jul 14, 2026
2a7ce41
Bump actions/checkout from 4 to 7
dependabot[bot] Jul 20, 2026
6c4998e
Bump actions/setup-python from 6 to 7
dependabot[bot] Jul 20, 2026
ea956b8
Bump mkdocs-material in the mkdocs group across 1 directory
dependabot[bot] Jul 20, 2026
9ecdd51
Bump pymdown-extensions from 10.21.3 to 11.0.1
dependabot[bot] Jul 20, 2026
51729c2
Bump actions/checkout from 4 to 7 (#1212)
ahouseholder Jul 20, 2026
ae2fe4a
Bump actions/setup-python from 6 to 7 (#1213)
ahouseholder Jul 20, 2026
93c2f54
Bump mkdocs-material from 9.7.6 to 9.7.7 in the mkdocs group across 1…
ahouseholder Jul 20, 2026
e3b00a2
Bump pymdown-extensions from 10.21.3 to 11.0.1 (#1215)
ahouseholder Jul 20, 2026
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
4 changes: 2 additions & 2 deletions .github/workflows/deploy_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.12'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs_build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Set up Python 3.12
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.12"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/link_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.12'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint_md_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96
id: changed-files
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v23
- uses: DavidAnson/markdownlint-cli2-action@v24
if: steps.changed-files.outputs.any_changed == 'true'
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Build and Publish to PyPI

on:
push:
tags:
- "20*"
Comment on lines +5 to +6

permissions:
contents: read

jobs:
build:
name: Build distribution (uv)
runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Set up Python (via uv)
run: uv python install 3.12

- name: Build package
run: uv build

- name: Verify distributions
run: |
ls -lah dist/

- name: Upload distributions
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/*

publish:
name: Publish to PyPI
needs: build
runs-on: ubuntu-latest

environment:
name: pypi

permissions:
id-token: write
contents: read

steps:
- name: Download distributions
uses: actions/download-artifact@v8
with:
name: dist
path: dist/

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-tags: true
- name: Set up Python 3.12
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.12"
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_doctools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Set up Python 3.12
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.12"

Expand Down
3 changes: 2 additions & 1 deletion docs/ssvc-calc/findex.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ <h4 class="cover-heading">
</table>
</p>
<section id="evaluate_section"></section>
<div id="zoomcontrol" class="graphy embedded d-none">
<div id="zoomcontrol" class="graphy embedded d-none"
style="z-index:100">
<div class="d-none">&#128269;</div>
<input type="range" orient="vertical" alt="Zoom Graph"
max="100" min="0" value="100" title="Zoom Graph"
Expand Down
24 changes: 17 additions & 7 deletions docs/ssvc-calc/ssvc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1404,13 +1404,23 @@ function shwhelp(w) {


function safedivname(instr) {
var uri_esc = encodeURIComponent(instr)
var safestr = btoa(uri_esc.replace(/%([0-9A-F]{2})/g,
(m, p) =>
String.fromCharCode('0x' + p)));
var fstr = "d-"+safestr.replace(/[\+\/\=]/gi,
(m,p) => { return m.charCodeAt(0) });
return fstr.substr(0,14);
const uriEsc = encodeURIComponent(instr);
const base64 = btoa(
uriEsc.replace(/%([0-9A-F]{2})/g, (_, p) =>
String.fromCharCode(parseInt(p, 16))
Comment on lines 1406 to +1410
)
)
.replace(/\+/g, "-")
.replace(/\//g, "_")
.replace(/=+$/g, "");
let h = 0x811c9dc5;
for (let i = 0; i < instr.length; i++) {
h ^= instr.charCodeAt(i);
h = Math.imul(h, 0x01000193);
}
const hash = (h >>> 0).toString(36);
const prefix = base64.slice(0, 24);
return "d-" + prefix + "-" + hash;
}


Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ ssvc_doctools="ssvc.doctools:main"
"Project" = "https://github.com/CERTCC/SSVC"
"Bug Tracker" = "https://github.com/CERTCC/SSVC/issues"

[tool.setuptools]
package-dir = {"" = "src"}

[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["ssvc*"] # package names should match these glob patterns (["*"] by default)
exclude = ["test*"] # exclude packages matching these glob patterns (empty by default)
#namespaces = false # to disable scanning PEP 420 namespaces (true by default)
Expand Down
Loading
Loading