Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Add Python 3 support #81

Open
GoogleCodeExporter opened this issue Jun 17, 2015 · 4 comments
Open

Add Python 3 support #81

GoogleCodeExporter opened this issue Jun 17, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
 - Run gjslint.py using Python 3.

What is the expected output?
 - Normal linting over the source files.

What do you see instead?
Traceback (most recent call last):
  File "d:\Programming\repo\node_modules\closure-linter-wrapper\tools\gjslint.py", line 13, in <module>
    from closure_linter import gjslint
  File "d:\Programming\repo\node_modules\closure-linter-wrapper\tools\closure_linter\gjslint.py", line 168
    print '%s: %d' % (path, len(path_errors))
                 ^
SyntaxError: invalid syntax


What version of the product are you using?
 - 2.3.1.2

On what operating system?
 - Windows 7

Original issue reported on code.google.com by rand...@gmail.com on 17 Jun 2014 at 2:23

@GoogleCodeExporter
Copy link
Author

Any update on this? A year and Python 3 has continued to become used more and 
more. Would love an update on this.

Original comment by allen.br...@gmail.com on 12 Jun 2015 at 7:56

@ngvtuan
Copy link

ngvtuan commented Dec 28, 2015

I have got same error.

C:\Python34\Scripts>gjslint
Traceback (most recent call last):
File "C:\Python34\Scripts\gjslint-script.py", line 9, in
load_entry_point('closure-linter==2.3.13', 'console_scripts', 'gjslint')()
File "c:\python34\lib\site-packages\pkg_resources__init__.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\python34\lib\site-packages\pkg_resources__init__.py", line 2682, in load_entry_point
return ep.load()
File "c:\python34\lib\site-packages\pkg_resources__init__.py", line 2355, in load
return self.resolve()
File "c:\python34\lib\site-packages\pkg_resources__init__.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "c:\python34\lib\site-packages\closure_linter\gjslint.py", line 168
print '%s: %d' % (path, len(path_errors))
^
SyntaxError: invalid syntax

@tsauerwein
Copy link

Are there any plans to support Python 3 in the near future?

@rumpeltux
Copy link
Contributor

There are no such plans. This project is as good as deprecated and not actively developed anymore. We’ll update with more information on alternatives in the near future.

iMichka added a commit to iMichka/homebrew-core that referenced this issue Dec 11, 2019
22 downloads in the last 30 days
Project is deprecated and not developed anymore
google/closure-linter#81 (comment)
Does not build with python 2

See Homebrew#47050
iMichka added a commit to Homebrew/homebrew-core that referenced this issue Dec 11, 2019
22 downloads in the last 30 days
Project is deprecated and not developed anymore
google/closure-linter#81 (comment)
Does not build with python 2

See #47050
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants