From 0b9e40494d92e1be0a7935e4a93f01106f2c58d0 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Thu, 3 Oct 2024 15:50:02 +1000 Subject: [PATCH] Prepare for v0.7.0 release (#55) --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 3 ++- src/krb5/_adpi.py | 7 ++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5b40d8..4de3ec7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,7 +82,7 @@ jobs: rm krb5-*.tar.gz - name: build wheel - uses: pypa/cibuildwheel@v2.21.0 + uses: pypa/cibuildwheel@v2.21.2 env: CIBW_ARCHS: all CIBW_TEST_SKIP: '*_arm64' @@ -113,7 +113,7 @@ jobs: - '3.10' - '3.11' - '3.12' - - '3.13.0-rc.2' + - '3.13.0-rc.3' provider: - mit - heimdal diff --git a/CHANGELOG.md b/CHANGELOG.md index cd1df72..d6f13ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ # Changelog -## 0.7.0 - TBD +## 0.7.0 - 2024-10-03 * Require Python 3.8 or newer (dropped 3.7) * Added Python 3.13 wheel for macOS * Added password management APIs + * [krb5_chpw_message](https://web.mit.edu/kerberos/krb5-latest/doc/appdev/refs/api/krb5_chpw_message.html) * [krb5_set_password](https://web.mit.edu/kerberos/krb5-latest/doc/appdev/refs/api/krb5_set_password.html) * [krb5_set_password_using_ccache](https://web.mit.edu/kerberos/krb5-latest/doc/appdev/refs/api/krb5_set_password_using_ccache.html) diff --git a/src/krb5/_adpi.py b/src/krb5/_adpi.py index aea5189..08dc9cb 100644 --- a/src/krb5/_adpi.py +++ b/src/krb5/_adpi.py @@ -1,3 +1,8 @@ +# Copyright: (c) 2024 Jordan Borean (@jborean93) +# MIT License (see LICENSE or https://opensource.org/licenses/MIT) + +from __future__ import annotations + import enum import struct import typing @@ -45,7 +50,7 @@ class ADPolicyInfo(typing.NamedTuple): min_age: int @classmethod - def from_bytes(cls, data: bytes) -> "ADPolicyInfo": + def from_bytes(cls, data: bytes) -> ADPolicyInfo: """Decode AD policy result from byte string Args: