Skip to content

Pelican action conflicting requirements on pygments #399

@dave2wave

Description

@dave2wave

While working on a website build using apache/infrastructure-actions/pelican - I noticed that there is a conflict on the versions of pygments between pelican and rich.

See debug run here: https://github.com/apache/tooling-docs/actions/runs/19802923980/job/56732834987

Defaulting to user installation because normal site-packages is not writeable
Collecting pelican==4.5.4
  Downloading pelican-4.5.4-py3-none-any.whl.metadata (4.4 kB)
Collecting markdown
  Downloading markdown-3.10-py3-none-any.whl.metadata (5.1 kB)
Collecting bs4
  Downloading bs4-0.0.2-py2.py3-none-any.whl.metadata (411 bytes)
Collecting ezt
  Downloading ezt-1.1.tar.gz (9.5 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.31.0)
Collecting markupsafe==2.0.1
  Downloading MarkupSafe-2.0.1.tar.gz (18 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: blinker<2.0,>=1.4 in /usr/lib/python3/dist-packages (from pelican==4.5.4) (1.7.0)
Collecting docutils<0.17,>=0.16 (from pelican==4.5.4)
  Downloading docutils-0.16-py2.py3-none-any.whl.metadata (2.7 kB)
Collecting feedgenerator<2.0,>=1.9 (from pelican==4.5.4)
  Downloading feedgenerator-1.9.2-py3-none-any.whl.metadata (1.7 kB)
Collecting jinja2<2.12,>=2.11 (from pelican==4.5.4)
  Downloading Jinja2-2.11.3-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting pygments<2.7.0,>=2.6.1 (from pelican==4.5.4)
  Downloading Pygments-2.6.1-py3-none-any.whl.metadata (1.8 kB)
Requirement already satisfied: python-dateutil<3.0,>=2.8 in /usr/lib/python3/dist-packages (from pelican==4.5.4) (2.8.2)
Collecting pytz<2021.0,>=2020.1 (from pelican==4.5.4)
  Downloading pytz-2020.5-py2.py3-none-any.whl.metadata (21 kB)
Collecting unidecode<2.0,>=1.1 (from pelican==4.5.4)
  Downloading Unidecode-1.4.0-py3-none-any.whl.metadata (13 kB)
Collecting beautifulsoup4 (from bs4)
  Downloading beautifulsoup4-4.14.3-py3-none-any.whl.metadata (3.8 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from feedgenerator<2.0,>=1.9->pelican==4.5.4) (1.16.0)
Collecting soupsieve>=1.6.1 (from beautifulsoup4->bs4)
  Downloading soupsieve-2.8-py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: typing-extensions>=4.0.0 in /usr/lib/python3/dist-packages (from beautifulsoup4->bs4) (4.10.0)
Downloading pelican-4.5.4-py3-none-any.whl (1.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 11.4 MB/s eta 0:00:00
Downloading markdown-3.10-py3-none-any.whl (107 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.7/107.7 kB 35.7 MB/s eta 0:00:00
Downloading bs4-0.0.2-py2.py3-none-any.whl (1.2 kB)
Downloading docutils-0.16-py2.py3-none-any.whl (548 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 548.2/548.2 kB 83.4 MB/s eta 0:00:00
Downloading feedgenerator-1.9.2-py3-none-any.whl (22 kB)
Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.7/125.7 kB 42.0 MB/s eta 0:00:00
Downloading Pygments-2.6.1-py3-none-any.whl (914 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 914.4/914.4 kB 88.6 MB/s eta 0:00:00
Downloading pytz-2020.5-py2.py3-none-any.whl (510 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 510.8/510.8 kB 92.2 MB/s eta 0:00:00
Downloading Unidecode-1.4.0-py3-none-any.whl (235 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 235.8/235.8 kB 68.6 MB/s eta 0:00:00
Downloading beautifulsoup4-4.14.3-py3-none-any.whl (107 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.7/107.7 kB 34.3 MB/s eta 0:00:00
Downloading soupsieve-2.8-py3-none-any.whl (36 kB)
Building wheels for collected packages: markupsafe, ezt
  Building wheel for markupsafe (setup.py): started
  Building wheel for markupsafe (setup.py): finished with status 'done'
  Created wheel for markupsafe: filename=MarkupSafe-2.0.1-cp312-cp312-linux_x86_64.whl size=28640 sha256=c8b0e6f839947e74147aab5e778f38b9fd89ed6e7a4123c94c08f183dce4a563
  Stored in directory: /home/runner/.cache/pip/wheels/4f/d0/53/2b4a97f61dfc68c6cc6248bfb770e2f6ff952e89a5c2696aae
  Building wheel for ezt (setup.py): started
  Building wheel for ezt (setup.py): finished with status 'done'
  Created wheel for ezt: filename=ezt-1.1-py3-none-any.whl size=9270 sha256=63788d78563c8e0240f15d05d1d15aea5354ffc2b8efc5e9f420974097baf660
  Stored in directory: /home/runner/.cache/pip/wheels/63/cb/ab/d3b3e13f7c1c03eff11da5e7b8b5d1bfaf3f7d34d0ee88968d
Successfully built markupsafe ezt
Installing collected packages: pytz, ezt, unidecode, soupsieve, pygments, markupsafe, markdown, feedgenerator, docutils, jinja2, beautifulsoup4, pelican, bs4
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
rich 13.7.1 requires pygments<3.0.0,>=2.13.0, but you have pygments 2.6.1 which is incompatible.
Successfully installed beautifulsoup4-4.14.3 bs4-0.0.2 docutils-0.16 ezt-1.1 feedgenerator-1.9.2 jinja2-2.11.3 markdown-3.10 markupsafe-2.0.1 pelican-4.5.4 pygments-2.6.1 pytz-2020.5 soupsieve-2.8 unidecode-1.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions