Our company has a pybuilder package for an internal utility library that we use for our python development. Since pybuilder 0.12.2 was released, this library fails to install using pip. The following errors occur:
(venv) $ pip install git+ssh://git@github.com/skywatch-engineering/endpoint-util.git
Collecting git+ssh://git@github.com/skywatch-engineering/endpoint-util.git
Cloning ssh://git@github.com/skywatch-engineering/endpoint-util.git to /private/var/folders/7_/pvz_xscd2p72nknxpw8wvw400000gn/T/pip-hdwola22-build
Complete output from command python setup.py egg_info:
pyb 0.12.2
PyBuilder version 0.12.2
Build started at 2020-04-23 16:51:39
------------------------------------------------------------
[INFO] Installing or updating plugin "pypi:pybuilder_pytest, module name 'pybuilder_pytest'"
[INFO] Processing plugin packages 'pybuilder_pytest' to be installed with {}
------------------------------------------------------------
BUILD FAILED - Missing plugin plugin 'pypi:pybuilder_pytest', module 'pybuilder_pytest': Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pybuilder/pluginloader.py", line 175, in _load_plugin
__import__(plugin_module_name)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pybuilder/reactor.py", line 532, in __import_with_plugins
return self._old_import(*args, **kwargs)
File "/private/var/folders/7_/pvz_xscd2p72nknxpw8wvw400000gn/T/pip-hdwola22-build/.pybuilder/plugins/cpython-3.6.1.final.0/lib/python3.6/site-packages/pybuilder_pytest/__init__.py", line 22, in <module>
from pybuilder.plugins.python.unittest_plugin \
ImportError: cannot import name '_register_test_and_source_path_and_return_test_dir'
(site-packages/pybuilder/pluginloader.py:181)
------------------------------------------------------------
Build finished at 2020-04-23 16:51:47
Build took 8 seconds (8416 ms)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/7_/pvz_xscd2p72nknxpw8wvw400000gn/T/pip-hdwola22-build/
This install was run in a virtual environment. If I use pybuilder 0.12.1, the pip install completes without error.
Is there something that I need to change in build.py or somewhere else in the packaging code for this library so it will work with the latest version of pybuilder?
Thanks in advance for your help.
Our company has a pybuilder package for an internal utility library that we use for our python development. Since pybuilder 0.12.2 was released, this library fails to install using pip. The following errors occur:
This install was run in a virtual environment. If I use pybuilder 0.12.1, the pip install completes without error.
Is there something that I need to change in build.py or somewhere else in the packaging code for this library so it will work with the latest version of pybuilder?
Thanks in advance for your help.