Skip to content
Draft
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
15 changes: 8 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
blazingmq-dependency:
name: Build BlazingMQ as a dependency
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
outputs:
deps_cache_key: ${{ steps.cache-key.outputs.deps_cache_key }}
steps:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
linux-check:
name: Test on Linux
needs: blazingmq-dependency
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
strategy:
matrix:
python-version:
Expand All @@ -98,6 +98,7 @@ jobs:
- "3.12"
- "3.13"
- "3.14"
- "3.15"
steps:
- uses: actions/checkout@v7
with:
Expand Down Expand Up @@ -187,7 +188,7 @@ jobs:
lint-docs:
name: Lint and Docs
needs: blazingmq-dependency
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
with:
Expand All @@ -200,10 +201,10 @@ jobs:
key: ${{ needs.blazingmq-dependency.outputs.deps_cache_key }}
- name: Restore cached BlazingMQ build artifacts
run: tar xzf blazingmq_artifacts.tar.gz
- name: Set up Python 3.14
- name: Set up Python 3.15
uses: actions/setup-python@v7
with:
python-version: "3.14"
python-version: "3.15"
- name: Create virtual environment
run: |
python3 -m venv venv
Expand Down Expand Up @@ -237,7 +238,7 @@ jobs:
coverage:
name: Coverage
needs: blazingmq-dependency
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
with:
Expand All @@ -253,7 +254,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.14"
python-version: "3.15"
- name: Create virtual environment
run: |
python3 -m venv venv
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:
jobs:
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
with:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

choose_architectures:
name: Decide which architectures to build wheels for
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- id: x86_64
run: echo "cibw_arch=x86_64" >> $GITHUB_OUTPUT
Expand All @@ -64,9 +64,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-26.04]
cibw_python:
["cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
["cp39", "cp310", "cp311", "cp312", "cp313", "cp314", "cp315"]
cibw_arch: ${{ fromJSON(needs.choose_architectures.outputs.cibw_arches) }}

steps:
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
matrix:
os: [macos-14]
cibw_python:
["cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
["cp39", "cp310", "cp311", "cp312", "cp313", "cp314", "cp315"]
cibw_arch: ["arm64"]

steps:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:

merge:
needs: [build_wheels, build_wheels_macos, build_sdist]
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- uses: actions/upload-artifact/merge@v7
with:
Expand All @@ -162,7 +162,7 @@ jobs:

upload_pypi:
needs: merge
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: |
github.event_name == 'release' && github.event.action == 'published'
|| github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
[![MessageQueue](https://img.shields.io/badge/MessageQueue-blue)](#)
[![Documentation](https://img.shields.io/badge/Documentation-blue)](https://bloomberg.github.io/blazingmq)
[![Code Style](https://img.shields.io/badge/Black-black)](#)
![Supported Python versions](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue?logo=python)
![Supported Python versions](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14%20%7C%203.15-blue?logo=python)

# BlazingMQ Python SDK

Expand Down
2 changes: 1 addition & 1 deletion docs/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CI to test on all other combinations in your pull request. See
`.github/workflows/build.yaml` for more details on how we build and
test on all supported interpreters and architectures.

The instructions below assume `PYEXEC=python3.14` and will focus on
The instructions below assume `PYEXEC=python3.15` and will focus on
Linux only. This should be sufficient in most cases.

Before following any of the instructions, make sure to `git clone` the project onto the host machine.
Expand Down
1 change: 1 addition & 0 deletions news/98.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support Python 3.15
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build-backend = "setuptools.build_meta"
name = "blazingmq"
description = "Python BlazingMQ API"
readme = "README.md"
requires-python = ">=3.9,<3.15"
requires-python = ">=3.9,<3.16"
authors = [
{name = "Bloomberg Finance LP"}
]
Expand All @@ -29,6 +29,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
Expand All @@ -52,7 +53,7 @@ filename = "CHANGELOG.md"
directory = "news"

[tool.cibuildwheel]
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "cp314-*"]
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "cp314-*", "cp315-*"]
skip = "*-musllinux_*"
manylinux-x86_64-image = "manylinux_2_28"

Expand Down
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py314,lint, lint-cython, lint-types, black, docs
envlist = py315,lint, lint-cython, lint-types, black, docs
minversion = 3.2.1
isolated_build = true

Expand Down Expand Up @@ -32,45 +32,45 @@ description =

[testenv:.package]
description = Isolated build environment
basepython = python3.14
basepython = python3.15

[testenv:py314-cov]
[testenv:py315-cov]
usedevelop = True
commands = {[testenv]commands_cov}
deps = -rrequirements-test-coverage.txt

[testenv:lint]
description = Run lint checker on Python files
basepython = python3.14
basepython = python3.15
deps = flake8
skip_install = true
commands = {basepython} -m flake8 --config={toxinidir}/.flake8 src

[testenv:lint-cython]
description = Run lint checker on Cython files
basepython = python3.14
basepython = python3.15
deps = flake8
skip_install = true
commands = {basepython} -m flake8 --config={toxinidir}/.flake8.cython src


[testenv:lint-types]
description = Run mypy checker on examples
basepython = python3.14
basepython = python3.15
deps =
mypy
commands = {basepython} -m mypy --strict examples

[testenv:black]
description = Check that python files are formatted with black
basepython = python3.14
basepython = python3.15
deps = black
skip_install = true
commands = {basepython} -m black --check --verbose src tests

[testenv:docs]
description = Generate library documentation
basepython = python3.14
basepython = python3.15
deps = -rrequirements-lint-docs.txt
commands = make -C docs html
{basepython} -c 'print("documentation available under file://{toxworkdir}/docs_out/index.html")'
Loading