From b5233a720d26800094ea905eca7570a2d7005620 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Tue, 12 Nov 2024 07:00:13 +1000 Subject: [PATCH] Add Python 3.13 support and prepare for release --- .github/workflows/ci.yml | 25 +++++++++++-------------- CHANGELOG.md | 3 ++- pyproject.toml | 26 ++------------------------ requirements-dev.txt | 1 - 4 files changed, 15 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bd7260..cbe17af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,31 +60,28 @@ jobs: - '3.10' - '3.11' - '3.12' + - '3.13' python-arch: - x86 - x64 + - arm64 exclude: + # Exclude OS and arch combinations that are not supported - os: ubuntu-latest - python-arch: x86 + python-arch: arm64 + - os: windows-2019 + python-arch: arm64 + - os: windows-2022 + python-arch: arm64 - os: macOS-latest python-arch: x86 - os: macOS-latest - python-version: 3.8 - - os: macOS-latest - python-version: 3.9 + python-arch: x64 + + # macOS arm64 is supported from 3.9 - os: macOS-latest - python-version: '3.10' - - os: windows-2019 - python-arch: x86 - - os: windows-2019 python-version: 3.8 - - os: windows-2019 - python-version: 3.9 - - os: windows-2019 - python-version: '3.10' - - os: windows-2019 - python-version: '3.12' steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 38dbb37..3c21852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Changelog -## 1.14.1 - TBD +## 1.14.1 - 2024-11-12 * Update session id lookup logic to comply with MS-SMB2 spec * Remove connection from global connection cache even if failing to close it +* Added official support for Python 3.13 ## 1.14.0 - 2024-08-26 diff --git a/pyproject.toml b/pyproject.toml index 530c1d8..ab83812 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,8 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12" + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13" ] dependencies = [ "cryptography >= 2.0", @@ -62,26 +63,3 @@ profile = "black" [tool.pytest.ini_options] testpaths = "tests" addopts = "--import-mode=importlib" - -[tool.tox] -legacy_tox_ini = """ -[tox] -envlist = sanity,py38,py39,py310,py311,py312 -skip_missing_interpreters = true -isolated_build = true - -[testenv] -deps = - -r{toxinidir}/requirements-dev.txt - -commands = - python -m pytest -v --cov smbclient --cov smbprotocol --cov-report term-missing - -passenv = - SMB_* - -[testenv:sanity] -commands = - python -m black . --check - python -m isort . --check-only -""" diff --git a/requirements-dev.txt b/requirements-dev.txt index 1a170fd..f32c5d2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,4 +7,3 @@ pyspnego pytest pytest-cov pytest-mock -tox