8000 Updated files with 'repo_helper'. (#125) · domdfcoding/domdf_python_tools@3ab978f · GitHub
[go: up one dir, main page]

Skip to content

Commit 3ab978f

Browse files
Updated files with 'repo_helper'. (#125)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 4a5e092 commit 3ab978f

File tree

5 files changed

+28
-7
lines changed

5 files changed

+28
-7
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
2626

2727
strategy:
2828
fail-fast: False
@@ -35,7 +35,7 @@ jobs:
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3737
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38-
- {python-version: "3.13.0-beta.2", testenvs: "py313-dev,build", experimental: True}
38+
- {python-version: "3.13.0-beta.3", testenvs: "py313-dev,build", experimental: True}
3939
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
4040
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4141
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
2727

2828
strategy:
2929
fail-fast: False
@@ -36,7 +36,7 @@ jobs:
3636
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3737
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3838
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
39-
- {python-version: "3.13.0-beta.2", testenvs: "py313-dev,build", experimental: True}
39+
- {python-version: "3.13.0-beta.3", testenvs: "py313-dev,build", experimental: True}
4040
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
4141
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4242
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-13"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.2,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.3,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
2626

2727
strategy:
2828
fail-fast: False
@@ -35,7 +35,7 @@ jobs:
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3737
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38-
- {python-version: "3.13.0-beta.2", testenvs: "py313-dev,build", experimental: True}
38+
- {python-version: "3.13.0-beta.3", testenvs: "py313-dev,build", experimental: True}
3939
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4040
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4141
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}

doc-source/conf.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,28 @@
7575
}
7676

7777

78+
# Fix for pathlib issue with sphinxemoji on Python 3.9 and Sphinx 4.x
79+
def copy_asset_files(app, exc):
80+
# 3rd party
81+
from domdf_python_tools.compat import importlib_resources
82+
from sphinx.util.fileutil import copy_asset
83+
84+
if exc:
85+
return
86+
87+
asset_files = ["twemoji.js", "twemoji.css"]
88+
for path in asset_files:
89+
path_str = os.fspath(importlib_resources.files("sphinxemoji") / path)
90+
copy_asset(path_str, os.path.join(app.outdir, "_static"))
91+
92+
7893
def setup(app):
7994
# 3rd party
8095
from sphinx_toolbox.latex import better_header_layout
8196
from sphinxemoji import sphinxemoji
8297

8398
app.connect("config-inited", lambda app, config: < 6D40 span class=pl-en>better_header_layout(config))
84-
app.connect("build-finished", sphinxemoji.copy_asset_files)
99+
app.connect("build-finished", copy_asset_files)
85100
app.add_js_file("https://unpkg.com/twemoji@latest/dist/twemoji.min.js")
86101
app.add_js_file("twemoji.js")
87102
app.add_css_file("twemoji.css")

doc-source/requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ sphinx-prompt>=1.1.0
1818
sphinx-pyproject>=0.1.0
1919
sphinx-tabs>=1.1.13
2020
sphinx-toolbox>=3.5.0
21+
sphinxcontrib-applehelp==1.0.4
22+
sphinxcontrib-devhelp==1.0.2
23+
sphinxcontrib-htmlhelp==2.0.1
2124
sphinxcontrib-httpdomain>=1.7.0
25+
sphinxcontrib-jsmath==1.0.1
26+
sphinxcontrib-qthelp==1.0.3
27+
sphinxcontrib-serializinghtml==1.1.5
2228
sphinxemoji>=0.1.6
2329
toctree-plus>=0.6.1

0 commit comments

Comments
 (0)
0