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

Running python setup.py install produces an error message in console #5

Closed
treble37 opened this issue May 7, 2019 · 3 comments
Closed

Comments

@treble37
Copy link
Contributor

treble37 commented May 7, 2019

python setup.py install produces the following:

 okra git:(devel) python setup.py install
/Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'test_requires'
  warnings.warn(msg)
/Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/setuptools/dist.py:470: UserWarning: Normalizing '1.1dev0' to '1.1.dev0'
  normalized_version,
running install
running bdist_egg
running egg_info
writing okra.egg-info/PKG-INFO
writing dependency_links to okra.egg-info/dependency_links.txt
writing requirements to okra.egg-info/requires.txt
writing top-level names to okra.egg-info/top_level.txt
reading manifest file 'okra.egg-info/SOURCES.txt'
writing manifest file 'okra.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.14-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/okra
copying okra/assn2_db.py -> build/lib/okra
copying okra/playbooks.py -> build/lib/okra
copying okra/models.py -> build/lib/okra
copying okra/parquet_utils.py -> build/lib/okra
copying okra/be_nice.py -> build/lib/okra
copying okra/mgmt_api.py -> build/lib/okra
copying okra/__init__.py -> build/lib/okra
copying okra/error_handling.py -> build/lib/okra
copying okra/assn4.py -> build/lib/okra
copying okra/distributed.py -> build/lib/okra
copying okra/settings.py -> build/lib/okra
copying okra/repo_mgmt.py -> build/lib/okra
copying okra/exceptions.py -> build/lib/okra
copying okra/populate_db.py -> build/lib/okra
copying okra/github.py -> build/lib/okra
copying okra/gitlogs.py -> build/lib/okra
copying okra/logging_utils.py -> build/lib/okra
creating build/lib/okra/protobuf
copying okra/protobuf/__init__.py -> build/lib/okra/protobuf
copying okra/protobuf/assn1_pb2.py -> build/lib/okra/protobuf
copying okra/protobuf/proto_utils.py -> build/lib/okra/protobuf
creating build/bdist.macosx-10.14-x86_64
creating build/bdist.macosx-10.14-x86_64/egg
creating build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/assn2_db.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/playbooks.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/models.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/parquet_utils.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/be_nice.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/mgmt_api.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/__init__.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/error_handling.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/assn4.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/distributed.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/settings.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/repo_mgmt.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/exceptions.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/populate_db.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/github.py -> build/bdist.macosx-10.14-x86_64/egg/okra
copying build/lib/okra/gitlogs.py -> build/bdist.macosx-10.14-x86_64/egg/okra
creating build/bdist.macosx-10.14-x86_64/egg/okra/protobuf
copying build/lib/okra/protobuf/__init__.py -> build/bdist.macosx-10.14-x86_64/egg/okra/protobuf
copying build/lib/okra/protobuf/assn1_pb2.py -> build/bdist.macosx-10.14-x86_64/egg/okra/protobuf
copying build/lib/okra/protobuf/proto_utils.py -> build/bdist.macosx-10.14-x86_64/egg/okra/protobuf
copying build/lib/okra/logging_utils.py -> build/bdist.macosx-10.14-x86_64/egg/okra
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/assn2_db.py to assn2_db.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/playbooks.py to playbooks.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/models.py to models.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/parquet_utils.py to parquet_utils.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/be_nice.py to be_nice.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/mgmt_api.py to mgmt_api.cpython-37.pyc
  File "build/bdist.macosx-10.14-x86_64/egg/okra/mgmt_api.py", line 23
    def check_urljoin(cache: str, fname: str, fpath: str) -> bool
                                                                ^
SyntaxError: invalid syntax

byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/error_handling.py to error_handling.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/assn4.py to assn4.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/distributed.py to distributed.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/settings.py to settings.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/repo_mgmt.py to repo_mgmt.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/exceptions.py to exceptions.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/populate_db.py to populate_db.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/github.py to github.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/gitlogs.py to gitlogs.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/protobuf/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/protobuf/assn1_pb2.py to assn1_pb2.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/protobuf/proto_utils.py to proto_utils.cpython-37.pyc
byte-compiling build/bdist.macosx-10.14-x86_64/egg/okra/logging_utils.py to logging_utils.cpython-37.pyc
creating build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
installing scripts to build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-3.7
copying and adjusting bin/okra -> build/scripts-3.7
changing mode of build/scripts-3.7/okra from 644 to 755
creating build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.7/okra -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.macosx-10.14-x86_64/egg/EGG-INFO/scripts/okra to 755
copying okra.egg-info/PKG-INFO -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying okra.egg-info/SOURCES.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying okra.egg-info/dependency_links.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying okra.egg-info/not-zip-safe -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying okra.egg-info/requires.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying okra.egg-info/top_level.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
creating dist
creating 'dist/okra-1.1.dev0-py3.7.egg' and adding 'build/bdist.macosx-10.14-x86_64/egg' to it
removing 'build/bdist.macosx-10.14-x86_64/egg' (and everything under it)
Processing okra-1.1.dev0-py3.7.egg
creating /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/okra-1.1.dev0-py3.7.egg
Extracting okra-1.1.dev0-py3.7.egg to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
  File "/Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/okra-1.1.dev0-py3.7.egg/okra/mgmt_api.py", line 23
    def check_urljoin(cache: str, fname: str, fpath: str) -> bool
                                                                ^
SyntaxError: invalid syntax

Adding okra 1.1.dev0 to easy-install.pth file
Installing okra script to /Users/bruce/.asdf/installs/python/3.7.2/bin

Installed /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/okra-1.1.dev0-py3.7.egg
Processing dependencies for okra==1.1.dev0
Searching for sqlalchemy>=1.3.0
Reading https://pypi.org/simple/sqlalchemy/
Downloading https://files.pythonhosted.org/packages/2b/b2/e6f5c5efc68942edefaa924e8fbea0b32375baa434a511cbf6bb17769cf6/SQLAlchemy-1.3.3.tar.gz#sha256=91c54ca8345008fceaec987e10924bf07dcab36c442925357e5a467b36a38319
Best match: SQLAlchemy 1.3.3
Processing SQLAlchemy-1.3.3.tar.gz
Writing /var/folders/wp/hd2xxhss23j16_qjxhdb8tkh0000gp/T/easy_install-n7cyobx2/SQLAlchemy-1.3.3/setup.cfg
Running SQLAlchemy-1.3.3/setup.py -q bdist_egg --dist-dir /var/folders/wp/hd2xxhss23j16_qjxhdb8tkh0000gp/T/easy_install-n7cyobx2/SQLAlchemy-1.3.3/egg-dist-tmp-jutksihq
warning: no files found matching 'sqla_nose.py'
no previously-included directories found matching 'doc/build/output'
zip_safe flag not set; analyzing archive contents...
sqlalchemy.__pycache__.cprocessors.cpython-37: module references __file__
sqlalchemy.__pycache__.cresultproxy.cpython-37: module references __file__
sqlalchemy.__pycache__.cutils.cpython-37: module references __file__
creating /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/SQLAlchemy-1.3.3-py3.7-macosx-10.14-x86_64.egg
Extracting SQLAlchemy-1.3.3-py3.7-macosx-10.14-x86_64.egg to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
Adding SQLAlchemy 1.3.3 to easy-install.pth file

Installed /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/SQLAlchemy-1.3.3-py3.7-macosx-10.14-x86_64.egg
Searching for pyarrow==0.13.0
Reading https://pypi.org/simple/pyarrow/
Downloading https://files.pythonhosted.org/packages/6b/34/18d38a53f393d1d84c75f0cf90bcd2aaebd40c5aa9a8ca06c80c0e679f75/pyarrow-0.13.0-cp37-cp37m-macosx_10_6_intel.whl#sha256=fc7b2c189bd00d9beaaff22ff52cb1c7e3261bd1d9cc9a0b34493863c78245a2
Best match: pyarrow 0.13.0
Processing pyarrow-0.13.0-cp37-cp37m-macosx_10_6_intel.whl
Installing pyarrow-0.13.0-cp37-cp37m-macosx_10_6_intel.whl to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
writing requirements to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/pyarrow-0.13.0-py3.7-macosx-10.14-x86_64.egg/EGG-INFO/requires.txt
Adding pyarrow 0.13.0 to easy-install.pth file
Installing plasma_store script to /Users/bruce/.asdf/installs/python/3.7.2/bin

