solokeys / solo1-cli

Solo 1 library and CLI in Python
https://pypi.org/project/solo-python
Apache License 2.0
183 stars 69 forks source link

remove psycopg2 dependency #86

Closed markuman closed 4 years ago

markuman commented 4 years ago

When I try to install it with pip, nowadays it installs sqlalchemy along with psycopg2, which seems the need of an installed postgresql.

pip3 install solo --user
Collecting solo
  Using cached https://files.pythonhosted.org/packages/ef/fd/63e63954cd69f9ad98a2774ac6ddda0f4293b2178c7f4affaeb671640883/solo-0.0.1-py3-none-any.whl
Collecting sqlalchemy==1.0.12
  Downloading https://files.pythonhosted.org/packages/5c/52/9b48cd58eac58cae2a27923ff34c783f390b95413ff65669a86e98f80829/SQLAlchemy-1.0.12.tar.gz (4.7MB)
     |████████████████████████████████| 4.8MB 1.2MB/s 
Collecting ramlfications==0.1.9
  Downloading https://files.pythonhosted.org/packages/92/a6/2c55224098adb71ffcaf02fbf9309043baf9f0594a67b6fa609db8f59fe4/ramlfications-0.1.9-py2.py3-none-any.whl (49kB)
     |████████████████████████████████| 51kB 1.0MB/s 
Collecting psycopg2==2.6.1
  Using cached https://files.pythonhosted.org/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-c8m5lojt/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-c8m5lojt/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-c8m5lojt/psycopg2/pip-egg-info
         cwd: /tmp/pip-install-c8m5lojt/psycopg2/
    Complete output (7 lines):
    running egg_info
    creating /tmp/pip-install-c8m5lojt/psycopg2/pip-egg-info/psycopg2.egg-info
    writing /tmp/pip-install-c8m5lojt/psycopg2/pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-install-c8m5lojt/psycopg2/pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to /tmp/pip-install-c8m5lojt/psycopg2/pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file '/tmp/pip-install-c8m5lojt/psycopg2/pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '12.3'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
markuman commented 4 years ago

Oh, nvm. solo is something else in the pip universe.