Create optional dependency group for build, fix codecov #567
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.
Kia ora Sean,
I'm using parsedmarc to parse DMARC RUAs, but not using the built-in CLI. As a result, I get dependabot warning of outdated packages, as
msgraph-core
,elasticsearch
, andelasticsearch-dsl
are held back.This is a breaking change, as people who are used topip install parsedmarc
will need topip install parsedmarc[cli]
instead. I know that's not ideal - I'm keen for your thoughts, and not merging this is a valid option 🙂This PR:
requirements.txt
weren't always the same as thepyproject.toml
)Creates a cli optional dependency group, so that those like me who don't use the CLI, don't need to installelasticsearch
/boto3
/opensearch-py
CODECOV_TOKEN
Actions secret is setFuture work:
msgraph-core
package - I was thinking of going for this next, but need to get a test environment running firstCreate a mail optional group (msgraph-core
,imapclient
,google-*
) - that's not as easy, and would require a refactor of howMailboxConnection
is imported