For another project of mine, I needed a complete new setup of a Linux system - and - found problems with a fresh installation of Leo from GitHub.
I verified the issue in a Debian 13 - based Test VM with both the '6.8.8' ( see Log-001) as well as with the 'devel' ( see Log-002) branch.
With kind regards,
Viktor
### Log-001: ###
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$ python3 -m pip install -r requirements.txt
ERROR: Exception:
Traceback (most recent call last):
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/markers.py", line 280, in __init__
self._markers = _normalize_extra_values(_parse_marker(marker))
~~~~~~~~~~~~~^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_parser.py", line 253, in parse_marker
return _parse_full_marker(Tokenizer(source, rules=DEFAULT_RULES))
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_parser.py", line 258, in _parse_full_marker
tokenizer.expect("END", expected="end of marker expression")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_tokenizer.py", line 143, in expect
raise self.raise_syntax_error(f"Expected {expected}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_tokenizer.py", line 168, in raise_syntax_error
raise ParserSyntaxError(
...<3 lines>...
)
pip._vendor.packaging._tokenizer.ParserSyntaxError: Expected end of marker expression
platform_system=="Windows" ; python_version <= "3.14"
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
~~~~~~~~^^^^^^^^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/commands/install.py", line 351, in run
reqs = self.get_requirements(args, options, finder, session)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/req_command.py", line 271, in get_requirements
req_to_add = install_req_from_parsed_requirement(
parsed_req,
...<7 lines>...
),
)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/req/constructors.py", line 480, in install_req_from_parsed_requirement
req = install_req_from_line(
parsed_req.requirement,
...<14 lines>...
config_settings=config_settings,
)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/req/constructors.py", line 405, in install_req_from_line
parts = parse_req_from_line(name, line_source)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/req/constructors.py", line 318, in parse_req_from_line
markers = Marker(markers_as_string)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/markers.py", line 298, in __init__
raise InvalidMarker(str(e)) from e
pip._vendor.packaging.markers.InvalidMarker: Expected end of marker expression
platform_system=="Windows" ; python_version <= "3.14"
^
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$
### Log-002: ###
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$ git branch
* 6.8.8
devel
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$ git checkout devel
Switched to branch 'devel'
Your branch is up to date with 'origin/devel'.
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$ git pull
Already up to date.
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$ python3 -m pip install -r requirements.txt
ERROR: Exception:
Traceback (most recent call last):
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/markers.py", line 280, in __init__
self._markers = _normalize_extra_values(_parse_marker(marker))
~~~~~~~~~~~~~^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_parser.py", line 253, in parse_marker
return _parse_full_marker(Tokenizer(source, rules=DEFAULT_RULES))
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_parser.py", line 258, in _parse_full_marker
tokenizer.expect("END", expected="end of marker expression")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_tokenizer.py", line 143, in expect
raise self.raise_syntax_error(f"Expected {expected}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/_tokenizer.py", line 168, in raise_syntax_error
raise ParserSyntaxError(
...<3 lines>...
)
pip._vendor.packaging._tokenizer.ParserSyntaxError: Expected end of marker expression
platform_system=="Windows" ; python_version <= "3.14"
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
~~~~~~~~^^^^^^^^^^^^^^^
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/req_command.py", line 68, in wrapper
return func(self, options, args)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/commands/install.py", line 351, in run
reqs = self.get_requirements(args, options, finder, session)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/cli/req_command.py", line 271, in get_requirements
req_to_add = install_req_from_parsed_requirement(
parsed_req,
...<7 lines>...
),
)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/req/constructors.py", line 480, in install_req_from_parsed_requirement
req = install_req_from_line(
parsed_req.requirement,
...<14 lines>...
config_settings=config_settings,
)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/req/constructors.py", line 405, in install_req_from_line
parts = parse_req_from_line(name, line_source)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_internal/req/constructors.py", line 318, in parse_req_from_line
markers = Marker(markers_as_string)
File "/home/user/PyVE/Leo/lib/python3.13/site-packages/pip/_vendor/packaging/markers.py", line 298, in __init__
raise InvalidMarker(str(e)) from e
pip._vendor.packaging.markers.InvalidMarker: Expected end of marker expression
platform_system=="Windows" ; python_version <= "3.14"
^
(Leo) user@Debian-Test-DVM:~/PyVE/Leo/leo-editor$