Skip to content

Updating Python build versions#853

Merged
ianhelle merged 16 commits intomainfrom
ianhelle/add-py3.12-3.13-to-build-2025-08-08
Aug 12, 2025
Merged

Updating Python build versions#853
ianhelle merged 16 commits intomainfrom
ianhelle/add-py3.12-3.13-to-build-2025-08-08

Conversation

@ianhelle
Copy link
Contributor

@ianhelle ianhelle commented Aug 8, 2025

Adding Py 3.12 to build (postponing Py 3.13 for the moment).

Primary changes:

  • remove dependencies on pkg_resources
  • replace datetime.utcnow (and similar) with datetime.now(tz=timezone.utc)
  • updating some type annotations and adding from future import annotations.
  • removing KeyVault create_vault (old code dependent on ADAL authentication and not really needed in package).

@ianhelle ianhelle self-assigned this Aug 8, 2025
@ianhelle ianhelle marked this pull request as draft August 8, 2025 22:13
Removing pkg_resources
Updating typing hints to modern style
Fixing some Python 3.12 bad code.
Needed from __future__ import typing in some changed modules
MyPy warnings on workarounds for pkg_resources removal
….13-to-build-2025-08-08

# Conflicts:
#	msticpy/auth/keyvault_client.py
@ianhelle ianhelle marked this pull request as ready for review August 11, 2025 18:57
@ianhelle ianhelle requested a review from FlorianBracq August 11, 2025 18:57
@ianhelle ianhelle merged commit 5c0b6d4 into main Aug 12, 2025
11 checks passed
@ianhelle ianhelle deleted the ianhelle/add-py3.12-3.13-to-build-2025-08-08 branch August 12, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants