Skip to content
Merged
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
5 changes: 3 additions & 2 deletions .github/workflows/python_detailed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
WIN_LIBOQS_INSTALL_PATH: C:\liboqs
VERSION: 0.14.0
PYOQS_ENABLE_FAULTHANDLER: "1"
UV_PYTHON: "3.14"

concurrency:
group: test-python-detailed-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
Expand All @@ -39,8 +40,8 @@ jobs:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Set up Python 3.9
run: uv python install 3.9
- name: Set up Python 3.14
run: uv python install 3.14

- name: Install dependencies
run: uv sync --extra dev
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/python_simplified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
runs-on: ubuntu-latest
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v4
Expand All @@ -35,8 +37,8 @@ jobs:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Set up Python 3.9
run: uv python install 3.9
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Run examples
run: |
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "liboqs-python"
requires-python = ">=3.9"
requires-python = ">=3.10"
version = "0.16.0-dev"
description = "Python bindings for liboqs, providing post-quantum public key cryptography algorithms"
authors = [
Expand Down Expand Up @@ -41,7 +41,7 @@ homepage = "https://github.com/open-quantum-safe/liboqs-python"
repository = "https://github.com/open-quantum-safe/liboqs-python.git"

[tool.isort]
py_version = 39
py_version = 310
src_paths = ["oqs"]
line_length = 99
multi_line_output = 3
Expand All @@ -56,7 +56,7 @@ extend_skip_glob = []

[tool.ruff]
src = ["oqs"]
target-version = "py39"
target-version = "py310"
line-length = 99
exclude = [
".git",
Expand Down Expand Up @@ -96,7 +96,7 @@ skip-magic-trailing-comma = false
line-ending = "auto"

[tool.mypy]
python_version = "3.9"
python_version = "3.10"
mypy_path = "."
packages = ["oqs"]
plugins = []
Expand Down
Loading