diff --git a/.github/workflows/build_and_tests.yml b/.github/workflows/build_and_tests.yml index 84f6699e..8833673e 100644 --- a/.github/workflows/build_and_tests.yml +++ b/.github/workflows/build_and_tests.yml @@ -38,7 +38,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ['3.8', '3.9', '3.10', '3.11'] + python_version: ['3.9', '3.10', '3.11', '3.12'] steps: - name: Clone @@ -105,6 +105,10 @@ jobs: - name: Build Ragger Python package run: | + # Needed to workaround this bug https://github.com/pypa/setuptools/issues/4759 + # To be removed when it's fixed + pip install -U packaging + pip install --upgrade pip build twine python -m build pip install . diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b84b0ca..9e2b7a21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.26.0] - 2025-??-?? + +### Added + +- Added support for Python 3.12 + +### Removed + +- Drop support for Python 3.8 + ## [1.25.0] - 2024-12-20 ### Added diff --git a/pyproject.toml b/pyproject.toml index 21e467cd..05748e24 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=61.2", + "setuptools>=75", "setuptools_scm[toml]>=6.2", "wheel" ] @@ -12,19 +12,19 @@ authors = [{name = "Ledger", email = "hello@ledger.fr"}] description = "Testing framework using Speculos and LedgerComm as backends" classifiers = [ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "bip_utils>=2.4.0", "py-sr25519-bindings>=0.2.0,<0.3.0", - "ledgered>=0.6.3", + "ledgered>=0.7.1", ] dynamic = ["version"] @@ -63,7 +63,7 @@ doc = [ "docutils==0.16", ] speculos = [ - "speculos>=0.9.1", + "speculos>=0.13.1", "mnemonic", ] ledgercomm = [