What is the problem?
Trying to upgrade from 1.5.3 to 1.9. But it fails.
What did you already try to solve it?
I upgraded pip from 9.x to 20.x
Have you tried running in safe mode?
No
Did running in safe mode solve the problem?
No
Systeminfo Bundle
browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
connectivity.connection_check: 8.8.8.8:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 900
env.hardware.ram: 917020672
env.os.bits: 32
env.os.id: linux
env.os.platform: linux2
env.plugins.pi_support.model: Raspberry Pi 2 Model B Rev 1.1
env.plugins.pi_support.octopi_version: 0.15.1
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 20.3.4
env.python.version: 2.7.13
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.5.3
printer.firmware: Malyan 3.5
Additional information about your setup
OctoPrint 1.5.3, OctoPi version ???, Monoprice Mini Select 2, Raspberry Pi 2, Firefox, Windows 10
I get the following error upgrading:
Collecting https://github.com/OctoPrint/OctoPrint/archive/1.9.0.zip
Downloading https://github.com/OctoPrint/OctoPrint/archive/1.9.0.zip (6.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpvGLfA6
cwd: /tmp/pip-req-build-LJkRPu
Complete output (17 lines):
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in
main()
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/build_meta.py", line 103, in get_requires_for_build_wheel
return _get_build_requires(config_settings)
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/build_meta.py", line 89, in _get_build_requires
_run_setup()
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/build_meta.py", line 72, in _run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 237
f"{update.spec}: latest {update.latest}, pypi: https://pypi.org/project/{update.name}/"
^
SyntaxError: invalid syntax
ERROR: Command errored out with exit status 1: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpvGLfA6 $
Getting requirements to build wheel: finished with status 'error'