diff --git a/doc/introduction.rst b/doc/introduction.rst index ee4062cfec..cc8fa70edd 100644 --- a/doc/introduction.rst +++ b/doc/introduction.rst @@ -37,9 +37,6 @@ This package is in the `Python Package Index be enough. You can also clone it on `Github `__. -If you wish to use GitHub Integrations, you'll want to be sure to install the -'integrations' option: ``pip install PyGithub[integrations]`` - Licensing --------- diff --git a/requirements.txt b/requirements.txt index bc82296fc8..9a8d628f76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ pynacl>=1.4.0 requests>=2.14.0 -pyjwt>=2.4.0 +pyjwt[crypto]>=2.4.0 sphinx<3 Jinja2<3.1 sphinx-rtd-theme<1.1 diff --git a/setup.py b/setup.py index cb3e805530..9fde83f65a 100755 --- a/setup.py +++ b/setup.py @@ -104,10 +104,11 @@ python_requires=">=3.7", install_requires=[ "deprecated", - "pyjwt>=2.4.0", + "pyjwt[crypto]>=2.4.0", "pynacl>=1.4.0", "requests>=2.14.0", ], - extras_require={"integrations": ["cryptography"]}, - tests_require=["cryptography", "httpretty>=1.0.3"], + # can be removed, still here to avoid breaking user code + extras_require={"integrations": []}, + tests_require=["httpretty>=1.0.3"], ) diff --git a/test-requirements.txt b/test-requirements.txt index f87e113a4f..ced0003cff 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,3 @@ -cryptography httpretty>=1.0.3 pytest>=5.3 pytest-cov>=2.8