Skip to content

Commit

Permalink
Add Python 3.13 support and prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 committed Nov 11, 2024
1 parent a0b8544 commit b5233a7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 40 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
26 changes: 2 additions & 24 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
"""
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ pyspnego
pytest
pytest-cov
pytest-mock
tox

0 comments on commit b5233a7

Please sign in to comment.