Skip to content

Commit

Permalink
Add service_identity dependency for Twisted.
Browse files Browse the repository at this point in the history
Fixes UserWarning: You do not have a working installation of the
service_identity module: 'No module named 'service_identity''.
Please install it from <https://pypi.python.org/pypi/service_identity> and
make sure all of its dependencies are satisfied.
Without the service_identity module, Twisted can perform only rudimentary
TLS client hostname verification.  Many valid certificate/hostname mappings
may be rejected.

	modified:   setup.py
  • Loading branch information
alexanderrichards committed Feb 11, 2020
1 parent 27a8828 commit 90e2134
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
'requests',
'sqlalchemy',
'twisted',
'python-dateutil'],
'python-dateutil',
'service_identity'], # See commit notes: Needed by Twisted.
include_package_data=True,
scripts=['src/pdm/bin/pdm'],
)
Expand Down

0 comments on commit 90e2134

Please sign in to comment.