Skip to content

Commit 204455c

Browse files
authored
Merge pull request #636 from apache/update-pelican-action
Updates to pelican action
2 parents fe85c98 + 5f5174e commit 204455c

4 files changed

Lines changed: 17 additions & 186 deletions

File tree

pelican/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
-->
1919
# ASF Infrastructure Pelican Action
2020

21+
**Note** Starting a branch and draft PR for systemic upgrades to the Pelican Action.
22+
2123
**Note** This Action simplifies managing a project website. More information is available at <a href="https://infra.apache.org/asf-pelican.html" target="_blank">infra.apache.org/asf-pelican.html</a>.
2224

2325
## Inputs

pelican/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ inputs:
4444
required: false
4545
default: 'false'
4646
version:
47-
description: "Pelican Version (default 4.5.4)"
47+
description: "Pelican Version (default 4.11.0.post0)"
4848
required: false
49-
default: '4.5.4'
49+
default: '4.11.0.post0'
5050
requirements:
5151
description: "Python requirements file name to install (default: None)"
5252
required: false
@@ -63,7 +63,8 @@ runs:
6363
run: |
6464
(
6565
test "${{ inputs.debug }}" == 'true' || exec >/dev/null
66-
PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install pelican==${{ inputs.version }} markdown bs4 ezt requests markupsafe==2.0.1
66+
PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install pelican==${{ inputs.version }}
67+
PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install -r ${{ github.action_path }}/requirements.txt
6768
)
6869
python3 -V
6970
echo "Pelican version:"

pelican/plugins/toc2.py

Lines changed: 0 additions & 171 deletions
This file was deleted.

pelican/requirements.txt

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818
#
19-
pelican==4.11.0.post0
20-
markdown==3.10.2
21-
pelican-sitemap==1.2.2
22-
soupsieve==2.8.3
23-
beautifulsoup4==4.14.3
24-
ezt==1.1
25-
PyYAML==6.0.3
26-
certifi==2026.2.25
27-
idna==3.11
28-
charset-normalizer==3.4.7
29-
urllib3==2.6.3
30-
requests==2.33.1
19+
pelican>=4.11,<4.12
20+
markdown>=3.10.2,<4.0
21+
pelican-sitemap>=1.2.2,<2.0
22+
bs4
23+
beautifulsoup4>=4.14.3,<5.0
24+
ezt>=1.1,<2.0
25+
PyYAML>=6.0.3,<7.0
26+
requests>=2.33,<3.0
27+
markupsafe>=2.0.1
28+
rich>=14.3.3
29+
Pygments>=2.17.0

0 commit comments

Comments
 (0)