Skip to content

Commit

Permalink
[PR-168] Remove dependency on future (#168)
Browse files Browse the repository at this point in the history
Currently the python-future package is only used to provide `input`.
However, `six` is also used within the source code for python2
compatibility. Replace the usage of `future` with `six` to trim the
required dependencies.

python-future also does not provide built wheels, so removing it means
that this package and all it's dependencies can be fetched as wheels
without running any local build steps.
  • Loading branch information
avi-jois committed Feb 23, 2023
1 parent 2a4eb7c commit 34083a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion examples/pylink-rtt
Expand Up @@ -28,7 +28,7 @@ import pylink
import argparse
import sys
import time
from builtins import input
from six.moves import input

try:
import thread
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
@@ -1,6 +1,5 @@
behave == 1.2.5
coverage == 4.4.1
future
psutil >= 5.2.2
pycodestyle >= 2.3.1
six
Expand Down
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -261,7 +261,6 @@ def long_description():
# Dependencies.
install_requires=[
'psutil >= 5.2.2',
'future',
'six'
],

Expand Down

0 comments on commit 34083a2

Please sign in to comment.