From e0f3e04ff69c9de2716d0bb83a70211dca95cec4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 14:45:51 +0000 Subject: [PATCH 01/51] Bump mkdocstrings[python] from 0.23.0 to 0.24.0 Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) from 0.23.0 to 0.24.0. - [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases) - [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md) - [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.0) --- updated-dependencies: - dependency-name: mkdocstrings[python] dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index a2c255c..6c306e8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ build==1.0.3 mkdocs==1.5.3 mkdocs-material==9.4.8 -mkdocstrings[python]==0.23.0 +mkdocstrings[python]==0.24.0 twine==4.0.2 wheel==0.41.3 pytest==7.4.3 From 22efa5d2076694edbbf0e963473286c9fa78bf93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:14:35 +0000 Subject: [PATCH 02/51] Bump ruff from 0.1.5 to 0.1.7 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.5 to 0.1.7. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.5...v0.1.7) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index a2c255c..6e1096e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,6 +6,6 @@ twine==4.0.2 wheel==0.41.3 pytest==7.4.3 pytest-cov==4.1.0 -ruff==0.1.5 +ruff==0.1.7 mypy==1.6.1 types-markdown==3.5.0.1 From 6d1fa4518e3ec593d37cfe7f2a326245352b411b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:33:18 +0000 Subject: [PATCH 03/51] Bump actions/setup-python from 4 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/python-package.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index a938dac..bdf17bd 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -43,7 +43,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" @@ -72,7 +72,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" From 2b87eaabe0eec2ea43e9dac2f2c910a9d0d9e5be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 14:49:15 +0000 Subject: [PATCH 04/51] Bump wheel from 0.41.3 to 0.42.0 Bumps [wheel](https://github.com/pypa/wheel) from 0.41.3 to 0.42.0. - [Release notes](https://github.com/pypa/wheel/releases) - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst) - [Commits](https://github.com/pypa/wheel/compare/0.41.3...0.42.0) --- updated-dependencies: - dependency-name: wheel dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 6e1096e..537d823 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,7 +3,7 @@ mkdocs==1.5.3 mkdocs-material==9.4.8 mkdocstrings[python]==0.23.0 twine==4.0.2 -wheel==0.41.3 +wheel==0.42.0 pytest==7.4.3 pytest-cov==4.1.0 ruff==0.1.7 From 364cc1dfb067abd9c29f66f90e83213f3aab5e62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 14:01:55 +0000 Subject: [PATCH 05/51] Bump mypy from 1.6.1 to 1.8.0 Bumps [mypy](https://github.com/python/mypy) from 1.6.1 to 1.8.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.6.1...v1.8.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 6e1096e..3f81794 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,5 +7,5 @@ wheel==0.41.3 pytest==7.4.3 pytest-cov==4.1.0 ruff==0.1.7 -mypy==1.6.1 +mypy==1.8.0 types-markdown==3.5.0.1 From 4cc4992be9e87839b81afe58ebebd18930a166ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:53:41 +0000 Subject: [PATCH 06/51] Bump jinja2 from 3.1.2 to 3.1.3 Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 62bba80..f76576f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ markdown==3.5.1 feedgenerator==2.1.0 -jinja2==3.1.2 +jinja2==3.1.3 pygments==2.16.1 From 1a019cd2d0b3d33635bf522af6262368ef435f64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Jan 2024 19:28:24 +0000 Subject: [PATCH 07/51] Bump types-markdown from 3.5.0.1 to 3.5.0.20240106 Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.1 to 3.5.0.20240106. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-markdown dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 0ea6432..b3a37d6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,4 +8,4 @@ pytest==7.4.3 pytest-cov==4.1.0 ruff==0.1.7 mypy==1.8.0 -types-markdown==3.5.0.1 +types-markdown==3.5.0.20240106 From 944bd3a7a03d4c2d944417cb6f2bedc6522ec016 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Jan 2024 19:29:17 +0000 Subject: [PATCH 08/51] Bump mkdocs-material from 9.4.8 to 9.5.5 Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.8 to 9.5.5. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.8...9.5.5) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 0ea6432..6714f5f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ build==1.0.3 mkdocs==1.5.3 -mkdocs-material==9.4.8 +mkdocs-material==9.5.5 mkdocstrings[python]==0.24.0 twine==4.0.2 wheel==0.42.0 From df0fa21f3f5735fec1a3848d8a5f9aa890de3774 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:25:13 +0000 Subject: [PATCH 09/51] Bump ruff from 0.1.7 to 0.1.14 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.7 to 0.1.14. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.7...v0.1.14) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index bdaf39d..9238524 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,6 +6,6 @@ twine==4.0.2 wheel==0.42.0 pytest==7.4.3 pytest-cov==4.1.0 -ruff==0.1.7 +ruff==0.1.14 mypy==1.8.0 types-markdown==3.5.0.20240106 From c2260d7901626b0926c848f80e13e3ab0d6c81d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:25:16 +0000 Subject: [PATCH 10/51] Bump pygments from 2.16.1 to 2.17.2 Bumps [pygments](https://github.com/pygments/pygments) from 2.16.1 to 2.17.2. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.16.1...2.17.2) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f76576f..8e8739e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ markdown==3.5.1 feedgenerator==2.1.0 jinja2==3.1.3 -pygments==2.16.1 +pygments==2.17.2 From 39d260c8ceb760bee5e0c5e4a5c1b0280b56c95c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:25:20 +0000 Subject: [PATCH 11/51] Bump markdown from 3.5.1 to 3.5.2 Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.5.1 to 3.5.2. - [Release notes](https://github.com/Python-Markdown/markdown/releases) - [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md) - [Commits](https://github.com/Python-Markdown/markdown/compare/3.5.1...3.5.2) --- updated-dependencies: - dependency-name: markdown dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f76576f..de00c1c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -markdown==3.5.1 +markdown==3.5.2 feedgenerator==2.1.0 jinja2==3.1.3 pygments==2.16.1 From bf7eb0bb75604e1523941d9de9c59e6403870c17 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:25:22 +0000 Subject: [PATCH 12/51] Bump types-markdown from 3.5.0.20240106 to 3.5.0.20240129 Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.20240106 to 3.5.0.20240129. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-markdown dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index bdaf39d..2d5040d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,4 +8,4 @@ pytest==7.4.3 pytest-cov==4.1.0 ruff==0.1.7 mypy==1.8.0 -types-markdown==3.5.0.20240106 +types-markdown==3.5.0.20240129 From 908917c271f68d5d095ddac244f152bdd6ad99cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:25:28 +0000 Subject: [PATCH 13/51] Bump mkdocs-material from 9.5.5 to 9.5.6 Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.5 to 9.5.6. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.5...9.5.6) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index bdaf39d..302c841 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ build==1.0.3 mkdocs==1.5.3 -mkdocs-material==9.5.5 +mkdocs-material==9.5.6 mkdocstrings[python]==0.24.0 twine==4.0.2 wheel==0.42.0 From 3334518e922fb2489f3efaf07983d5c0dea80e05 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Tue, 30 Jan 2024 15:30:23 +0100 Subject: [PATCH 14/51] updated pygment --- blag/static/code-dark.css | 31 ++++++++++++++++--------------- blag/static/code-light.css | 1 + 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/blag/static/code-dark.css b/blag/static/code-dark.css index a2af57e..dc75c9e 100644 --- a/blag/static/code-dark.css +++ b/blag/static/code-dark.css @@ -4,35 +4,36 @@ span.linenos { color: inherit; background-color: transparent; padding-left: 5px; td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .hll { background-color: #49483e } -.c { color: #75715e } /* Comment */ -.err { color: #960050; background-color: #1e0010 } /* Error */ +.c { color: #959077 } /* Comment */ +.err { color: #ed007e; background-color: #1e0010 } /* Error */ .esc { color: #f8f8f2 } /* Escape */ .g { color: #f8f8f2 } /* Generic */ .k { color: #66d9ef } /* Keyword */ .l { color: #ae81ff } /* Literal */ .n { color: #f8f8f2 } /* Name */ -.o { color: #f92672 } /* Operator */ +.o { color: #ff4689 } /* Operator */ .x { color: #f8f8f2 } /* Other */ .p { color: #f8f8f2 } /* Punctuation */ -.ch { color: #75715e } /* Comment.Hashbang */ -.cm { color: #75715e } /* Comment.Multiline */ -.cp { color: #75715e } /* Comment.Preproc */ -.cpf { color: #75715e } /* Comment.PreprocFile */ -.c1 { color: #75715e } /* Comment.Single */ -.cs { color: #75715e } /* Comment.Special */ -.gd { color: #f92672 } /* Generic.Deleted */ +.ch { color: #959077 } /* Comment.Hashbang */ +.cm { color: #959077 } /* Comment.Multiline */ +.cp { color: #959077 } /* Comment.Preproc */ +.cpf { color: #959077 } /* Comment.PreprocFile */ +.c1 { color: #959077 } /* Comment.Single */ +.cs { color: #959077 } /* Comment.Special */ +.gd { color: #ff4689 } /* Generic.Deleted */ .ge { color: #f8f8f2; font-style: italic } /* Generic.Emph */ +.ges { color: #f8f8f2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .gr { color: #f8f8f2 } /* Generic.Error */ .gh { color: #f8f8f2 } /* Generic.Heading */ .gi { color: #a6e22e } /* Generic.Inserted */ .go { color: #66d9ef } /* Generic.Output */ -.gp { color: #f92672; font-weight: bold } /* Generic.Prompt */ +.gp { color: #ff4689; font-weight: bold } /* Generic.Prompt */ .gs { color: #f8f8f2; font-weight: bold } /* Generic.Strong */ -.gu { color: #75715e } /* Generic.Subheading */ +.gu { color: #959077 } /* Generic.Subheading */ .gt { color: #f8f8f2 } /* Generic.Traceback */ .kc { color: #66d9ef } /* Keyword.Constant */ .kd { color: #66d9ef } /* Keyword.Declaration */ -.kn { color: #f92672 } /* Keyword.Namespace */ +.kn { color: #ff4689 } /* Keyword.Namespace */ .kp { color: #66d9ef } /* Keyword.Pseudo */ .kr { color: #66d9ef } /* Keyword.Reserved */ .kt { color: #66d9ef } /* Keyword.Type */ @@ -51,9 +52,9 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .nn { color: #f8f8f2 } /* Name.Namespace */ .nx { color: #a6e22e } /* Name.Other */ .py { color: #f8f8f2 } /* Name.Property */ -.nt { color: #f92672 } /* Name.Tag */ +.nt { color: #ff4689 } /* Name.Tag */ .nv { color: #f8f8f2 } /* Name.Variable */ -.ow { color: #f92672 } /* Operator.Word */ +.ow { color: #ff4689 } /* Operator.Word */ .pm { color: #f8f8f2 } /* Punctuation.Marker */ .w { color: #f8f8f2 } /* Text.Whitespace */ .mb { color: #ae81ff } /* Literal.Number.Bin */ diff --git a/blag/static/code-light.css b/blag/static/code-light.css index e2cc7b8..2b68908 100644 --- a/blag/static/code-light.css +++ b/blag/static/code-light.css @@ -16,6 +16,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */ .gd { color: #A00000 } /* Generic.Deleted */ .ge { font-style: italic } /* Generic.Emph */ +.ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .gr { color: #E40000 } /* Generic.Error */ .gh { color: #000080; font-weight: bold } /* Generic.Heading */ .gi { color: #008400 } /* Generic.Inserted */ From 8bf7b74dcc8f4db9479ee58e7e7bdaf23d081aea Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Fri, 2 Feb 2024 10:16:22 +0100 Subject: [PATCH 15/51] updated ruff --- pyproject.toml | 10 +++++----- requirements-dev.txt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 59f0d1a..5c24414 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,10 @@ addopts = """ """ [tool.ruff] +line-length = 79 +target-version = "py38" + +[tool.ruff.lint] select = [ "F", # pyflakes "E", "W", # pycodestyle @@ -72,11 +76,7 @@ select = [ "D", # pydocstyle "UP" # pyupgrade ] -line-length = 79 -target-version = "py38" - -[tool.ruff.pydocstyle] -convention = "numpy" +pydocstyle.convention = "numpy" [tool.mypy] files = "blag,tests" diff --git a/requirements-dev.txt b/requirements-dev.txt index bc42ba5..5802990 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,6 +6,6 @@ twine==4.0.2 wheel==0.42.0 pytest==7.4.3 pytest-cov==4.1.0 -ruff==0.1.14 +ruff==0.2.00 mypy==1.8.0 types-markdown==3.5.0.20240129 From 20e750bd99332548fd5ec0ffa73f39a19caf7c20 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:10:35 +0000 Subject: [PATCH 16/51] Bump mkdocs-material from 9.5.6 to 9.5.7 Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.6 to 9.5.7. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.6...9.5.7) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5802990..038bc6c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ build==1.0.3 mkdocs==1.5.3 -mkdocs-material==9.5.6 +mkdocs-material==9.5.7 mkdocstrings[python]==0.24.0 twine==4.0.2 wheel==0.42.0 From 074305d0f5a04918d3b211fb0251dcf56990925e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:10:43 +0000 Subject: [PATCH 17/51] Bump pytest from 7.4.3 to 8.0.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 8.0.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...8.0.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5802990..0ffc9e8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,7 @@ mkdocs-material==9.5.6 mkdocstrings[python]==0.24.0 twine==4.0.2 wheel==0.42.0 -pytest==7.4.3 +pytest==8.0.0 pytest-cov==4.1.0 ruff==0.2.00 mypy==1.8.0 From 896cbc445e3de774792956e06892e9744e7f7522 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 14:14:18 +0000 Subject: [PATCH 18/51] Bump twine from 4.0.2 to 5.0.0 Bumps [twine](https://github.com/pypa/twine) from 4.0.2 to 5.0.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/4.0.2...5.0.0) --- updated-dependencies: - dependency-name: twine dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5c6d673..2ff116d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,7 @@ build==1.0.3 mkdocs==1.5.3 mkdocs-material==9.5.7 mkdocstrings[python]==0.24.0 -twine==4.0.2 +twine==5.0.0 wheel==0.42.0 pytest==8.0.0 pytest-cov==4.1.0 From 5513bad80950141b7e413c8f33d61d7b5f306321 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:19:52 +0000 Subject: [PATCH 19/51] Bump pytest from 8.0.0 to 8.1.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.0 to 8.1.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.0.0...8.1.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5c6d673..9197a72 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,7 @@ mkdocs-material==9.5.7 mkdocstrings[python]==0.24.0 twine==4.0.2 wheel==0.42.0 -pytest==8.0.0 +pytest==8.1.1 pytest-cov==4.1.0 ruff==0.2.00 mypy==1.8.0 From b811ed7dc7d9d21d976bc5f20ddcbb0f50da92f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 14:42:06 +0000 Subject: [PATCH 20/51] Bump mkdocstrings[python] from 0.24.0 to 0.24.3 Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) from 0.24.0 to 0.24.3. - [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases) - [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md) - [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.3) --- updated-dependencies: - dependency-name: mkdocstrings[python] dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5c6d673..3634c6b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ build==1.0.3 mkdocs==1.5.3 mkdocs-material==9.5.7 -mkdocstrings[python]==0.24.0 +mkdocstrings[python]==0.24.3 twine==4.0.2 wheel==0.42.0 pytest==8.0.0 From 9bac7c6030ae4c9c010e8f2c8275d581d0fdd3cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 14:09:16 +0000 Subject: [PATCH 21/51] Bump ruff from 0.2.00 to 0.4.1 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.00 to 0.4.1. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.2.0...v0.4.1) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5c6d673..402d484 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,6 +6,6 @@ twine==4.0.2 wheel==0.42.0 pytest==8.0.0 pytest-cov==4.1.0 -ruff==0.2.00 +ruff==0.4.1 mypy==1.8.0 types-markdown==3.5.0.20240129 From de47d8648eb01a802d2b61ffe759e543deb37c06 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 14:09:26 +0000 Subject: [PATCH 22/51] Bump mkdocs-material from 9.5.7 to 9.5.18 Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.7 to 9.5.18. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.7...9.5.18) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5c6d673..e1b669e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ build==1.0.3 mkdocs==1.5.3 -mkdocs-material==9.5.7 +mkdocs-material==9.5.18 mkdocstrings[python]==0.24.0 twine==4.0.2 wheel==0.42.0 From 0236dbf782ab2e805c0f6262d2eec31faa3a989a Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Wed, 24 Apr 2024 21:47:59 +0200 Subject: [PATCH 23/51] fixed devserver so it does crash on build failure anymore. also made tests a bit faster by adding a wait parameter to the autoreload method. --- CHANGELOG.md | 5 +++++ blag/devserver.py | 23 +++++++++++++++------- tests/test_devserver.py | 43 ++++++++++++++++++++++++++++++----------- 3 files changed, 53 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a94ac..824806a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [unreleased] + +* Fixed devsever so it does not crash when the (re-)build fails anymore +* updated dependencies + ## [2.2.1] -- 2023-11-11 * fixed `suggests` to blag-doc diff --git a/blag/devserver.py b/blag/devserver.py index 4f3ec50..87df66e 100644 --- a/blag/devserver.py +++ b/blag/devserver.py @@ -52,7 +52,7 @@ def get_last_modified(dirs: list[str]) -> float: return last_mtime -def autoreload(args: argparse.Namespace) -> NoReturn: +def autoreload(args: argparse.Namespace, wait: int=1) -> NoReturn: """Start the autoreloader. This method monitors the given directories for changes (i.e. the @@ -66,6 +66,9 @@ def autoreload(args: argparse.Namespace) -> NoReturn: ---------- args contains the input-, template- and static dir + wait + number of seconds the devsever waits before checking for updated + content """ dirs = [args.input_dir, args.template_dir, args.static_dir] @@ -74,12 +77,18 @@ def autoreload(args: argparse.Namespace) -> NoReturn: # loop to avoid serving stale contents last_mtime = 0.0 while True: - mtime = get_last_modified(dirs) - if mtime > last_mtime: - last_mtime = mtime - logger.info("Change detected, rebuilding...") - blag.build(args) - time.sleep(1) + # make sure the devsever does not crash when the build fails with an + # exception + try: + mtime = get_last_modified(dirs) + if mtime > last_mtime: + last_mtime = mtime + logger.info("Change detected, rebuilding...") + blag.build(args) + time.sleep(wait) + except Exception: + logger.exception("Error occurred during rebuild:") + logger.info("Devserver did not crash, you may continue editing.") def serve(args: argparse.Namespace) -> None: diff --git a/tests/test_devserver.py b/tests/test_devserver.py index 3652f19..aab422b 100644 --- a/tests/test_devserver.py +++ b/tests/test_devserver.py @@ -8,10 +8,10 @@ import threading import time from argparse import Namespace -import pytest - from blag import devserver +WAITTIME = 0.1 + def test_get_last_modified(cleandir: str) -> None: """Test get_last_modified.""" @@ -19,13 +19,13 @@ def test_get_last_modified(cleandir: str) -> None: t1 = devserver.get_last_modified(["content"]) # wait a bit, create a file and measure again - time.sleep(0.1) + time.sleep(WAITTIME) with open("content/test", "w") as fh: fh.write("boo") t2 = devserver.get_last_modified(["content"]) # wait a bit and take time again - time.sleep(0.1) + time.sleep(WAITTIME) t3 = devserver.get_last_modified(["content"]) assert t2 > t1 @@ -40,14 +40,14 @@ def test_autoreload_builds_immediately(args: Namespace) -> None: t = threading.Thread( target=devserver.autoreload, - args=(args,), + args=(args, WAITTIME), daemon=True, ) t0 = devserver.get_last_modified(["build"]) t.start() # try for 5 seconds... for i in range(5): - time.sleep(1) + time.sleep(WAITTIME) t1 = devserver.get_last_modified(["build"]) print(t1) if t1 > t0: @@ -55,14 +55,11 @@ def test_autoreload_builds_immediately(args: Namespace) -> None: assert t1 > t0 -@pytest.mark.filterwarnings( - "ignore::pytest.PytestUnhandledThreadExceptionWarning" -) def test_autoreload(args: Namespace) -> None: """Test autoreload.""" t = threading.Thread( target=devserver.autoreload, - args=(args,), + args=(args, WAITTIME), daemon=True, ) t.start() @@ -75,8 +72,32 @@ def test_autoreload(args: Namespace) -> None: # try for 5 seconds to see if we rebuild once... for i in range(5): - time.sleep(1) + time.sleep(WAITTIME) t1 = devserver.get_last_modified(["build"]) if t1 > t0: break assert t1 > t0 + + +def test_autoreload_does_not_crash(args: Namespace) -> None: + """Test autoreload does not crash if build fails.""" + t = threading.Thread( + target=devserver.autoreload, + args=(args, WAITTIME), + daemon=True, + ) + t.start() + + t0 = devserver.get_last_modified(["build"]) + + # create a file that causes build to crash + with open("content/test.md", "w") as fh: + fh.write("date: ") + + # try for 5 seconds to see if we rebuild once... + for i in range(5): + time.sleep(WAITTIME) + t1 = devserver.get_last_modified(["build"]) + if t1 > t0: + break + assert t.is_alive() From de8542b90bd52da6c5bd8b445f1064cdeb6c4e4e Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Wed, 24 Apr 2024 22:10:48 +0200 Subject: [PATCH 24/51] dropped support for python 3.8 and 3.9 --- .github/workflows/python-package.yaml | 7 +------ CHANGELOG.md | 5 +++++ blag/blag.py | 3 --- blag/devserver.py | 3 --- blag/markdown.py | 3 --- blag/quickstart.py | 3 --- pyproject.toml | 4 ++-- tests/conftest.py | 6 +----- tests/test_blag.py | 4 ---- tests/test_devserver.py | 4 ---- tests/test_markdown.py | 4 ---- tests/test_quickstart.py | 4 ---- tests/test_templates.py | 4 ---- tests/test_version.py | 4 ---- 14 files changed, 9 insertions(+), 49 deletions(-) diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index bdf17bd..aa0eb5c 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -17,15 +17,10 @@ jobs: - macos-latest - windows-latest python-version: - - "3.8" - - "3.9" - "3.10" - "3.11" - "3.12" - exclude: - # 3.8 on windows fails due to some pip issue - - os: windows-latest - python-version: "3.8" + - "3.13" steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a94ac..c8c9584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## unreleased + +* dropped support for Python 3.8 and 3.9 +* added Python 3.13 to CI test suite + ## [2.2.1] -- 2023-11-11 * fixed `suggests` to blag-doc diff --git a/blag/blag.py b/blag/blag.py index c770489..ed6db15 100644 --- a/blag/blag.py +++ b/blag/blag.py @@ -2,9 +2,6 @@ """blag's core methods.""" -# remove when we don't support py38 anymore -from __future__ import annotations - import argparse import configparser import logging diff --git a/blag/devserver.py b/blag/devserver.py index 4f3ec50..a67b365 100644 --- a/blag/devserver.py +++ b/blag/devserver.py @@ -6,9 +6,6 @@ site if necessary. """ -# remove when we don't support py38 anymore -from __future__ import annotations - import argparse import logging import multiprocessing diff --git a/blag/markdown.py b/blag/markdown.py index bc7aa6b..ee4c573 100644 --- a/blag/markdown.py +++ b/blag/markdown.py @@ -5,9 +5,6 @@ processing. """ -# remove when we don't support py38 anymore -from __future__ import annotations - import logging from datetime import datetime from urllib.parse import urlsplit, urlunsplit diff --git a/blag/quickstart.py b/blag/quickstart.py index fdd34d8..fc58c37 100644 --- a/blag/quickstart.py +++ b/blag/quickstart.py @@ -1,8 +1,5 @@ """Helper methods for blag's quickstart command.""" -# remove when we don't support py38 anymore -from __future__ import annotations - import argparse import configparser import os diff --git a/pyproject.toml b/pyproject.toml index 5c24414..532d2af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ description = "blog-aware, static site generator" keywords = ["markdown", "blag", "blog", "static site generator", "cli"] readme = "README.md" license = { file="LICENSE" } -requires-python = ">=3.8" +requires-python = ">=3.10" dynamic = ["version"] dependencies = [ "markdown", @@ -65,7 +65,7 @@ addopts = """ [tool.ruff] line-length = 79 -target-version = "py38" +target-version = "py310" [tool.ruff.lint] select = [ diff --git a/tests/conftest.py b/tests/conftest.py index 9ee4239..969a06b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,13 +1,9 @@ """Pytest fixtures.""" - -# remove when we don't support py38 anymore -from __future__ import annotations - import os from argparse import Namespace +from collections.abc import Callable, Iterator from tempfile import TemporaryDirectory -from typing import Callable, Iterator import pytest from jinja2 import Environment, Template diff --git a/tests/test_blag.py b/tests/test_blag.py index 155e483..c7d1ca8 100644 --- a/tests/test_blag.py +++ b/tests/test_blag.py @@ -1,9 +1,5 @@ """Test blag.""" - -# remove when we don't support py38 anymore -from __future__ import annotations - import os from argparse import Namespace from datetime import datetime diff --git a/tests/test_devserver.py b/tests/test_devserver.py index 3652f19..a10c4d9 100644 --- a/tests/test_devserver.py +++ b/tests/test_devserver.py @@ -1,9 +1,5 @@ """Tests for the devserver module.""" - -# remove when we don't support py38 anymore -from __future__ import annotations - import threading import time from argparse import Namespace diff --git a/tests/test_markdown.py b/tests/test_markdown.py index 56cb742..5e393d2 100644 --- a/tests/test_markdown.py +++ b/tests/test_markdown.py @@ -1,9 +1,5 @@ """Test markdown module.""" - -# remove when we don't support py38 anymore -from __future__ import annotations - from datetime import datetime from typing import Any diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py index 4467fc9..70a29e7 100644 --- a/tests/test_quickstart.py +++ b/tests/test_quickstart.py @@ -1,9 +1,5 @@ """Tests for the quickstart module.""" - -# remove when we don't support py38 anymore -from __future__ import annotations - import os from pytest import MonkeyPatch diff --git a/tests/test_templates.py b/tests/test_templates.py index 4d96f66..171be34 100644 --- a/tests/test_templates.py +++ b/tests/test_templates.py @@ -1,9 +1,5 @@ """Test the templates.""" - -# remove when we don't support py38 anymore -from __future__ import annotations - import datetime from jinja2 import Template diff --git a/tests/test_version.py b/tests/test_version.py index fbe1d02..e309b9f 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -1,9 +1,5 @@ """Test the version module.""" - -# remove when we don't support py38 anymore -from __future__ import annotations - import blag From 902e9b94c4d24a548e564f709f26da7906eadb76 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Wed, 24 Apr 2024 22:14:39 +0200 Subject: [PATCH 25/51] removed py3.13 from github ci, it is not supported yet --- .github/workflows/python-package.yaml | 1 - README.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index aa0eb5c..a605a6d 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -20,7 +20,6 @@ jobs: - "3.10" - "3.11" - "3.12" - - "3.13" steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 1038bb8..3b723f8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd]. * Integrated devserver * Available on [PyPI][] -blag runs on Linux, Mac and Windows and requires Python >= 3.8 +blag runs on Linux, Mac and Windows and requires Python >= 3.10 [markdown]: https://daringfireball.net/projects/markdown/ [jinja2]: https://palletsprojects.com/p/jinja/ From 8e88546249e4d9838f228987854e692dcabe417e Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Wed, 24 Apr 2024 22:27:08 +0200 Subject: [PATCH 26/51] bumped version --- CHANGELOG.md | 4 ++-- blag/version.py | 2 +- debian/changelog | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2f5b42..fa41865 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## [unreleased] +## [2.3.0] -- 2024-04-24 -* Fixed devsever so it does not crash anymore when the (re-)build fails +* fixed devsever so it does not crash anymore when the (re-)build fails * dropped support for Python 3.8 and 3.9 * updated dependencies diff --git a/blag/version.py b/blag/version.py index 30d8088..6ec90dd 100644 --- a/blag/version.py +++ b/blag/version.py @@ -1,3 +1,3 @@ """Version information for the blag package.""" -__VERSION__ = "2.2.1" +__VERSION__ = "2.3.0" diff --git a/debian/changelog b/debian/changelog index 3ec7e20..c233950 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +blag (2.3.0) unstable; urgency=medium + + * fixed devsever so it does not crash anymore when the (re-)build fails + * dropped support for Python 3.8 and 3.9 + * updated dependencies + + -- Bastian Venthur Wed, 24 Apr 2024 22:25:31 +0200 + blag (2.2.1) unstable; urgency=medium * fixed suggests field to blag-doc (Closes: #1055769) From fd23c1f5e66795f86ee87f17a369220d10190576 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Wed, 24 Apr 2024 22:38:47 +0200 Subject: [PATCH 27/51] fixed min python requirement in docs --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index cc0564e..d270fdd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -16,7 +16,7 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd]. ## Features * Write content in [Markdown][] -* Good looking default theme +* Good looking default theme: ![Blag Screenshot](blag.png) * Theming support using [Jinja2][] templates * Generation of Atom feeds for blog content @@ -24,7 +24,7 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd]. * Integrated devserver * Available on [PyPI][] -blag runs on Linux, Mac and Windows and requires Python >= 3.8 +blag runs on Linux, Mac and Windows and requires Python >= 3.10 [markdown]: https://daringfireball.net/projects/markdown/ [jinja2]: https://palletsprojects.com/p/jinja/ From 77d193d45eafa03125198dc83d25a506132718c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:13:31 +0000 Subject: [PATCH 28/51] Bump types-markdown from 3.5.0.20240129 to 3.6.0.20240316 Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.20240129 to 3.6.0.20240316. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-markdown dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 849583d..e61f22a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,4 +8,4 @@ pytest==8.1.1 pytest-cov==4.1.0 ruff==0.4.1 mypy==1.8.0 -types-markdown==3.5.0.20240129 +types-markdown==3.6.0.20240316 From e9eb0971cf5a25e1416a59a4b26bf53ef8a8bd2c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:13:34 +0000 Subject: [PATCH 29/51] Bump wheel from 0.42.0 to 0.43.0 Bumps [wheel](https://github.com/pypa/wheel) from 0.42.0 to 0.43.0. - [Release notes](https://github.com/pypa/wheel/releases) - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst) - [Commits](https://github.com/pypa/wheel/compare/0.42.0...0.43.0) --- updated-dependencies: - dependency-name: wheel dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 849583d..c23a90d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,7 +3,7 @@ mkdocs==1.5.3 mkdocs-material==9.5.18 mkdocstrings[python]==0.24.3 twine==5.0.0 -wheel==0.42.0 +wheel==0.43.0 pytest==8.1.1 pytest-cov==4.1.0 ruff==0.4.1 From 89812ee97a540d31878ebd8fd13dcdc57f02384e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:13:37 +0000 Subject: [PATCH 30/51] Bump build from 1.0.3 to 1.2.1 Bumps [build](https://github.com/pypa/build) from 1.0.3 to 1.2.1. - [Release notes](https://github.com/pypa/build/releases) - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/build/compare/1.0.3...1.2.1) --- updated-dependencies: - dependency-name: build dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 849583d..94bcc1f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -build==1.0.3 +build==1.2.1 mkdocs==1.5.3 mkdocs-material==9.5.18 mkdocstrings[python]==0.24.3 From 34cf2e5ebb96ca1223d38383eb071a9b4b9b28da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 21:00:48 +0000 Subject: [PATCH 31/51] Bump jinja2 from 3.1.3 to 3.1.4 Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 92d787f..def9452 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ markdown==3.5.2 feedgenerator==2.1.0 -jinja2==3.1.3 +jinja2==3.1.4 pygments==2.17.2 From 59ead49f2f35d8e7c2645fed7cd35cedf4c1c7f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 12:40:58 +0000 Subject: [PATCH 32/51] Bump markdown from 3.5.2 to 3.6 Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.5.2 to 3.6. - [Release notes](https://github.com/Python-Markdown/markdown/releases) - [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md) - [Commits](https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6) --- updated-dependencies: - dependency-name: markdown dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index def9452..e0599ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -markdown==3.5.2 +markdown==3.6 feedgenerator==2.1.0 jinja2==3.1.4 pygments==2.17.2 From c3a189f88bae5fee951b1515bbf45f0807ff7bdf Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sat, 6 Jul 2024 14:30:11 +0200 Subject: [PATCH 33/51] updated requirements --- CHANGELOG.md | 4 ++++ requirements-dev.txt | 16 ++++++++-------- requirements.txt | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa41865..908a0e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [unreleased] + +* updated dependencies + ## [2.3.0] -- 2024-04-24 * fixed devsever so it does not crash anymore when the (re-)build fails diff --git a/requirements-dev.txt b/requirements-dev.txt index 52c8f9b..366525a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ build==1.2.1 -mkdocs==1.5.3 -mkdocs-material==9.5.18 -mkdocstrings[python]==0.24.3 -twine==5.0.0 +mkdocs==1.6.0 +mkdocs-material==9.5.28 +mkdocstrings[python]==0.25.1 +twine==5.1.1 wheel==0.43.0 -pytest==8.1.1 -pytest-cov==4.1.0 -ruff==0.4.1 -mypy==1.8.0 +pytest==8.2.2 +pytest-cov==5.0.0 +ruff==0.5.1 +mypy==1.10.1 types-markdown==3.6.0.20240316 diff --git a/requirements.txt b/requirements.txt index e0599ac..da0ea23 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ markdown==3.6 feedgenerator==2.1.0 jinja2==3.1.4 -pygments==2.17.2 +pygments==2.18.0 From 6dd1eee23896383c3b320cdb52fb996aceda6f65 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sat, 6 Jul 2024 15:18:45 +0200 Subject: [PATCH 34/51] added serve-docs and manpage --- CHANGELOG.md | 3 +++ Makefile | 8 ++++++++ debian/blag.1 | 28 ++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 debian/blag.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 908a0e4..6a42d20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## [unreleased] +* added manpage +* added makefile target for generating blog's manpage +* added makefile target for serving blags docs locally * updated dependencies ## [2.3.0] -- 2024-04-24 diff --git a/Makefile b/Makefile index 13e2bfd..5b8208e 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,14 @@ update-pygmentize: $(VENV) docs: $(VENV) $(BIN)/mkdocs build +.PHONY: serve-docs +serve-docs: $(VENV) + $(BIN)/mkdocs serve + +.PHONY: manpage +manpage: $(VENV) + help2man $(BIN)/blag --no-info -n "blog-aware, static site generator" -o debian/blag.1 + .PHONY: clean clean: rm -rf build dist *.egg-info diff --git a/debian/blag.1 b/debian/blag.1 new file mode 100644 index 0000000..019f2f9 --- /dev/null +++ b/debian/blag.1 @@ -0,0 +1,28 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. +.TH BLAG "1" "July 2024" "blag 2.3.0" "User Commands" +.SH NAME +blag \- blog-aware, static site generator +.SH DESCRIPTION +usage: blag [\-h] [\-\-version] [\-v] {build,quickstart,serve} ... +.SS "positional arguments:" +.IP +{build,quickstart,serve} +.TP +build +Build website. +.TP +quickstart +Quickstart blag, creating necessary configuration. +.TP +serve +Start development server. +.SS "options:" +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-\-version\fR +show program's version number and exit +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Verbose output. From 5922f7056741e583bbcdfffd90e19078ae8f3d60 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sat, 6 Jul 2024 15:20:10 +0200 Subject: [PATCH 35/51] disable google fonts --- CHANGELOG.md | 2 ++ mkdocs.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a42d20..5b1489a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ * added manpage * added makefile target for generating blog's manpage * added makefile target for serving blags docs locally +* mkdocs: disabled loading of google fonts, using locally installed system + fonts instead * updated dependencies ## [2.3.0] -- 2024-04-24 diff --git a/mkdocs.yml b/mkdocs.yml index e891eaf..ca2d247 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -17,6 +17,8 @@ nav: theme: name: material highlightjs: true + # disable google fonts, use system fonts + font: false markdown_extensions: - pymdownx.superfences From c8a26885e7e7e5af2577bed4d3ae8333e89b27aa Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sat, 6 Jul 2024 15:21:26 +0200 Subject: [PATCH 36/51] simplified html docs dir for blag-doc package (Debian) --- CHANGELOG.md | 1 + debian/blag-doc.docs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b1489a..b76e607 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * added makefile target for serving blags docs locally * mkdocs: disabled loading of google fonts, using locally installed system fonts instead +* Debian: simplified html docs directory for blag-doc package * updated dependencies ## [2.3.0] -- 2024-04-24 diff --git a/debian/blag-doc.docs b/debian/blag-doc.docs index 45ddf0a..913aeb2 100644 --- a/debian/blag-doc.docs +++ b/debian/blag-doc.docs @@ -1 +1 @@ -site/ +site/* From 28b4f5fb4edb84838421bae55e9529b18b6a958f Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sat, 6 Jul 2024 15:22:48 +0200 Subject: [PATCH 37/51] changed debian section from python to web --- CHANGELOG.md | 1 + debian/control | 2 +- debian/manpages | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 debian/manpages diff --git a/CHANGELOG.md b/CHANGELOG.md index b76e607..d67d11b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * mkdocs: disabled loading of google fonts, using locally installed system fonts instead * Debian: simplified html docs directory for blag-doc package +* Debian: changed section from Python to Web * updated dependencies ## [2.3.0] -- 2024-04-24 diff --git a/debian/control b/debian/control index 2011e23..53843b5 100644 --- a/debian/control +++ b/debian/control @@ -1,5 +1,5 @@ Source: blag -Section: python +Section: web Priority: optional Maintainer: Bastian Venthur Rules-Requires-Root: no diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..3f5ed8d --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +debian/blag.1 From de8444cc5dffce0ccea94c51c090b4fc9967e463 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sat, 6 Jul 2024 15:32:37 +0200 Subject: [PATCH 38/51] sorted dependencies --- debian/control | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/debian/control b/debian/control index 53843b5..0c5d1a4 100644 --- a/debian/control +++ b/debian/control @@ -5,20 +5,20 @@ Maintainer: Bastian Venthur Rules-Requires-Root: no Build-Depends: debhelper-compat (= 13), - dh-sequence-python3, dh-python, - pybuild-plugin-pyproject, - python3-setuptools, - python3-all, - python3-markdown, - python3-feedgenerator, - python3-jinja2, - python3-pygments, - python3-pytest, - python3-pytest-cov, + dh-sequence-python3, mkdocs, mkdocs-material, mkdocstrings-python-handlers, + pybuild-plugin-pyproject, + python3-all, + python3-feedgenerator, + python3-jinja2, + python3-markdown, + python3-pygments, + python3-pytest, + python3-pytest-cov, + python3-setuptools, #Testsuite: autopkgtest-pkg-python Standards-Version: 4.6.0.1 Homepage: https://github.com/venthur/blag @@ -28,8 +28,8 @@ Vcs-Git: https://github.com/venthur/blag.git Package: blag Architecture: all Depends: - ${python3:Depends}, ${misc:Depends}, + ${python3:Depends}, Suggests: blag-doc, Description: Blog-aware, static site generator From 5a68d158492fcfaf481020333516be9f52546ad7 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sat, 6 Jul 2024 15:34:57 +0200 Subject: [PATCH 39/51] bumped version --- CHANGELOG.md | 2 +- blag/version.py | 2 +- debian/changelog | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d67d11b..dc5fc0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [unreleased] +## [2.3.1] -- 2024-07-06 * added manpage * added makefile target for generating blog's manpage diff --git a/blag/version.py b/blag/version.py index 6ec90dd..28f7d7a 100644 --- a/blag/version.py +++ b/blag/version.py @@ -1,3 +1,3 @@ """Version information for the blag package.""" -__VERSION__ = "2.3.0" +__VERSION__ = "2.3.1" diff --git a/debian/changelog b/debian/changelog index c233950..5a382e9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +blag (2.3.1) unstable; urgency=medium + + * added manpage + * added makefile target for generating blog's manpage + * added makefile target for serving blags docs locally + * mkdocs: disabled loading of google fonts, using locally installed system + fonts instead + * Debian: simplified html docs directory for blag-doc package + * Debian: changed section in debian/control from Python to Web + * updated dependencies + + -- Bastian Venthur Sat, 06 Jul 2024 15:33:36 +0200 + blag (2.3.0) unstable; urgency=medium * fixed devsever so it does not crash anymore when the (re-)build fails From 60b7679c148380e880fd468f7cd40058038664d3 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Fri, 16 Aug 2024 09:47:33 +0200 Subject: [PATCH 40/51] group dependabot mrs --- .github/dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4776211..a94cd04 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,6 +4,10 @@ updates: directory: "/" schedule: interval: "weekly" + groups: + all: + patterns: + - "*" - package-ecosystem: "github-actions" directory: "/" From be079e8699bc899643df27bca16bc7000e6fdcfa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 07:49:28 +0000 Subject: [PATCH 41/51] Bump the all group with 6 updates Bumps the all group with 6 updates: | Package | From | To | | --- | --- | --- | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.28` | `9.5.31` | | [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.25.1` | `0.25.2` | | [wheel](https://github.com/pypa/wheel) | `0.43.0` | `0.44.0` | | [pytest](https://github.com/pytest-dev/pytest) | `8.2.2` | `8.3.2` | | [ruff](https://github.com/astral-sh/ruff) | `0.5.1` | `0.6.0` | | [mypy](https://github.com/python/mypy) | `1.10.1` | `1.11.1` | Updates `mkdocs-material` from 9.5.28 to 9.5.31 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.28...9.5.31) Updates `mkdocstrings[python]` from 0.25.1 to 0.25.2 - [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases) - [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md) - [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.25.1...0.25.2) Updates `wheel` from 0.43.0 to 0.44.0 - [Release notes](https://github.com/pypa/wheel/releases) - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst) - [Commits](https://github.com/pypa/wheel/compare/0.43.0...0.44.0) Updates `pytest` from 8.2.2 to 8.3.2 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.2) Updates `ruff` from 0.5.1 to 0.6.0 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.1...0.6.0) Updates `mypy` from 1.10.1 to 1.11.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.1) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocstrings[python] dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: wheel dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 366525a..ad88477 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ build==1.2.1 mkdocs==1.6.0 -mkdocs-material==9.5.28 -mkdocstrings[python]==0.25.1 +mkdocs-material==9.5.31 +mkdocstrings[python]==0.25.2 twine==5.1.1 -wheel==0.43.0 -pytest==8.2.2 +wheel==0.44.0 +pytest==8.3.2 pytest-cov==5.0.0 -ruff==0.5.1 -mypy==1.10.1 +ruff==0.6.0 +mypy==1.11.1 types-markdown==3.6.0.20240316 From 0c606c7673695b1622e0588cac2fe400e88a586f Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Mon, 26 Aug 2024 10:04:57 +0200 Subject: [PATCH 42/51] Added changelog to docs --- CHANGELOG.md | 4 ++++ docs/CHANGELOG.md | 1 + mkdocs.yml | 1 + 3 files changed, 6 insertions(+) create mode 120000 docs/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index dc5fc0c..03d0feb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [unreleased] -- + +* Added changelog to docs + ## [2.3.1] -- 2024-07-06 * added manpage diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md new file mode 120000 index 0000000..04c99a5 --- /dev/null +++ b/docs/CHANGELOG.md @@ -0,0 +1 @@ +../CHANGELOG.md \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index ca2d247..8b26450 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -13,6 +13,7 @@ nav: - blag.markdown: markdown.md - blag.devserver: devserver.md - blag.quickstart: quickstart.md + - Changelog: CHANGELOG.md theme: name: material From e977383ae063d4edd2cfbb42131bc85dd2e07775 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:43:59 +0000 Subject: [PATCH 43/51] Bump the all group across 1 directory with 9 updates Bumps the all group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [build](https://github.com/pypa/build) | `1.2.1` | `1.2.2` | | [mkdocs](https://github.com/mkdocs/mkdocs) | `1.6.0` | `1.6.1` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.31` | `9.5.39` | | [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.25.2` | `0.26.1` | | [pytest](https://github.com/pytest-dev/pytest) | `8.3.2` | `8.3.3` | | [ruff](https://github.com/astral-sh/ruff) | `0.6.0` | `0.6.8` | | [mypy](https://github.com/python/mypy) | `1.11.1` | `1.11.2` | | [types-markdown](https://github.com/python/typeshed) | `3.6.0.20240316` | `3.7.0.20240822` | | [markdown](https://github.com/Python-Markdown/markdown) | `3.6` | `3.7` | Updates `build` from 1.2.1 to 1.2.2 - [Release notes](https://github.com/pypa/build/releases) - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/build/compare/1.2.1...1.2.2) Updates `mkdocs` from 1.6.0 to 1.6.1 - [Release notes](https://github.com/mkdocs/mkdocs/releases) - [Commits](https://github.com/mkdocs/mkdocs/compare/1.6.0...1.6.1) Updates `mkdocs-material` from 9.5.31 to 9.5.39 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.31...9.5.39) Updates `mkdocstrings[python]` from 0.25.2 to 0.26.1 - [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases) - [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md) - [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.25.2...0.26.1) Updates `pytest` from 8.3.2 to 8.3.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3) Updates `ruff` from 0.6.0 to 0.6.8 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.6.0...0.6.8) Updates `mypy` from 1.11.1 to 1.11.2 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.11.1...v1.11.2) Updates `types-markdown` from 3.6.0.20240316 to 3.7.0.20240822 - [Commits](https://github.com/python/typeshed/commits) Updates `markdown` from 3.6 to 3.7 - [Release notes](https://github.com/Python-Markdown/markdown/releases) - [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md) - [Commits](https://github.com/Python-Markdown/markdown/compare/3.6...3.7) --- updated-dependencies: - dependency-name: build dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocs dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocstrings[python] dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: types-markdown dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: markdown dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 16 ++++++++-------- requirements.txt | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index ad88477..7d95365 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ -build==1.2.1 -mkdocs==1.6.0 -mkdocs-material==9.5.31 -mkdocstrings[python]==0.25.2 +build==1.2.2 +mkdocs==1.6.1 +mkdocs-material==9.5.39 +mkdocstrings[python]==0.26.1 twine==5.1.1 wheel==0.44.0 -pytest==8.3.2 +pytest==8.3.3 pytest-cov==5.0.0 -ruff==0.6.0 -mypy==1.11.1 -types-markdown==3.6.0.20240316 +ruff==0.6.8 +mypy==1.11.2 +types-markdown==3.7.0.20240822 diff --git a/requirements.txt b/requirements.txt index da0ea23..9a8eb4d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -markdown==3.6 +markdown==3.7 feedgenerator==2.1.0 jinja2==3.1.4 pygments==2.18.0 From 086832986b3b12551f2f54a556f68ed210e7cedf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:22:20 +0000 Subject: [PATCH 44/51] Bump the all group with 2 updates Bumps the all group with 2 updates: [build](https://github.com/pypa/build) and [ruff](https://github.com/astral-sh/ruff). Updates `build` from 1.2.2 to 1.2.2.post1 - [Release notes](https://github.com/pypa/build/releases) - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/build/compare/1.2.2...1.2.2.post1) Updates `ruff` from 0.6.8 to 0.6.9 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.6.8...0.6.9) --- updated-dependencies: - dependency-name: build dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 7d95365..d441bd4 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -build==1.2.2 +build==1.2.2.post1 mkdocs==1.6.1 mkdocs-material==9.5.39 mkdocstrings[python]==0.26.1 @@ -6,6 +6,6 @@ twine==5.1.1 wheel==0.44.0 pytest==8.3.3 pytest-cov==5.0.0 -ruff==0.6.8 +ruff==0.6.9 mypy==1.11.2 types-markdown==3.7.0.20240822 From 12db99f20aedae9682d888be7eb91a54287aaebd Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Thu, 10 Oct 2024 16:18:52 +0200 Subject: [PATCH 45/51] remove ruff's target-version --- CHANGELOG.md | 2 ++ pyproject.toml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03d0feb..45cc279 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## [unreleased] -- * Added changelog to docs +* removed ruff's target-version from pyproject.toml, this value defaults to the + projects requires-python ## [2.3.1] -- 2024-07-06 diff --git a/pyproject.toml b/pyproject.toml index 532d2af..c51e644 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,6 @@ addopts = """ [tool.ruff] line-length = 79 -target-version = "py310" [tool.ruff.lint] select = [ From 0d03733b4f042324ca32ef520f039a25bffa59d7 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Fri, 11 Oct 2024 11:09:32 +0200 Subject: [PATCH 46/51] ignoe FileNotFound Error that sometimes happens when getting mtime of directories Fixes: #231 --- CHANGELOG.md | 2 ++ blag/devserver.py | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45cc279..a2295bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [unreleased] -- +* Ignore FileNotFoundError when trying to get the last modified time of files + in directories. This happens for example with temporary emacs files. * Added changelog to docs * removed ruff's target-version from pyproject.toml, this value defaults to the projects requires-python diff --git a/blag/devserver.py b/blag/devserver.py index 1945740..2dd6481 100644 --- a/blag/devserver.py +++ b/blag/devserver.py @@ -42,7 +42,12 @@ def get_last_modified(dirs: list[str]) -> float: for dir in dirs: for root, dirs, files in os.walk(dir): for f in files: - mtime = os.stat(os.path.join(root, f)).st_mtime + try: + mtime = os.stat(os.path.join(root, f)).st_mtime + except FileNotFoundError: + # ignore files that have been deleted since the os.walk + # call (for example temporary emacs files) + continue if mtime > last_mtime: last_mtime = mtime From 07be96aa7c54c23f85cb1dd3ecd803f66213dc44 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sun, 13 Oct 2024 20:11:58 +0200 Subject: [PATCH 47/51] bumped changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2295bf..9a21ca3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [unreleased] -- +## [2.3.2] -- 2024-10-13 * Ignore FileNotFoundError when trying to get the last modified time of files in directories. This happens for example with temporary emacs files. From e631b17fb15f161e3c89959e794d8fc5feadd7f8 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sun, 13 Oct 2024 20:13:10 +0200 Subject: [PATCH 48/51] bumped version prepared upload --- blag/version.py | 2 +- debian/changelog | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/blag/version.py b/blag/version.py index 28f7d7a..deff8d1 100644 --- a/blag/version.py +++ b/blag/version.py @@ -1,3 +1,3 @@ """Version information for the blag package.""" -__VERSION__ = "2.3.1" +__VERSION__ = "2.3.2" diff --git a/debian/changelog b/debian/changelog index 5a382e9..453e93e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +blag (2.3.2) unstable; urgency=medium + + * Ignore FileNotFoundError when trying to get the last modified time of + files in directories. This happens for example with temporary emacs files. + * Added changelog to docs + * removed ruff's target-version from pyproject.toml, this value defaults to + the projects requires-python + + -- Bastian Venthur Sun, 13 Oct 2024 20:12:29 +0200 + blag (2.3.1) unstable; urgency=medium * added manpage From 6b699f58ad73ff1d032bc47d9d76f70fd71396b7 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Mon, 18 Nov 2024 09:22:21 +0100 Subject: [PATCH 49/51] simplified color scheme selection --- blag/static/style.css | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/blag/static/style.css b/blag/static/style.css index f00afd6..8e5c332 100644 --- a/blag/static/style.css +++ b/blag/static/style.css @@ -1,33 +1,16 @@ @import "code-light.css" (prefers-color-scheme: light); @import "code-dark.css" (prefers-color-scheme: dark); -@media (prefers-color-scheme: light) { - :root { - --background: #FFFFFF; - --background-dim: #f5f7f9; - - --foreground: #2B303A; - --foreground-dim: #576379; - --foreground-heavy: #191C22; - - --primary-color: #375287; - } +:root { + color-scheme: light dark; + --background: light-dark(#FFFFFF, #2B363B); + --background-dim: light-dark(#f5f7f9, #2F3C42); + --foreground: light-dark(#2B303A, #f0f2f3); + --foreground-dim: light-dark(#576379, #d5d5d5); + --foreground-heavy: light-dark(#191C22, #f2f4f5); + --primary-color: light-dark(#375287, #A1C5FF); } -@media (prefers-color-scheme: dark) { - :root { - --background: #2B363B; - --background-dim: #2F3C42; - - --foreground: #f0f2f3; - --foreground-dim: #d5d5d5; - --foreground-heavy: #f2f4f5; - - --primary-color: #A1C5FF; - } -} - - html { font-size: 18px; font-family: serif; From ef18685cef0b354137e039b3e68d220e654f55c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:19:20 +0000 Subject: [PATCH 50/51] Bump the all group across 1 directory with 10 updates Bumps the all group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.39` | `9.5.49` | | [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.26.1` | `0.27.0` | | [twine](https://github.com/pypa/twine) | `5.1.1` | `6.0.1` | | [wheel](https://github.com/pypa/wheel) | `0.44.0` | `0.45.1` | | [pytest](https://github.com/pytest-dev/pytest) | `8.3.3` | `8.3.4` | | [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `5.0.0` | `6.0.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.6.9` | `0.8.4` | | [mypy](https://github.com/python/mypy) | `1.11.2` | `1.14.0` | | [types-markdown](https://github.com/python/typeshed) | `3.7.0.20240822` | `3.7.0.20241204` | | [jinja2](https://github.com/pallets/jinja) | `3.1.4` | `3.1.5` | Updates `mkdocs-material` from 9.5.39 to 9.5.49 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.39...9.5.49) Updates `mkdocstrings[python]` from 0.26.1 to 0.27.0 - [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases) - [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md) - [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.26.1...0.27.0) Updates `twine` from 5.1.1 to 6.0.1 - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/v5.1.1...6.0.1) Updates `wheel` from 0.44.0 to 0.45.1 - [Release notes](https://github.com/pypa/wheel/releases) - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst) - [Commits](https://github.com/pypa/wheel/compare/0.44.0...0.45.1) Updates `pytest` from 8.3.3 to 8.3.4 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4) Updates `pytest-cov` from 5.0.0 to 6.0.0 - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0) Updates `ruff` from 0.6.9 to 0.8.4 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.6.9...0.8.4) Updates `mypy` from 1.11.2 to 1.14.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.14.0) Updates `types-markdown` from 3.7.0.20240822 to 3.7.0.20241204 - [Commits](https://github.com/python/typeshed/commits) Updates `jinja2` from 3.1.4 to 3.1.5 - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocstrings[python] dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: twine dependency-type: direct:development update-type: version-update:semver-major dependency-group: all - dependency-name: wheel dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pytest-cov dependency-type: direct:development update-type: version-update:semver-major dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: types-markdown dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: jinja2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 18 +++++++++--------- requirements.txt | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index d441bd4..3bf2a90 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ build==1.2.2.post1 mkdocs==1.6.1 -mkdocs-material==9.5.39 -mkdocstrings[python]==0.26.1 -twine==5.1.1 -wheel==0.44.0 -pytest==8.3.3 -pytest-cov==5.0.0 -ruff==0.6.9 -mypy==1.11.2 -types-markdown==3.7.0.20240822 +mkdocs-material==9.5.49 +mkdocstrings[python]==0.27.0 +twine==6.0.1 +wheel==0.45.1 +pytest==8.3.4 +pytest-cov==6.0.0 +ruff==0.8.4 +mypy==1.14.0 +types-markdown==3.7.0.20241204 diff --git a/requirements.txt b/requirements.txt index 9a8eb4d..9a67d85 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ markdown==3.7 feedgenerator==2.1.0 -jinja2==3.1.4 +jinja2==3.1.5 pygments==2.18.0 From 85e57a7ef2ae5889650c74d432278554e414c424 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Fri, 3 Jan 2025 10:46:22 +0100 Subject: [PATCH 51/51] added py313 to github actions test suite --- .github/workflows/python-package.yaml | 1 + CHANGELOG.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index a605a6d..aa0eb5c 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -20,6 +20,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a21ca3..0bd0a3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [unreleased] + +* Added Python 3.13 to github actions + ## [2.3.2] -- 2024-10-13 * Ignore FileNotFoundError when trying to get the last modified time of files