Installed /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/pyarrow-0.13.0-py3.7-macosx-10.14-x86_64.egg
Searching for protobuf==3.6.1
Reading https://pypi.org/simple/protobuf/
Downloading https://files.pythonhosted.org/packages/77/78/a7f1ce761e2c738e209857175cd4f90a8562d1bde32868a8cd5290d58926/protobuf-3.6.1-py2.py3-none-any.whl#sha256=196d3a80f93c537f27d2a19a4fafb826fb4c331b0b99110f985119391d170f96
Best match: protobuf 3.6.1
Processing protobuf-3.6.1-py2.py3-none-any.whl
Installing protobuf-3.6.1-py2.py3-none-any.whl to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
writing requirements to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/protobuf-3.6.1-py3.7.egg/EGG-INFO/requires.txt
Adding protobuf 3.6.1 to easy-install.pth file

Installed /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/protobuf-3.6.1-py3.7.egg
Searching for pandas==0.24.2
Reading https://pypi.org/simple/pandas/
Downloading https://files.pythonhosted.org/packages/fc/43/fd867e3347559845c8f993059d410c50a1e18709f1c4d4b3b47323a06a37/pandas-0.24.2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#sha256=627594338d6dd995cfc0bacd8e654cd9e1252d2a7c959449228df6740d737eb8
Best match: pandas 0.24.2
Processing pandas-0.24.2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Installing pandas-0.24.2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
writing requirements to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/pandas-0.24.2-py3.7-macosx-10.14-x86_64.egg/EGG-INFO/requires.txt
Adding pandas 0.24.2 to easy-install.pth file

Installed /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/pandas-0.24.2-py3.7-macosx-10.14-x86_64.egg
Searching for numpy>=1.14
Reading https://pypi.org/simple/numpy/
Downloading https://files.pythonhosted.org/packages/43/6e/71a3af8680a159a141fab5b4d19988111a09c02ffbfdeb42175cca0fa341/numpy-1.16.3-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#sha256=1c666f04553ef70fda54adf097dbae7080645435fc273e2397f26bbf1d127bbb
Best match: numpy 1.16.3
Processing numpy-1.16.3-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Installing numpy-1.16.3-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
Adding numpy 1.16.3 to easy-install.pth file
Installing f2py script to /Users/bruce/.asdf/installs/python/3.7.2/bin
Installing f2py3 script to /Users/bruce/.asdf/installs/python/3.7.2/bin
Installing f2py3.7 script to /Users/bruce/.asdf/installs/python/3.7.2/bin

Installed /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/numpy-1.16.3-py3.7-macosx-10.14-x86_64.egg
Searching for pytz>=2011k
Reading https://pypi.org/simple/pytz/
Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl#sha256=303879e36b721603cc54604edcac9d20401bdbe31e1e4fdee5b9f98d5d31dfda
Best match: pytz 2019.1
Processing pytz-2019.1-py2.py3-none-any.whl
Installing pytz-2019.1-py2.py3-none-any.whl to /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
Adding pytz 2019.1 to easy-install.pth file

Installed /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages/pytz-2019.1-py3.7.egg
Searching for six==1.12.0
Best match: six 1.12.0
Adding six 1.12.0 to easy-install.pth file

Using /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
Searching for setuptools==40.6.2
Best match: setuptools 40.6.2
Adding setuptools 40.6.2 to easy-install.pth file
Installing easy_install script to /Users/bruce/.asdf/installs/python/3.7.2/bin
Installing easy_install-3.6 script to /Users/bruce/.asdf/installs/python/3.7.2/bin

Using /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
Searching for python-dateutil==2.8.0
Best match: python-dateutil 2.8.0
Adding python-dateutil 2.8.0 to easy-install.pth file

Using /Users/bruce/.asdf/installs/python/3.7.2/lib/python3.7/site-packages
Finished processing dependencies for okra==1.1.dev0

Still seems to work though...

@tbonza
Copy link
Contributor

tbonza commented May 7, 2019 via email

@treble37
Copy link
Contributor Author

treble37 commented May 7, 2019

Mmm I see... so there's probably no test coverage around this file....

@tbonza
Copy link
Contributor

tbonza commented May 7, 2019 via email

@tbonza tbonza closed this as completed in 1250e7d May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants