Skip to content

Commit

Permalink
Prepare for v0.7.0 release (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 authored Oct 3, 2024
1 parent a3fffd7 commit 0b9e404
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- '3.10'
- '3.11'
- '3.12'
- '3.13.0-rc.2'
- '3.13.0-rc.3'
provider:
- mit
- heimdal
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
7 changes: 6 additions & 1 deletion src/krb5/_adpi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright: (c) 2024 Jordan Borean (@jborean93) <jborean93@gmail.com>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)

from __future__ import annotations

import enum
import struct
import typing
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0b9e404

Please # to comment.