PelionIoT / manifest-tool

A tool for creating and parsing update manifests
Apache License 2.0
10 stars 14 forks source link

v1.4.8 - Pip install fails - missing requirements.txt #6

Closed bentcooke closed 3 years ago

bentcooke commented 5 years ago

When trying to install or upgrade to v1.4.8, Pip install manifest-tool fails with: Collecting manifest-tool Using cached https://files.pythonhosted.org/packages/61/00/fb183d44ad303ef3462f04398a94c8ce09ba049000f616c630d1e83bb07c/manifest-tool-1.4.7.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-2zsjtx/manifest-tool/setup.py", line 34, in <module> reqs = [str(r.req) for r in install_reqs] File "/proj/ben/testvenv/local/lib/python2.7/site-packages/pip/_internal/req/req_file.py", line 82, in parse_requirements filename, comes_from=comes_from, session=session File "/proj/ben/testvenv/local/lib/python2.7/site-packages/pip/_internal/download.py", line 440, in get_file_content 'Could not open requirements file: %s' % str(exc) pip._internal.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' I have tested this in and out of a venv using python 2.7.13. pip installing from git does work though.

ciarmcom commented 5 years ago

ARM Internal Ref: IOTUC-840

cmonr commented 5 years ago

Curious. What are your versions of pip and setuptools?

Could you also provide the output of pip list --verbose?

bentcooke commented 5 years ago

Here you go:

Package Version Location Installer


pip 18.1 /proj/ben/testvenv/lib/python2.7/site-packages pip setuptools 40.6.3 /proj/ben/testvenv/lib/python2.7/site-packages pip wheel 0.32.3 /proj/ben/testvenv/lib/python2.7/site-packages pip You are using pip version 18.1, however version 19.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

cmonr commented 5 years ago

Found the reason: https://pypi.org/project/manifest-tool/

The 1.4.8 release hasn't been pushed to pypi.

@evedon Please correct.

orenc17 commented 5 years ago

@bentcooke could you please check with the latest version?

cmonr commented 3 years ago

This is probably safe to close as resolved.

moshe-shahar commented 3 years ago

Please use the latest version.

If you want to migrate your existing configuration and credentials to be used by the latest version, see "Upgrading from manifest tool v1.5.2 and lower" section on the tool documentation.