Skip to content

build: upgraded all dependencies and tools#24

Merged
elmotec merged 7 commits intomainfrom
feat/upgrade-all
Sep 14, 2025
Merged

build: upgraded all dependencies and tools#24
elmotec merged 7 commits intomainfrom
feat/upgrade-all

Conversation

@elmotec
Copy link
Copy Markdown
Owner

@elmotec elmotec commented Sep 13, 2025

  • move requirements.txt to pyproject.toml
  • autoupdated .pre-commit-config.yaml
  • updated all upstream dependencies to latest version

BREAKING CHANGE: upgrade numpy, pandas and scipy to v2

- move requirements.txt to pyproject.toml
- autoupdated .pre-commit-config.yaml
- updated all upstream dependencies to latest version

BREAKING CHANGE: upgrade numpy, pandas and scipy to v2
@elmotec elmotec changed the title build: upgraded all depednencies and tools build: upgraded all dependencies and tools Sep 13, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.79%. Comparing base (e065b26) to head (d222f24).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   91.57%   91.79%   +0.22%     
==========================================
  Files          11       11              
  Lines         783      780       -3     
  Branches      122      106      -16     
==========================================
- Hits          717      716       -1     
+ Misses         45       44       -1     
+ Partials       21       20       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@elmotec elmotec requested a review from Copilot September 13, 2025 19:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 upgrades all dependencies and tools to their latest versions, with a breaking change to upgrade numpy, pandas and scipy to v2. The changes primarily focus on modernizing the build system by migrating from setup.cfg to pyproject.toml, updating pre-commit hooks to use ruff instead of black/flake8/isort, and updating all CI/CD workflows to support Python 3.10-3.13.

  • Migrated from setup.cfg to pyproject.toml for modern Python packaging
  • Updated pre-commit configuration to use ruff linter and formatter
  • Upgraded all GitHub Actions workflows to support newer Python versions (3.10-3.13)

Reviewed Changes

Copilot reviewed 20 out of 22 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pyproject.toml New modern packaging configuration with updated dependencies (numpy>=2, pandas>=2)
setup.cfg Updated to maintain compatibility with new pyproject.toml setup
.pre-commit-config.yaml Migrated from black/flake8/isort to ruff for linting and formatting
tests/*.py Updated test code with formatting improvements and type annotation fixes
codemetrics/*.py Added Optional type imports and updated type annotations
.github/workflows/*.yml Updated Python version matrix to 3.10-3.13

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread pyproject.toml
Comment thread setup.cfg Outdated
Comment thread tests/test_core.py
Comment thread tests/test_core.py
elmotec and others added 2 commits September 13, 2025 15:23
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@elmotec elmotec marked this pull request as ready for review September 13, 2025 20:30
@elmotec elmotec merged commit 1711319 into main Sep 14, 2025
8 of 10 checks passed
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