Skip to content

Conversation

@kurtmckee
Copy link
Contributor

@kurtmckee kurtmckee commented Oct 22, 2025

The warning is thrown when Python imports the file, and manifests in the test suite with this error [recent CI example]:

jwt/api_jwt.py:326
  /home/runner/work/pyjwt/pyjwt/jwt/api_jwt.py:326: SyntaxWarning: invalid escape sequence '\*'
    (e.g. HS\* and RS\*).

(This manifests as a DeprecationWarning as well, depending on the Python interpreter and version.)

The warning is thrown when Python imports the file,
and manifests in the test suite with this error:

```
jwt/api_jwt.py:326
  /home/runner/work/pyjwt/pyjwt/jwt/api_jwt.py:326: SyntaxWarning: invalid escape sequence '\*'
    (e.g. HS\* and RS\*).
```

(This manifests as a `DeprecationWarning` as well,
depending on the Python interpreter and version.)
@kurtmckee kurtmckee force-pushed the fix-deprecation-warning branch from 5175f65 to 46ee530 Compare October 22, 2025 12:33
@auvipy auvipy merged commit 1009813 into jpadilla:master Oct 22, 2025
23 checks passed
@kurtmckee kurtmckee deleted the fix-deprecation-warning branch October 22, 2025 15:41
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