Skip to content

Commit

Permalink
Merge pull request #2219 from SEKOIA-IO/update-python
Browse files Browse the repository at this point in the history
Update Python dependencies
  • Loading branch information
otetard authored Feb 19, 2025
2 parents d5d7f0c + 2e3e26c commit 3ffe7fb
Show file tree
Hide file tree
Showing 7 changed files with 322 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-public-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
python-version: '3.13'

- name: Make destination directory for compiled CSS
run: mkdir -vp docs/stylesheets/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
python-version: '3.13'

- name: Make destination directory for compiled CSS
run: mkdir -vp docs/stylesheets/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-intakes-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
python-version: '3.13'

- name: Install Poetry
run: |
Expand Down
314 changes: 167 additions & 147 deletions poetry.lock

Large diffs are not rendered by default.

29 changes: 16 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
[tool.poetry]
[project]
name = "sekoiaio-documentation"
description = "An MkDocs server for SEKOIA.IO public Markdown documentation"
version = "1.0"
authors = []
requires-python = ">=3.11,<4.0.0"

dependencies = [
"mkdocs (>=1.6.0,<2.0.0)",
"mkdocs-material (>=9.6.4,<10.0.0)",
"mkdocs-redirects (>=1.2.1,<2.0.0)",
"markdown-include (>=0.8.1,<0.9.0)",
"lightgallery (>=0.5,<0.6.0)",
"markdown (>=3.7,<4.0.0)",
"libsass (>=0.23.0,<0.24.0.0)",
]

[tool.poetry]
packages = [
{ include = "plugins" }
]

[tool.poetry.plugins."mkdocs.plugins"]
[project.entry-points."mkdocs.plugins"]
redoc = "plugins.redoc:RedocPlugin"
integration_by_uuid = "plugins.integration_by_uuid:IntegrationByUUIDPlugin"
sass = "plugins.sass:CompileSCSSPlugin"

[tool.poetry.dependencies]
python = "^3.11"
mkdocs = "^1.6.0"
mkdocs-material = "^9.1.21"
mkdocs-redirects = "^1.2.1"
markdown-include = "^0.8.1"
lightgallery = "^0.5"
markdown = "^3.7"
libsass = "^0.23.0"

[build-system]
requires = [ "poetry-core>=1.0.0",]
requires = [ "poetry-core>=2.0.0",]
build-backend = "poetry.core.masonry.api"
239 changes: 128 additions & 111 deletions scripts/update_mkdocs/poetry.lock

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions scripts/update_mkdocs/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
[tool.poetry]
[project]
name = "update_mkdocs"
version = "0.1.0"
description = ""
authors = ["gbossert <[email protected]>"]
authors = [{"name"="Georges Bossert", "email"="[email protected]"}]
requires-python = ">=3.11,<4.0.0"

[tool.poetry.dependencies]
python = "^3.11"
PyYAML = "^6.0"
Jinja2 = "^3.1.3"

[tool.poetry.dev-dependencies]
dependencies = [
"PyYAML (>=6.0.0,<7.0.0)",
"Jinja2 (>=3.1.3,<4.0.0)",
]

[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 3ffe7fb

Please sign in to comment.