From 971bc02cb6e63924ef867d347130d7eca2a9c8f7 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 2 Oct 2024 08:38:25 +1000 Subject: [PATCH] Prepare for v0.7.0 release --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 1 + src/krb5/_adpi.py | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5b40d8..836f4d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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..c5ca37b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * 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: