From dbdd973f964136ae6b5469170b34e7ea11710d4c Mon Sep 17 00:00:00 2001 From: NuwanJ Date: Fri, 12 Sep 2025 08:22:40 +0530 Subject: [PATCH 1/4] Update sphinx-autobuild version in requirements.txt to 2025.8.25 --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 55caf1b..73efa2d 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,7 +2,7 @@ furo>=2024.8.6 Sphinx>=7.2 myst-parser>=2.0 sphinx-autodoc-typehints>=2.2 -sphinx-autobuild==2024.8.25 +sphinx-autobuild==2025.8.25 sphinx_rtd_theme==7.3.1 # Ensure imports succeed during autodoc From 66d5272cc7259c059cec39402171ef02fb38281d Mon Sep 17 00:00:00 2001 From: NuwanJ Date: Fri, 12 Sep 2025 08:26:46 +0530 Subject: [PATCH 2/4] Update documentation workflow and requirements for consistency --- .github/workflows/docs-cd.yml | 1 + docs/requirements.txt | 13 +++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs-cd.yml b/.github/workflows/docs-cd.yml index f78e8ce..3c0ff7e 100644 --- a/.github/workflows/docs-cd.yml +++ b/.github/workflows/docs-cd.yml @@ -30,6 +30,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -e . + pip install -r requirements.txt pip install -r docs/requirements.txt - name: Generate API stubs diff --git a/docs/requirements.txt b/docs/requirements.txt index 73efa2d..51cbf5a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,9 +1,6 @@ -furo>=2024.8.6 -Sphinx>=7.2 -myst-parser>=2.0 -sphinx-autodoc-typehints>=2.2 +furo==2025.7.19 +Sphinx==8.2.3 +myst-parser==4.0.1 +sphinx-autodoc-typehints==3.2.0 sphinx-autobuild==2025.8.25 -sphinx_rtd_theme==7.3.1 - -# Ensure imports succeed during autodoc -paho-mqtt>=2.0 +sphinx_rtd_theme==3.0.2 From 661cb15cfbd3d2bc201b217146b1f53096371906 Mon Sep 17 00:00:00 2001 From: NuwanJ Date: Fri, 12 Sep 2025 08:31:12 +0530 Subject: [PATCH 3/4] Update Python version to 3.13 and add caching for dependencies in CI workflow --- .github/workflows/docs-cd.yml | 10 +++++++++- pyproject.toml | 11 ++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-cd.yml b/.github/workflows/docs-cd.yml index 3c0ff7e..aadfe2e 100644 --- a/.github/workflows/docs-cd.yml +++ b/.github/workflows/docs-cd.yml @@ -24,7 +24,15 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' + + - name: Cache Python dependencies + uses: actions/cache@v3 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 59d1b10..3759fdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,10 +6,15 @@ build-backend = "setuptools.build_meta" name = "py-swarm-robot" version = "0.1.0" description = "A modular robot control library" -authors = [{name = "Nuwan Jaliyagoda", email = "nuwanjaliyagoda@gmail.com"},{name = "Nuwan Jaliyagoda", email = "kavindumethpura@gmail.com"},{name = "Kavindu Prabhath Methpura", email = "kavindumethpura@gmail.com"}] +authors = [ + { name = "Nuwan Jaliyagoda", email = "nuwanjaliyagoda@gmail.com" }, + { name = "Nuwan Jaliyagoda", email = "kavindumethpura@gmail.com" }, + { name = "Kavindu Prabhath Methpura", email = "kavindumethpura@gmail.com" }, +] readme = "README.md" -requires-python = ">=3.8" -dependencies = [] +requires-python = "==3.13.`*" +license = { file = "LICENSE" } +dependencies = ["paho-mqtt"] [tool.setuptools.packages.find] where = ["src"] From 63ec2fc97d9d546012aa0e05d063c5eaa808d479 Mon Sep 17 00:00:00 2001 From: NuwanJ Date: Fri, 12 Sep 2025 08:40:16 +0530 Subject: [PATCH 4/4] Update Python version specification in configuration files --- .github/workflows/docs-cd.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-cd.yml b/.github/workflows/docs-cd.yml index aadfe2e..39cb961 100644 --- a/.github/workflows/docs-cd.yml +++ b/.github/workflows/docs-cd.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: 3.13 - name: Cache Python dependencies uses: actions/cache@v3 diff --git a/pyproject.toml b/pyproject.toml index 3759fdd..9615291 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ { name = "Kavindu Prabhath Methpura", email = "kavindumethpura@gmail.com" }, ] readme = "README.md" -requires-python = "==3.13.`*" +requires-python = ">=3.13" license = { file = "LICENSE" } dependencies = ["paho-mqtt"]