Remove 67 unused dependencies from requirements files#10
Merged
EthanThePhoenix38 merged 4 commits intomainfrom Dec 29, 2025
Merged
Remove 67 unused dependencies from requirements files#10EthanThePhoenix38 merged 4 commits intomainfrom
EthanThePhoenix38 merged 4 commits intomainfrom
Conversation
Co-authored-by: EthanThePhoenix38 <103653068+EthanThePhoenix38@users.noreply.github.com>
Co-authored-by: EthanThePhoenix38 <103653068+EthanThePhoenix38@users.noreply.github.com>
Co-authored-by: EthanThePhoenix38 <103653068+EthanThePhoenix38@users.noreply.github.com>
|
Copilot
AI
changed the title
[WIP] Update dependencies for community contributions
Remove 67 unused dependencies from requirements files
Dec 29, 2025
Member
EthanThePhoenix38
left a comment
There was a problem hiding this comment.
submitted after corrections of conflits
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes 67 unused dependencies from the project's requirements files, reducing the total from 85 to 18 dependencies (6 production + 12 development). The cleanup aims to minimize installation time, disk usage, and maintenance overhead by retaining only actively used packages verified through code analysis.
- Reduced production dependencies from 46 to 6, keeping core scientific computing libraries (numpy, pandas, scipy, matplotlib, statsmodels, scikit-learn)
- Reduced development dependencies from 39 to 12, retaining essential testing, linting, formatting, documentation, and build tools
- Updated Python version requirement from 3.8+ to 3.9+ across all configuration files
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| requirements.txt | Removed 40 unused production dependencies, kept 6 core scientific libraries with updated minimum versions |
| requirements-dev.txt | Removed 27 unused dev dependencies, kept 12 essential development tools (pytest, black, flake8, mypy, sphinx, etc.) |
| pyproject.toml | Synchronized dependencies list with requirements files, added coverage and twine to dev extras |
| py_stats_toolkit.egg-info/requires.txt | Updated generated dependency metadata to match new requirements, bumped minimum versions |
| py_stats_toolkit.egg-info/SOURCES.txt | Added new module files to the package manifest |
| py_stats_toolkit.egg-info/PKG-INFO | Updated package metadata with version 1.0.5, new Python version requirement (3.9+), and synced dependency lists |
| README.md | Removed duplicate Python version badge, removed bandit badge (tool no longer used), cleaned up redundant test/coverage badges |
💡 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.



The project declared 85 total dependencies but only used 6 in production code. This PR removes unused dependencies to reduce installation time, disk usage, and maintenance burden.
Changes
requirements.txt: Reduced from 46 to 6 dependencies (-87%)
numpy,pandas,scipy,matplotlib,statsmodels,scikit-learnrequirements-dev.txt: Reduced from 39 to 12 dependencies (-69%)
pyproject.toml: Synchronized dependencies with requirements files
README.md: Removed duplicate Python version badges and bandit badge
Verification
Analysis confirmed via
grepof all imports acrosspy_stats_toolkit/andtests/. All 12 existing tests pass with the reduced dependency set.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.