Skip to content

Commit b74ed89

Browse files
authored
V0.10.0 (#80)
Fixed shared lib detection code
1 parent be6cf47 commit b74ed89

17 files changed

+477
-248
lines changed

.github/workflows/python.yml .github/workflows/python_detailed.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: GitHub actions
1+
name: GitHub actions detailed
22

33
on:
44
push:
5-
branches: [ "**" ]
5+
branches: ["**"]
66
pull_request:
7-
branches: [ "**" ]
7+
branches: ["**"]
88
repository_dispatch:
9-
types: [ "**" ]
9+
types: ["**"]
1010

1111
permissions:
1212
contents: read
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121
strategy:
2222
matrix:
23-
os: [ ubuntu-latest, macos-latest, windows-latest ]
23+
os: [ubuntu-latest, macos-latest, windows-latest]
2424
runs-on: ${{ matrix.os }}
2525

2626
steps:
@@ -42,7 +42,7 @@ jobs:
4242
git clone --branch main --single-branch --depth 1 https://github.com/open-quantum-safe/liboqs
4343
cmake -S liboqs -B liboqs/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_SHARED_LIBS=ON -DOQS_BUILD_ONLY_LIB=ON
4444
cmake --build liboqs/build --parallel 4
45-
sudo cmake --build liboqs/build --target install
45+
sudo cmake --build liboqs/build --target install
4646
4747
- name: Run examples POSIX
4848
if: matrix.os != 'windows-latest'
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: GitHub actions simplified
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
pull_request:
7+
branches: ["**"]
8+
repository_dispatch:
9+
types: ["**"]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, macos-latest, windows-latest]
19+
runs-on: ${{ matrix.os }}
20+
21+
steps:
22+
- uses: actions/checkout@v3
23+
24+
- name: Set up Python 3.10
25+
uses: actions/setup-python@v3
26+
with:
27+
python-version: "3.10"
28+
29+
- name: Run examples
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install .
33+
python examples/kem.py
34+
python examples/sig.py
35+
python examples/rand.py
36+
37+
- name: Run unit tests
38+
run: |
39+
nose2 --verbose

CHANGES.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Version 0.10.0 - March 28, 2024
2+
3+
- Replaced CHANGES by
4+
[CHANGES.md](https://github.com/open-quantum-safe/liboqs-python/blob/main/CHANGES.md),
5+
as we now use Markdown format to keep track of changes in new releases
6+
- Removed the NIST PRNG as the latter is no longer exposed by liboqs' public
7+
API
8+
- liboqs is now installed automatically if not detected at runtime
9+
10+
# Version 0.9.0 - October 30, 2023
11+
12+
- This is a maintenance release, minor deprecation fixes
13+
- Python minimum required version is enforced to Python 3.8 in `pyproject.toml`
14+
- To follow Python conventions, renamed in `oqs/oqs.py`:
15+
- `is_KEM_enabled()` -> `is_kem_enabled()`
16+
- `get_enabled_KEM_mechanisms()` -> `get_enabled_kem_mechanisms()`
17+
- `get_supported_KEM_mechanisms()` -> `get_supported_kem_mechanisms()`
18+
19+
# Version 0.8.0 - July 5, 2023
20+
21+
- This is a maintenance release, minor fixes
22+
- Minimalistic Docker support
23+
- Migrated installation method to `pyproject.toml`
24+
- Removed AppVeyor and CircleCI, all continuous integration is now done via
25+
GitHub actions
26+
27+
# Version 0.7.2 - August 27, 2022
28+
29+
- Added library version retrieval functions:
30+
- `oqs_version()`
31+
- `oqs_python_version()`
32+
33+
# Version 0.7.1 - January 5, 2022
34+
35+
- Release numbering updated to match liboqs
36+
- Added macOS support on CircleCI, we now support macOS & Linux (CircleCI) and
37+
Windows (AppVeyor)
38+
39+
# Version 0.4.0 - November 28, 2020
40+
41+
- Renamed 'master' branch to 'main'
42+
43+
# Version 0.3.0 - June 10, 2020
44+
45+
- The liboqs handle has now module-private visibility in `oqs.py` so clients
46+
can not access it directly; can be accessed via the new `oqs.native()`
47+
function
48+
- Closing
49+
#7 [link](https://github.com/open-quantum-safe/liboqs-python/issues/7), all
50+
issues addressed
51+
- Added AppVeyor continuous integration
52+
53+
# Version 0.2.1 - January 22, 2020
54+
55+
- Added a signature example
56+
- Added partial support for RNGs from `<oqs/rand.h>`
57+
- Added an RNG example
58+
59+
# Version 0.2.0 - October 8, 2019
60+
61+
- This release updates for compatibility with liboqs 0.2.0, which contains
62+
new/updated algorithms based on NIST Round 2 submissions.
63+
64+
# Version 0.1.0 - April 23, 2019
65+
66+
- Initial release

CHANGES.txt

-47
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2023 Open Quantum Safe
3+
Copyright (c) 2018-2024 Open Quantum Safe
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)