Skip to content

Commit 554b2b2

Browse files
authored
Add crypto extras to pyjwt, which pulls in cryptogaphy package (#2443)
* Add crypto extras to pyjwt, which pulls in cryptogaphy package * Remove cryptography dependency from more places * Remove integrations extra from docs
1 parent 45f3d72 commit 554b2b2

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

doc/introduction.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ This package is in the `Python Package Index
3737
be enough. You can also clone it on `Github
3838
<http://github.com/PyGithub/PyGithub>`__.
3939

40-
If you wish to use GitHub Integrations, you'll want to be sure to install the
41-
'integrations' option: ``pip install PyGithub[integrations]``
42-
4340
Licensing
4441
---------
4542

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pynacl>=1.4.0
22
requests>=2.14.0
3-
pyjwt>=2.4.0
3+
pyjwt[crypto]>=2.4.0
44
sphinx<3
55
Jinja2<3.1
66
sphinx-rtd-theme<1.1

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,11 @@
104104
python_requires=">=3.7",
105105
install_requires=[
106106
"deprecated",
107-
"pyjwt>=2.4.0",
107+
"pyjwt[crypto]>=2.4.0",
108108
"pynacl>=1.4.0",
109109
"requests>=2.14.0",
110110
],
111-
extras_require={"integrations": ["cryptography"]},
112-
tests_require=["cryptography", "httpretty>=1.0.3"],
111+
# can be removed, still here to avoid breaking user code
112+
extras_require={"integrations": []},
113+
tests_require=["httpretty>=1.0.3"],
113114
)

test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cryptography
21
httpretty>=1.0.3
32
pytest>=5.3
43
pytest-cov>=2.8

0 commit comments

Comments
 (0)