-
Notifications
You must be signed in to change notification settings - Fork 88
Add a recomended extras group #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Samuel Monson <[email protected]>
Signed-off-by: Samuel Monson <[email protected]>
Signed-off-by: Samuel Monson <[email protected]>
2bcbd55
to
ca77be5
Compare
There was a problem hiding this 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 adds a new Python package extras group called "recommended" that includes optional tokenizer packages for enhanced functionality. The change introduces optional dependencies for tiktoken and blobfile packages to support OpenAI tokenizer features.
- Adds a "recommended" extras group with tiktoken and blobfile dependencies
- Includes a pdm.toml configuration update for dependency management strategy
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
pyproject.toml | Adds the "recommended" optional dependencies group with tiktoken and blobfile packages |
pdm.toml | Adds strategy configuration for dependency updates |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
## Summary <!-- Include a short paragraph of the changes introduced in this PR. If this PR requires additional context or rationale, explain why the changes are necessary. --> Adds a python extras group for recommended packages and adds a couple optional tokenizer packages to it. ## Details <!-- Provide a detailed list of all changes introduced in this pull request. --> - Adds the `recommended` package group with `tiktoken`, and `blobfile` - ~Add `default-optional-dependency-keys` field for future compatibly with PEP 771 compliant tools~ pip is picky about the key in `[project]` so reverted. Since the group name is the default I'm not sure this is even necessary. --- - [x] "I certify that all code in this PR is my own, except as noted below." ## Use of AI - [ ] Includes AI-assisted code completion - [ ] Includes code generated by an AI application - [ ] Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes `## WRITTEN BY AI ##`) --------- Signed-off-by: Samuel Monson <[email protected]>
Summary
Adds a python extras group for recommended packages and adds a couple optional tokenizer packages to it.
Details
recommended
package group withtiktoken
, andblobfile
Addpip is picky about the key indefault-optional-dependency-keys
field for future compatibly with PEP 771 compliant tools[project]
so reverted. Since the group name is the default I'm not sure this is even necessary.Use of AI
## WRITTEN BY AI ##
)