Does this project supports python3? #4

Closed
katyukha opened this Issue Nov 13, 2013 · 6 comments

Comments

Projects
None yet
3 participants

On installing it i had folllwing error:

Downloading/unpacking gitdb>=0.5.1 (from GitPython->-r /home/katyukha/projects/TDeployer/requirements.txt (line 3))
  Downloading gitdb-0.5.4.tar.gz (50kB): 50kB downloaded
  Running setup.py egg_info for package gitdb
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/home/katyukha/projects/TDeployer/venv/build/gitdb/setup.py", line 24
        print "Ignored failure when building extensions, pure python modules will be used instead"
                                                                                                 ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/home/katyukha/projects/TDeployer/venv/build/gitdb/setup.py", line 24

    print "Ignored failure when building extensions, pure python modules will be used instead"

                                                                                             ^

SyntaxError: invalid syntax

I get a similar, seemingly related error...

$ easy_install gitdb Searching for gitdb Reading https://pypi.python.org/simple/gitdb/ Best match: gitdb 0.5.4 Downloading https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.4.tar.gz#md5=25353bb8d3ea527ba443dd88cd4e8a1c Processing gitdb-0.5.4.tar.gz Writing c:\users\agross~1.top\appdata\local\temp\easy_install-u1ha6i\gitdb-0.5.4\setup.cfg Running gitdb-0.5.4\setup.py -q bdist_egg --dist-dir c:\users\agross~1.top\appdata\local\temp\easy_install-u1ha6i\gitdb-0.5.4\egg-dist-tmp-hrtdcn Traceback (most recent call last): File "c:\Python33\Scripts\easy_install-script.py", line 9, in <module> load_entry_point('setuptools==1.4', 'console_scripts', 'easy_install')() File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 1925, in main File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 1912, in with_ei_usage File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 1929, in <lambda> File "C:\Python33\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Python33\lib\distutils\dist.py", line 929, in run_commands self.run_command(cmd) File "C:\Python33\lib\distutils\dist.py", line 948, in run_command cmd_obj.run() File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 374, in run File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 609, in easy_install File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 639, in install_item File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 825, in install_eggs File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 1031, in build_and_install File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\command\easy_install.py", line 1016, in run_setup File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\sandbox.py", line 69, in run_setup File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\sandbox.py", line 120, in run File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\sandbox.py", line 71, in <lambda> File "C:\Python33\lib\site-packages\setuptools-1.4-py3.3.egg\setuptools\compat.py", line 94, in execfile File "setup.py", line 24 print "Ignored failure when building extensions, pure python modules will be used instead" ^ SyntaxError: invalid syntax

Sure enough, dropping back to python 2.7 solves my issue. So it looks like there is no/broken support for python 3.

@hickford hickford referenced this issue in gitpython-developers/GitPython Oct 6, 2014

Closed

Python 3 support #114

Owner

Byron commented Nov 13, 2014

Python 3 is supported now, and a new version was uploaded to pypi to reflect that.

@Byron Byron closed this Nov 13, 2014

@Byron Byron reopened this Nov 13, 2014

Owner

Byron commented Nov 13, 2014

Gee, wrong project !

@Byron Byron added this to the python 3 support and testsuite fixes milestone Nov 13, 2014

@Byron Byron self-assigned this Nov 13, 2014

Owner

Byron commented Nov 13, 2014

Progress will now be pushed into this branch.

Owner

Byron commented Nov 14, 2014

A new release was uploaded, which now is officially compatible to python 2 and 3.

@Byron Byron closed this Nov 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment