From 25942242750cf70ff6140cff7d1f4dd6b5cbc950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:02:32 -0600 Subject: [PATCH] fix: Use the `jwt` extra (#266) --- noxfile.py | 1 + src/pyproject.toml.jinja | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/noxfile.py b/noxfile.py index 1a6409e..7cb924e 100644 --- a/noxfile.py +++ b/noxfile.py @@ -72,4 +72,5 @@ def lint( session.run("git", "add", ".", external=True) session.run("hatch", "run", "test:dependencies", external=True) session.run("hatch", "run", "typing:check", external=True) + session.run("cat", "pyproject.toml", external=True) session.run("pre-commit", "run", "--all", external=True) diff --git a/src/pyproject.toml.jinja b/src/pyproject.toml.jinja index 5c1061f..8db70c1 100644 --- a/src/pyproject.toml.jinja +++ b/src/pyproject.toml.jinja @@ -38,7 +38,11 @@ dependencies = [ [%- if tap_stream_type == 'GraphQL' or tap_auth_method == 'Basic Auth' %] "requests<3,>=2", [%- endif %] + [%- if tap_auth_method == 'JWT' %] + "singer-sdk[jwt]~=0.38.0", + [%- else %] "singer-sdk~=0.38.0", + [%- endif %] ] optional-dependencies.dev = [ "[[ tap_package_distribution_name ]][testing,typing]",