From 1bd3d5b9e42229802d0d9c04ffb2f51e230544a7 Mon Sep 17 00:00:00 2001 From: Vincent Privat Date: Mon, 21 Jul 2025 10:38:25 +0200 Subject: [PATCH 1/2] Dependency updates --- .github/workflows/docs.yml | 8 ++++---- .github/workflows/test-runner.yml | 8 ++++---- .pre-commit-config.yaml | 8 ++++---- Dockerfile | 2 +- docs/conf.py | 3 ++- docs/index.rst | 2 +- docs/requirements.txt | 8 ++++---- setup.py | 21 ++++++++++----------- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 858545b..6be7c6a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,11 +20,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -53,7 +53,7 @@ jobs: name: documentation path: ./docs-build - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs-build diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index 722d8dd..ddf4471 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" @@ -44,10 +44,10 @@ jobs: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e17d83a..2198eac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,22 +1,22 @@ repos: - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 args: - --ignore=E501,E712,W503 - repo: https://github.com/timothycrosley/isort - rev: 5.13.2 + rev: 6.0.1 hooks: - id: isort args: ["--profile", "black"] - repo: https://github.com/psf/black - rev: 24.1.1 + rev: 25.1.0 hooks: - id: black language_version: python3.12 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.17.0 hooks: - id: mypy exclude: /tests/ diff --git a/Dockerfile b/Dockerfile index a49224d..e164fef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,5 @@ COPY . . # Install the package in development mode with dev and docs extras RUN pip install -e ".[dev,docs]" - + CMD ["stac_check"] \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 7d8ee71..c972b97 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,7 @@ project = "stac-check" copyright = "2025, Jonathan Healy" author = "Jonathan Healy" -release = "1.7.0" +release = "1.11.0" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration @@ -54,6 +54,7 @@ html_static_path = ["_static"] myst_heading_anchors = 3 # Generate anchors for h1, h2, and h3 +suppress_warnings = ["myst.header", "myst.xref_missing"] # Configure myst-parser to handle images myst_url_schemes = ("http", "https", "mailto", "ftp") diff --git a/docs/index.rst b/docs/index.rst index a26e121..1fa1bb3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -16,7 +16,7 @@ For more detailed documentation, please see the following pages: api Indices and tables -================= +================== * :ref:`genindex` * :ref:`modindex` diff --git a/docs/requirements.txt b/docs/requirements.txt index e1a3d8a..08bd7ae 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -sphinx>=4.0.0 -sphinx_rtd_theme>=1.0.0 -myst-parser>=0.18.0 -sphinx-autodoc-typehints>=1.18.0 \ No newline at end of file +sphinx>=8.2.3 +sphinx_rtd_theme>=3.0.2 +myst-parser>=4.0.1 +sphinx-autodoc-typehints>=3.2.0 \ No newline at end of file diff --git a/setup.py b/setup.py index 49dd399..14a7a38 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ -"""stac-check setup.py -""" +"""stac-check setup.py""" from setuptools import find_packages, setup @@ -17,10 +16,10 @@ include_package_data=True, setup_requires=["setuptools"], install_requires=[ - "requests>=2.32.3", - "jsonschema>=4.23.0", + "requests>=2.32.4", + "jsonschema>=4.25.0", "click>=8.1.8", - "stac-validator~=3.9.1", + "stac-validator~=3.10.0", "PyYAML", "python-dotenv", ], @@ -29,15 +28,15 @@ "pytest", "requests-mock", "types-setuptools", - "stac-validator[pydantic]~=3.9.1", + "stac-validator[pydantic]~=3.10.0", ], "docs": [ - "sphinx>=4.0.0", - "sphinx_rtd_theme>=1.0.0", - "myst-parser>=0.18.0", - "sphinx-autodoc-typehints>=1.18.0", + "sphinx>=8.2.3", + "sphinx_rtd_theme>=3.0.2", + "myst-parser>=4.0.1", + "sphinx-autodoc-typehints>=3.2.0", ], - "pydantic": ["stac-validator[pydantic]~=3.9.1"], + "pydantic": ["stac-validator[pydantic]~=3.10.0"], }, entry_points={"console_scripts": ["stac-check=stac_check.cli:main"]}, author="Jonathan Healy", From 071ef2d3d33d416997a6f52c1b1377742e2a7840 Mon Sep 17 00:00:00 2001 From: Vincent Privat Date: Mon, 28 Jul 2025 13:10:42 +0200 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6118956..a66f5d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/) ### Updated - Updated stac-validator dependency to v3.10.1 ([#140](https://github.com/stac-utils/stac-check/pull/140)) +- Updated Github Actions and documentation dependencies ([#139](https://github.com/stac-utils/stac-check/pull/139)) ### Removed