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

clearbit fails to install with setuptools 58.* #34

Open
dsegan opened this issue Sep 7, 2021 · 1 comment · Fixed by 15five/clearbit-python#1 · May be fixed by #37
Open

clearbit fails to install with setuptools 58.* #34

dsegan opened this issue Sep 7, 2021 · 1 comment · Fixed by 15five/clearbit-python#1 · May be fixed by #37

Comments

@dsegan
Copy link

dsegan commented Sep 7, 2021

After setuptools 58.* was released in the last few days disallowing the parameter use_2to3 (in setup.py), clearbit fails to install.

$ pip install clearbit                                                                      
Collecting clearbit                                                                                                                                             Downloading clearbit-0.1.7.tar.gz (5.0 kB)       
    ERROR: Command errored out with exit status 1:                                                                                                            
     command: /var/virtualenv/py37/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1neb7o7s/clearbit_9b2
c9bb86a3047dabc1f8b18e18ae25a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1neb7o7s/clearbit_9b2c9bb86a3047dabc1f8b18e18ae25a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-8vb5blw9                                 cwd: /tmp/pip-install-1neb7o7s/clearbit_9b2c9bb86a3047dabc1f8b18e18ae25a/                                                                            
    Complete output (1 lines):                                                                                                                                
    error in clearbit setup command: use_2to3 is invalid.                                                                                                     
    ----------------------------------------                                                                                                                  
WARNING: Discarding https://files.pythonhosted.org/packages/50/e7/bbd7c4525cb4ecb74fbe7f4dff6f4112342d9050d64b3be8d56b8c0a028b/clearbit-0.1.7.tar.gz#sha256=f1
d5b854a9b0e8d6644bad2594f9e65ab756ffb0c6c34db15ecfc1e9179bb883 (from https://pypi.org/simple/clearbit/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.    
@philpincus
Copy link

Hi I think I'm getting the same error per my issue here. Is there a fix for this?

@qbedard qbedard linked a pull request Nov 1, 2021 that will close this issue
caleb15 added a commit to 15five/clearbit-python that referenced this issue Apr 5, 2022
Fixes clearbit#34
Credit to @timbedard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants