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

Heroku can't install #22

Closed
thecaralice opened this issue Mar 8, 2019 · 4 comments
Closed

Heroku can't install #22

thecaralice opened this issue Mar 8, 2019 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@thecaralice
Copy link

thecaralice commented Mar 8, 2019

Describe the bug
I'm trying to host my bot on Heroku, and it fails to install brawlstats

Full Code
requirements.txt

aiohttp==3.4.4
brawlstats==2.3.0
clashroyale==4.0.1
discord-webhook==0.4.1
git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]
getgist==0.1.2
lxml==4.2.3

Expected behavior
brawlstats should install successfully

Actual behavior
It fails on installing

Collecting brawlstats==2.2.2 (from -r /tmp/build_83abd8b4ec208f6826aa36542e36e247/requirements.txt (line 2))
         Downloading https://files.pythonhosted.org/packages/d1/be/19d70b4dc24e8352fec72fd64dd180de80d07d3540a8d91c7a935fc7a5cd/brawlstats-2.2.2.tar.gz (154kB)
           Complete output from command python setup.py egg_info:
           /app/.heroku/python/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
             warnings.warn(msg)
           running egg_info
           creating pip-egg-info/brawlstats.egg-info
           writing pip-egg-info/brawlstats.egg-info/PKG-INFO
           writing dependency_links to pip-egg-info/brawlstats.egg-info/dependency_links.txt
           writing requirements to pip-egg-info/brawlstats.egg-info/requires.txt
           writing top-level names to pip-egg-info/brawlstats.egg-info/top_level.txt
           writing manifest file 'pip-egg-info/brawlstats.egg-info/SOURCES.txt'
           reading manifest file 'pip-egg-info/brawlstats.egg-info/SOURCES.txt'
           reading manifest template 'MANIFEST.in'
           writing manifest file 'pip-egg-info/brawlstats.egg-info/SOURCES.txt'
           Traceback (most recent call last):
             File "<string>", line 1, in <module>
             File "/tmp/pip-build-q1klefls/brawlstats/setup.py", line 48, in <module>
               del data['info']
           KeyError: 'info'
           
           ----------------------------------------
       Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-q1klefls/brawlstats/

Additional context
Python Version: 3.6.5
brawlstats Version: 2.3.0
OS (and version): I have Windows 7 Pro

@SharpBit
Copy link
Owner

SharpBit commented Mar 8, 2019

Notice the top of the error: it says collecting brawlstats 2.2.2 even though you specified 2.3.0 in your requirements.txt, seems like something is wrong with heroku/your requirements.txt but I'm not sure

@thecaralice
Copy link
Author

I updated it, changed requirements and tried one more time, but forgot to change error text

@thecaralice
Copy link
Author

Lol it works now

@SharpBit SharpBit added the duplicate This issue or pull request already exists label Mar 10, 2019
@SharpBit
Copy link
Owner

For future reference, duplicate of #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants