Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
nandac authored Jul 2, 2024
2 parents fc7d38c + 54faeea commit 5c4180d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -40,10 +40,10 @@ jobs:
run: |
poetry run pip install --upgrade pip
poetry install
- name: Install supported pandoc 3.14
- name: Install supported pandoc 3.2
run: |
wget https://github.com/jgm/pandoc/releases/download/3.1.4/pandoc-3.1.4-1-amd64.deb
sudo dpkg -i pandoc-3.1.4-1-amd64.deb
wget https://github.com/jgm/pandoc/releases/download/3.2.1/pandoc-3.2.1-1-amd64.deb
sudo dpkg -i pandoc-3.2.1-1-amd64.deb
- name: Install unsupported pandoc 2.10
run: |
wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-linux-amd64.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Requirements

This plugin requires:

* Python 3.8 or higher; and
* Python 3.9 or higher; and
* Pandoc 2.11 or higher [[Pandoc installation instructions](https://pandoc.org/installing.html)].

By default, the plugin looks for a `pandoc` executable on your `PATH`. If you wish, [you may specify an alternative location for your `pandoc` executable](#customizing-the-path-for-the-pandoc-executable).
Expand Down
10 changes: 7 additions & 3 deletions pelican/plugins/pandoc_reader/test/html/expected_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@
"which is a relative newcomer to theoretical physics, but one that has "
"captured the common imagination, judging by the popular explanations "
"that abound on the Web "
'<span class="citation" data-cites="mann2019 wood2019 jones2020">[1]–[3]'
'<span class="citation" data-cites="mann2019 wood2019 jones2020">'
"[1], [2], [3]"
"</span>. And whether string theory is or is not science, Popper "
"notwithstanding, is an issue that is still up for debate "
'<span class="citation" '
'data-cites="siegel2015 castelvecchi2016 alves2017 francis2019">'
"[4][7]</span>.</p>"
"[4], [5], [6], [7]</span>.</p>"
),
'<h1 class="unnumbered" id="bibliography">References</h1>',
'<div class="references csl-bib-body" id="refs" role="list">',
(
'<div class="references csl-bib-body" data-entry-spacing="0" '
'id="refs" role="list">'
),
'<div class="csl-entry" id="ref-mann2019" role="listitem">',
(
'<div class="csl-left-margin">[1] </div><div class="csl-right-inline">'
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ classifiers = [
"Issue Tracker" = "https://github.com/pelican-plugins/pandoc-reader/issues"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
python = ">=3.9.0,<4.0"
pelican = ">=4.5"
markdown = {version = "<=3.3.4", optional = true}
pyyaml = "^6.0.0"
beautifulsoup4 = "^4.9.3"
"ruamel.yaml" = "^0.17.32"
docutils = "^0.21.2"

[tool.poetry.dev-dependencies]
black = "^23"
Expand Down

0 comments on commit 5c4180d

Please sign in to comment.