From eff7457b3daeb86f7220f819f1e643df957f5dba Mon Sep 17 00:00:00 2001 From: Gabriel Levcovitz Date: Fri, 17 Oct 2025 18:41:16 -0300 Subject: [PATCH] chore(ci): update macos --- .github/workflows/test.yml | 13 ++++++------- pyproject.toml | 5 ++--- setup.py | 4 ++-- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca9b6e1e..697a0ebf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - rocksdb-version: ['v6.29.5', 'v7.10.2', 'v8.11.4', 'v9.10.0'] + rocksdb-version: ['v10.0.1', 'v10.7.5'] steps: - uses: actions/cache@v4 @@ -68,8 +68,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11', '3.12', '3.13'] - rocksdb-version: ['v6.29.5', 'v7.10.2', 'v8.11.4', 'v9.10.0'] + python-version: ['3.11', '3.12', '3.13'] + rocksdb-version: ['v10.0.1', 'v10.7.5'] steps: - uses: actions/checkout@v4 @@ -113,9 +113,8 @@ jobs: fail-fast: false matrix: os: - - { arch: 'Intel', runner: 'macos-13' } - - { arch: 'Arm', runner: 'macos-latest' } - python-version: ['3.10', '3.11', '3.12', '3.13'] + - macos-15 + python-version: ['3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 @@ -149,7 +148,7 @@ jobs: os: - { arch: 'x64', runner: 'ubuntu-latest' } - { arch: 'arm', runner: 'ubuntu-24.04-arm' } - python-version: ['3.10', '3.11', '3.12', '3.13'] + python-version: ['3.11', '3.12', '3.13'] debian-dist: [bullseye, bookworm] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index e6df595a..f55d9af8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "rocksdb" -version = "0.9.3" +version = "0.10.0" description = "Python bindings for RocksDB" readme = "README.md" authors = [ @@ -13,7 +13,7 @@ maintainers = [ { name = "Jan Segre", email = "jan@hathor.network" }, ] #url = "https://github.com/HathorNetwork/python-rocksdb" -requires-python = ">=3.10" +requires-python = ">=3.11" #license = "BSD-3-Clause" license = {file = "LICENSE"} keywords = ["rocksdb", "bindings"] @@ -31,7 +31,6 @@ classifiers = [ # Specify the Python versions you support here. "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] diff --git a/setup.py b/setup.py index b3913b29..07dfb30b 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def get_brew_prefix(package): include_dirs = [] library_dirs = [] extra_compile_args = [ - "-std=c++17", + "-std=c++20", "-O2", "-fno-strict-aliasing", "-fno-rtti", @@ -22,7 +22,7 @@ def get_brew_prefix(package): if platform.system() == "Darwin": extra_compile_args.extend([ - "-mmacosx-version-min=10.7", + "-mmacosx-version-min=11.0", "-stdlib=libc++", "-Wno-unreachable-code", ])