Update dependencies#49
Merged
Merged
Conversation
…ure to 3.15.0-alpha - 3.15.0
…3.11, 3.12, 3.13, 3.14
There was a problem hiding this comment.
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
noqacomments 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependencies
Changed
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.
Solved
ruff0.14.3