chore: fix project metadata and move pytest to dev dependencies#6
Open
Krivoblotsky wants to merge 1 commit into
Open
chore: fix project metadata and move pytest to dev dependencies#6Krivoblotsky wants to merge 1 commit into
Krivoblotsky wants to merge 1 commit into
Conversation
- Move pytest from runtime dependencies to [project.optional-dependencies] dev group — it has no business being installed by end users - Add Pillow as an explicit runtime dependency (was used but undeclared) - Add keywords for PyPI discoverability - Expand classifiers with per-version Python entries, topic tags, and audience tags - Add Research and Paper URLs to [project.urls] - Update requirements.txt to match Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates package metadata and dependency declarations so end-user installs don’t include test tooling, while ensuring required runtime libraries (e.g., Pillow) are declared.
Changes:
- Moved
pytestout of runtime dependencies into an optionaldevextra inpyproject.toml. - Added missing runtime dependency on
Pillowand refreshed project metadata (description, keywords, classifiers, URLs). - Updated
requirements.txtto reflect the dependency set (including a dev section).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| requirements.txt | Adds Pillow and reorganizes entries, but still lists pytest under a “development” section. |
| pyproject.toml | Removes pytest from runtime deps, adds Pillow, improves metadata, adds dev extra, and introduces a console script entry. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+45
to
+47
| [project.scripts] | ||
| macapptree = "macapptree.main:__main__" | ||
|
|
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.
Summary
pytestwas listed as a runtime dependency inpyproject.toml— it is a dev tool and should not be installed for end usersPillowwas used by the package but not declared as a dependencyResearchandPaperlinks to[project.urls]requirements.txtupdated to matchTest plan
pip install macapptreedoes not pull in pytestpip install "macapptree[dev]"installs pytest🤖 Generated with Claude Code