Skip to content

Update dependencies#49

Merged
ClaasRostock merged 62 commits into
mainfrom
update-dependencies
Nov 6, 2025
Merged

Update dependencies#49
ClaasRostock merged 62 commits into
mainfrom
update-dependencies

Conversation

@ClaasRostock

@ClaasRostock ClaasRostock commented Nov 6, 2025

Copy link
Copy Markdown
Collaborator

Dependencies

  • Updated to dictIO>=0.4.2 (from dictIO>=0.4.1)
  • Updated to ospx>=0.3.2 (from ospx>=0.3.1)
  • Updated to ruff>=0.14.3 (from ruff>=0.9.2)
  • Updated to pyright>=1.1.407 (from pyright>=1.1.392)
  • Updated to sourcery>=1.40 (from sourcery>=1.31)
  • Updated to lxml>=6.0 (from lxml>=5.3)
  • Updated to types-lxml>=2025.8 (from types-lxml>=2024.12)
  • Updated to numpy>=2.3 (removed split version specifiers)
  • Updated to scipy>=1.16 (from scipy>=1.14)
  • Updated to pyDOE3>=1.6 (from pyDOE3>=1.0)
  • Updated to pandas>=2.3 (from pandas>=2.2)
  • Updated to pandas-stubs>=2.3 (from pandas-stubs>=2.2)
  • Updated to pillow>=12.0 (from Pillow>=11.1)
  • Updated to pytest>=8.4 (from pytest>=8.3)
  • Updated to pytest-cov>=7.0 (from pytest-cov>=6.0)
  • Updated to Sphinx>=8.2 (from Sphinx>=8.1)
  • Updated to sphinx-argparse-cli>=1.20 (from sphinx-argparse-cli>=1.19)
  • Updated to sphinx-autodoc-typehints>=3.5 (from sphinx-autodoc-typehints>=3.0)
  • Updated to furo>=2025.9 (from furo>=2024.8)
  • Updated to pre-commit>=4.3 (from pre-commit>=4.0)
  • Updated to mypy>=1.18 (from mypy>=1.14)
  • Updated to types-psutil>=7.0 (from types-psutil>=6.1)
  • Updated to checkout@v5 (from checkout@v4)
  • Updated to setup-python@v6 (from setup-python@v5)
  • Updated to setup-uv@v7 (from setup-uv@v5)
  • Updated to upload-artifact@v5 (from upload-artifact@v4)
  • Updated to download-artifact@v5 (from download-artifact@v4)

Changed

  • Renamed the CLI module (in folder src/farn/cli) from 'farn.py' to '__main__.py'.
    This follows current best practice (as in python_project_template).
    It avoids import errors caused by the fact that the cli module has the same name as the package it imports from.
  • Do not run code quality checks in nightly builds
  • Included uv.lock file in version control
  • pyproject.toml:
    • added required-environments to uv.tools (windows, linux, macos)
    • updated required Python version to ">= 3.11, < 3.15"
    • updated supported Python versions to 3.11, 3.12, 3.13, 3.14
    • removed deprecated pyright setting 'reportShadowedImports'
    • removed deprecated mypy plugin 'numpy.typing.mypy_plugin'
  • GitHub workflow _test.yml:
    • updated Python versions in test matrix to 3.11, 3.12, 3.13, 3.14
  • GitHub workflow _test_future.yml:
    • updated Python version in test_future to 3.15.0-alpha - 3.15.0
  • .pre-commit-config.yaml:
    • updated rev of pre-commit-hooks to v6.0.0
    • updated rev of ruff-pre-commit to v0.14.3
    • updated id of ruff to ruff-check
  • Sphinx conf.py:
    • removed ruff rule exception on file level
  • demos\folder_for_demos.py:
    • removed ruff rule exception
  • .sourcery.yaml:
    • updated the lowest Python version the project supports to '3.11'

Solved

  • Resolved issues raised by ruff 0.14.3

@ClaasRostock
ClaasRostock requested a review from Copilot November 6, 2025 12:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the project's dependencies, Python version support, and code quality tooling while resolving linting issues raised by ruff 0.14.3.

  • Updated minimum Python version from 3.10 to 3.11 and added support for Python 3.14
  • Upgraded all major dependencies to their latest versions (numpy, scipy, pandas, lxml, pillow, etc.)
  • Resolved linting issues by adding appropriate noqa comments for import-related warnings

Reviewed Changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pyproject.toml Updated Python version requirements (3.11-3.14), upgraded all dependencies, removed deprecated mypy/pyright settings, added uv required-environments
src/farn/sampling/sampling.py Added noqa: PLC0415 comments to suppress import-not-at-top warnings, removed unnecessary pyright ignore comments
src/farn/core/case.py Added __hash__ method to Case class for proper hashability, removed pyright ignore comment
src/farn/core/parameter.py Added noqa: FBT001 comment for boolean parameter, removed file-level ruff exclusion
src/farn/farn.py Added noqa: PLC0415 comment for import statement
src/farn/cli/main.py Added noqa: PLC0415 comments to suppress import warnings
ruff.toml Added file-specific ignores for docs/source/conf.py
docs/source/conf.py Removed file-level ruff exclusion
demos/folder_for_demos.py Removed file-level ruff exclusion
.sourcery.yaml Updated minimum Python version to 3.11
.pre-commit-config.yaml Updated pre-commit-hooks to v6.0.0, ruff to v0.14.3, changed ruff hook id to ruff-check
.github/workflows/*.yml Updated GitHub Actions to v5/v6/v7 versions, updated Python test matrix to 3.11-3.14, updated future tests to Python 3.15
CHANGELOG.md Documented all dependency updates and configuration changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ClaasRostock
ClaasRostock merged commit 2351789 into main Nov 6, 2025
16 checks passed
@ClaasRostock
ClaasRostock deleted the update-dependencies branch November 6, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants