Skip to content

Commit 16ffca5

Browse files
authored
Merge branch 'main' into ruff
2 parents f94b929 + 8765de7 commit 16ffca5

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/setup-python@v4
13+
uses: actions/setup-python@v5
1414
- name: Install and configure Poetry
1515
run: |
1616
pip install poetry

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude_lines = [
2222

2323
[tool.poetry]
2424
name = "cryptojwt"
25-
version = "1.9.1"
25+
version = "1.9.2"
2626
description = "Python implementation of JWT, JWE, JWS and JWK"
2727
authors = ["Roland Hedberg <[email protected]>"]
2828
license = "Apache-2.0"

Diff for: src/cryptojwt/__init__.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""JSON Web Token"""
22

33
import logging
4-
5-
import pkg_resources
4+
from importlib.metadata import version
65

76
from cryptojwt.jwe.jwe import JWE
87
from cryptojwt.jwk import JWK
@@ -17,7 +16,7 @@
1716
from .utils import b64encode_item
1817
from .utils import split_token
1918

20-
__version__ = pkg_resources.get_distribution("cryptojwt").version
19+
__version__ = version("cryptojwt")
2120

2221
__all__ = [
2322
"JWE",

0 commit comments

Comments
 (0)