[Bug 2308406] Review Request: python-pymdown-extensions - Extension pack for Python Markdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2308406



--- Comment #6 from Davide Cavalca <davide@xxxxxxxxxxxx> ---
I'm dropping extra because it breaks like this:

Requirement satisfied: tox
   (installed: tox 4.16.0)
Handling .[extra] from tox --print-deps-only: py313
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/packaging/requirements.py", line 36,
in __init__
    parsed = _parse_requirement(requirement_string)
  File "/usr/lib/python3.13/site-packages/packaging/_parser.py", line 62, in
parse_requirement
    return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
  File "/usr/lib/python3.13/site-packages/packaging/_parser.py", line 71, in
_parse_requirement
    name_token = tokenizer.expect(
        "IDENTIFIER", expected="package name at the start of dependency
specifier"
    )
  File "/usr/lib/python3.13/site-packages/packaging/_tokenizer.py", line 142,
in expect
    raise self.raise_syntax_error(f"Expected {expected}")
          ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/packaging/_tokenizer.py", line 167,
in raise_syntax_error
    raise ParserSyntaxError(
    ...<3 lines>...
    )
packaging._tokenizer.ParserSyntaxError: Expected package name at the start of
dependency specifier
    .[extra]
    ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 107, in add
    requirement = Requirement(requirement_str)
  File "/usr/lib/python3.13/site-packages/packaging/requirements.py", line 38,
in __init__
    raise InvalidRequirement(str(e)) from e
packaging.requirements.InvalidRequirement: Expected package name at the start
of dependency specifier
    .[extra]
    ^

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 568, in main
    generate_requires(
    ~~~~~~~~~~~~~~~~~^
        include_runtime=args.runtime,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
        config_settings=parse_config_settings_args(args.config_settings),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 467, in
generate_requires
    generate_tox_requirements(toxenv, requirements)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 418, in
generate_tox_requirements
    requirements.extend(packages,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
                        source=f'tox --print-deps-only: {toxenv}')
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 195, in extend
    self.add(req_str, **kwargs)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 113, in add
    raise ValueError(message)
ValueError: Requirement '.[extra]' from tox --print-deps-only: py313 is
invalid.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2308406

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202308406%23c6

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux