PBR

pbr gives an error when "--trusted-host" is included in requirements

Bug #1919368 reported by Tim Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
New
Undecided
Unassigned

Bug Description

If "--trusted-host" is used within requirements.txt, PBR gives the following error when running setup.py:

error in setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Parse error at "'--truste'": Expected W:(abcd...)
Traceback (most recent call last):
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\timh\AppData\Local\Programs\Python\Python38-32\Scripts\devpi.exe\__main__.py", line 7, in <module>
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\site-packages\devpi\main.py", line 36, in main
    return method(hub, hub.args)
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\site-packages\devpi\upload.py", line 41, in main
    archives.extend(exported.setup_build(
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\site-packages\devpi\upload.py", line 430, in setup_build
    out = self.hub.popen_output(cmd, cwd=self.rootpath)
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\site-packages\devpi\main.py", line 291, in popen_output
    return subprocess.check_output(args, cwd=str(cwd)).decode('utf-8')
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "c:\users\timh\appdata\local\programs\python\python38-32\lib\subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\git\\software\\antec-production-ats-repo\\venv\\Scripts\\python.EXE', 'setup.py', 'sdist', '--formats', 'zip']' returned non-zero exit status 1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.