mtlevolio / pylinkchecker

standalone and pure python link checker and crawler that traverses a web site and reports errors
Other
34 stars 8 forks source link

Python3 support missing #23

Open JanneKiiskila opened 2 years ago

JanneKiiskila commented 2 years ago
(venv) jannek@jannek-P720:/ssd/pylinkchecker$ python setup.py install
running install
/ssd/pylinkchecker/venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/ssd/pylinkchecker/venv/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
creating pylinkchecker.egg-info
writing pylinkchecker.egg-info/PKG-INFO
writing dependency_links to pylinkchecker.egg-info/dependency_links.txt
writing requirements to pylinkchecker.egg-info/requires.txt
writing top-level names to pylinkchecker.egg-info/top_level.txt
writing manifest file 'pylinkchecker.egg-info/SOURCES.txt'
reading manifest file 'pylinkchecker.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'pylinkchecker.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/pylinkchecker
copying pylinkchecker/compat.py -> build/lib/pylinkchecker
copying pylinkchecker/__init__.py -> build/lib/pylinkchecker
copying pylinkchecker/api.py -> build/lib/pylinkchecker
copying pylinkchecker/crawler.py -> build/lib/pylinkchecker
copying pylinkchecker/tests.py -> build/lib/pylinkchecker
copying pylinkchecker/models.py -> build/lib/pylinkchecker
copying pylinkchecker/reporter.py -> build/lib/pylinkchecker
copying pylinkchecker/urlutil.py -> build/lib/pylinkchecker
creating build/lib/pylinkchecker/bs4
copying pylinkchecker/bs4/diagnose.py -> build/lib/pylinkchecker/bs4
copying pylinkchecker/bs4/dammit.py -> build/lib/pylinkchecker/bs4
copying pylinkchecker/bs4/__init__.py -> build/lib/pylinkchecker/bs4
copying pylinkchecker/bs4/element.py -> build/lib/pylinkchecker/bs4
creating build/lib/pylinkchecker/bs4/builder
copying pylinkchecker/bs4/builder/__init__.py -> build/lib/pylinkchecker/bs4/builder
copying pylinkchecker/bs4/builder/_htmlparser.py -> build/lib/pylinkchecker/bs4/builder
copying pylinkchecker/bs4/builder/_lxml.py -> build/lib/pylinkchecker/bs4/builder
copying pylinkchecker/bs4/builder/_html5lib.py -> build/lib/pylinkchecker/bs4/builder
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pylinkchecker
copying build/lib/pylinkchecker/compat.py -> build/bdist.linux-x86_64/egg/pylinkchecker
copying build/lib/pylinkchecker/__init__.py -> build/bdist.linux-x86_64/egg/pylinkchecker
copying build/lib/pylinkchecker/api.py -> build/bdist.linux-x86_64/egg/pylinkchecker
copying build/lib/pylinkchecker/crawler.py -> build/bdist.linux-x86_64/egg/pylinkchecker
copying build/lib/pylinkchecker/tests.py -> build/bdist.linux-x86_64/egg/pylinkchecker
creating build/bdist.linux-x86_64/egg/pylinkchecker/bs4
copying build/lib/pylinkchecker/bs4/diagnose.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4
copying build/lib/pylinkchecker/bs4/dammit.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4
copying build/lib/pylinkchecker/bs4/__init__.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4
creating build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder
copying build/lib/pylinkchecker/bs4/builder/__init__.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder
copying build/lib/pylinkchecker/bs4/builder/_htmlparser.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder
copying build/lib/pylinkchecker/bs4/builder/_lxml.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder
copying build/lib/pylinkchecker/bs4/builder/_html5lib.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder
copying build/lib/pylinkchecker/bs4/element.py -> build/bdist.linux-x86_64/egg/pylinkchecker/bs4
copying build/lib/pylinkchecker/models.py -> build/bdist.linux-x86_64/egg/pylinkchecker
copying build/lib/pylinkchecker/reporter.py -> build/bdist.linux-x86_64/egg/pylinkchecker
copying build/lib/pylinkchecker/urlutil.py -> build/bdist.linux-x86_64/egg/pylinkchecker
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/compat.py to compat.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/api.py to api.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/crawler.py to crawler.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/tests.py to tests.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/diagnose.py to diagnose.cpython-310.pyc
  File "build/bdist.linux-x86_64/egg/pylinkchecker/bs4/diagnose.py", line 20
    print "Diagnostic running on Beautiful Soup %s" % __version__
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/dammit.py to dammit.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder/_htmlparser.py to _htmlparser.cpython-310.pyc
  File "build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder/_htmlparser.py", line 71
    except (ValueError, OverflowError), e:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder/_lxml.py to _lxml.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/builder/_html5lib.py to _html5lib.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/bs4/element.py to element.cpython-310.pyc
  File "build/bdist.linux-x86_64/egg/pylinkchecker/bs4/element.py", line 1204
    print 'Running CSS selector "%s"' % selector
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/models.py to models.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/reporter.py to reporter.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/pylinkchecker/urlutil.py to urlutil.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-3.10
copying and adjusting pylinkchecker/bin/pylinkcheck.py -> build/scripts-3.10
changing mode of build/scripts-3.10/pylinkcheck.py from 664 to 775
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.10/pylinkcheck.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/pylinkcheck.py to 775
copying pylinkchecker.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pylinkchecker.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pylinkchecker.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pylinkchecker.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pylinkchecker.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
pylinkchecker.__pycache__.tests.cpython-310: module references __file__
creating dist
creating 'dist/pylinkchecker-0.2-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pylinkchecker-0.2-py3.10.egg
creating /ssd/pylinkchecker/venv/lib/python3.10/site-packages/pylinkchecker-0.2-py3.10.egg
Extracting pylinkchecker-0.2-py3.10.egg to /ssd/pylinkchecker/venv/lib/python3.10/site-packages
  File "/ssd/pylinkchecker/venv/lib/python3.10/site-packages/pylinkchecker-0.2-py3.10.egg/pylinkchecker/bs4/diagnose.py", line 20
    print "Diagnostic running on Beautiful Soup %s" % __version__
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

  File "/ssd/pylinkchecker/venv/lib/python3.10/site-packages/pylinkchecker-0.2-py3.10.egg/pylinkchecker/bs4/element.py", line 1204
    print 'Running CSS selector "%s"' % selector
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

  File "/ssd/pylinkchecker/venv/lib/python3.10/site-packages/pylinkchecker-0.2-py3.10.egg/pylinkchecker/bs4/builder/_htmlparser.py", line 71
    except (ValueError, OverflowError), e:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

Very likely that some dependency needs now updating?

JanneKiiskila commented 2 years ago

Ok, the embedded bs4 sources are the reason for this...