Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“python_requires” should be set with “>=3.6”, but twarc 2.12.0 set as ">=3.3". #659

Closed
PyVCEchecker opened this issue Oct 18, 2022 · 0 comments · Fixed by #660
Closed

Comments

@PyVCEchecker
Copy link

Currently, the keyword argument python_requires of setup() is set as ">=3.3", but I found it is not compatible with Python<3.6. My local Python version is 3.5, and I encounter the following error when executing “pip install twarc==2.12.0”

Collecting twarc==2.12.0
  Downloading twarc-2.12.0-py3-none-any.whl (60 kB)
     |████████████████████████████████| 60 kB 630 kB/s 
Collecting tqdm>=4.62
  Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
     |████████████████████████████████| 78 kB 2.1 MB/s 
Collecting click<9,>=7
  Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
     |████████████████████████████████| 82 kB 1.0 MB/s 
Collecting python-dateutil>=2.8
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     |████████████████████████████████| 247 kB 4.4 MB/s 
ERROR: Could not find a version that satisfies the requirement humanize>=3.9 (from twarc)
ERROR: No matching distribution found for humanize>=3.9

Dependencies of this distribution are listed as follows:

click>=7,<9
click-config-file>=0.6
click-plugins>=1
humanize>=3.9
python-dateutil>=2.8
requests_oauthlib>=1.3
tqdm>=4.62

I found that humanize>=3.9 requires Python>=3.6, which results in installation failure of twarc in Python3.5.

Way to fix:
modify setup() in setup.py, amend python_requires keyword argument

setup(…
     python_requires='>=3.6'
     …)

Thanks for your attention.
Best regrads,
PyVCEchecker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant