Skip to content

Conversation

@ykitamura-mdsol
Copy link
Contributor

title says all

Copilot AI review requested due to automatic review settings November 21, 2025 05:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds HTTPX authentication support for MAuth by implementing a custom MAuthHttpx authentication scheme. It also removes Python 3.8 support and updates several dependencies.

  • Implements MAuthHttpx class that extends httpx.Auth for MAuth request signing
  • Removes Python 3.8 support and adds Python 3.13 classifier
  • Updates Poetry version to 2.2.1 in GitHub workflows

Reviewed Changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
mauth_client/httpx_mauth/client.py Implements the new MAuthHttpx authentication class with sync and async auth flows
mauth_client/httpx_mauth/init.py Exports MAuthHttpx class from the new module
tests/httpx_mauth/client_test.py Adds unit tests for MAuthHttpx with v1, v2, and combined signature versions
README.md Documents HTTPX usage with MAuthHttpx authentication
pyproject.toml Updates version to 1.6.6, drops Python 3.8, adds Python 3.13, and updates dependencies
CHANGELOG.md Documents version 1.6.6 changes
.github/workflows/release.yaml Updates Poetry version and Python version for release workflow
.github/workflows/check.yaml Updates Poetry version and Python version matrix for CI checks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ykitamura-mdsol ykitamura-mdsol force-pushed the feature/httpx branch 3 times, most recently from 1763981 to e12a951 Compare November 21, 2025 07:19
Copy link
Contributor

@cmcinnes-mdsol cmcinnes-mdsol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one thanks @ykitamura-mdsol! One small non blocking request


# MAuth configuration
APP_UUID = "<MAUTH_APP_UUID>"
private_key = open("private.key", "r").read()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is a copy of the requests mauth example but usually we take our secrets directly from env these days so i wonder if it's more fitting to show that in the example

@cmcinnes-mdsol cmcinnes-mdsol merged commit 7de97a6 into main Nov 24, 2025
17 checks passed
@cmcinnes-mdsol cmcinnes-mdsol deleted the feature/httpx branch November 24, 2025 17:09
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.

3 participants