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: 4 additions & 1 deletion .github/actions/python-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ inputs:
shell:
required: true
description: Which shell to use for the `run` command
python-version:
required: true
description: Python version to test

runs:
using: composite
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
python-version: ${{ inputs.python-version }}
- name: Get latest CMake
uses: lukka/get-cmake@latest
- name: Install Python dependencies
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ jobs:
- uses: actions/setup-python@v5
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.23.3
python -m pip install cibuildwheel==4.3.0
- name: Build wheels
run: |
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
CIBW_ENVIRONMENT_LINUX: LIBQASM_CONAN_BUILD_PATTERNS="m4/* bison/* flex/*"
CIBW_BEFORE_ALL_LINUX: ${{ (matrix.os == 'ubuntu-24.04-arm') && 'yum install -y --disablerepo=epel java-11-openjdk' || ':' }}
- uses: actions/upload-artifact@v4
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ jobs:
python-linux-x64:
name: "Python tests (Linux/x64)"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -196,10 +200,15 @@ jobs:
- uses: ./.github/actions/python-tests
with:
shell: bash
python-version: ${{ matrix.python-version }}

python-linux-arm64:
name: "Python tests (Linux/arm64)"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -210,10 +219,15 @@ jobs:
- uses: ./.github/actions/python-tests
with:
shell: bash
python-version: ${{ matrix.python-version }}

python-macos-x64:
name: "Python tests (macOS/x64)"
runs-on: macos-15-intel
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -224,10 +238,15 @@ jobs:
- uses: ./.github/actions/python-tests
with:
shell: bash
python-version: ${{ matrix.python-version }}

python-macos-arm64:
name: "Python tests (macOS/arm64)"
runs-on: macos-14
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -238,16 +257,22 @@ jobs:
- uses: ./.github/actions/python-tests
with:
shell: bash
python-version: ${{ matrix.python-version }}

python-windows-x64:
name: "Python tests (Windows/x64)"
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/python-tests
with:
shell: bash
python-version: ${{ matrix.python-version }}

docker:
name: Docker
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- **Fixed** for any bug fixes.
- **Removed** for now removed features.

## [ 1.6.0 ] - [ 2026-10-13 ]

### Added
- Support for Python 3.14.


## [ 1.5.0 ] - [ 2026-10-01 ]

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/dev-guide/cpp-dev-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The following line will also build and cache the `libqasm` Conan package.

```shell
conan profile detect
conan create --version 1.5.0 . -pr:a=tests-debug -b missing
conan create --version 1.6.0 . -pr:a=tests-debug -b missing
```

You can test the C++ binaries:
Expand Down
2 changes: 1 addition & 1 deletion emscripten/test_libqasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ wrapper().then(function(result: any) {

try {
let output = cqasm.get_version()
let expected_output = "1.5.0"
let expected_output = "1.6.0"
console.log("\nThe version of libqasm compiled with emscripten is:", output);
if (output !== expected_output) {
console.log("\tExpected output:", expected_output)
Expand Down
2 changes: 1 addition & 1 deletion include/libqasm/versioning.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace cqasm {

static const char* version{ "1.5.0" };
static const char* version{ "1.6.0" };
static const char* release_year{ "2026" };

[[nodiscard]] [[maybe_unused]] static const char* get_version() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libqasm",
"version": "1.5.0",
"version": "1.6.0",
"repository": {
"type": "git",
"url": "https://github.com/QuTech-Delft/libqasm.git"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def run(self):
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Topic :: Scientific/Engineering'
],
packages=['libqasm', 'cqasm', 'cqasm.v3x'],
Expand Down
Loading